Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Cpasjuste committed May 5, 2022
2 parents 3c01c79 + e43d89c commit 548f717
Show file tree
Hide file tree
Showing 713 changed files with 129,010 additions and 94,828 deletions.
56 changes: 56 additions & 0 deletions .github/workflows/linux-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: linux-dev

on:
push:
branches: [ dev ]
workflow_dispatch:

jobs:

build-linux-dev:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- name: Install build dependencies
run: |
sudo apt -yq update
sudo apt -yq install \
git zip build-essential cmake xxd \
liblzma-dev libsdl2-dev libconfig-dev libcurl4-openssl-dev libtinyxml2-dev \
libconfig-dev libglm-dev libfreetype6-dev libpng-dev libminizip-dev zlib1g-dev \
libvdpau-dev libva-dev libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev \
libpostproc-dev libswresample-dev libswscale-dev libmpv-dev libass-dev libbz2-dev \
libfribidi-dev libzip-dev libfuse-dev
- name: Build pfbneo
run: |
cd $GITHUB_WORKSPACE
mkdir cmake-build-pfbneo && cd cmake-build-pfbneo
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DOPTION_EMU=pfbneo -DCMAKE_BUILD_TYPE=Debug ..
make pfbneo.deps
make -j $(getconf _NPROCESSORS_ONLN) pfbneo
- name: Build pgen
run: |
cd $GITHUB_WORKSPACE
mkdir cmake-build-pgen && cd cmake-build-pgen
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DOPTION_EMU=pgen -DCMAKE_BUILD_TYPE=Debug ..
make -j $(getconf _NPROCESSORS_ONLN) pgen
- name: Build pnes
run: |
cd $GITHUB_WORKSPACE
mkdir cmake-build-pnes && cd cmake-build-pnes
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DOPTION_EMU=pnes -DCMAKE_BUILD_TYPE=Debug ..
make -j $(getconf _NPROCESSORS_ONLN) pnes
- name: Build psnes
run: |
cd $GITHUB_WORKSPACE
mkdir cmake-build-psnes && cd cmake-build-psnes
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DOPTION_EMU=psnes -DCMAKE_BUILD_TYPE=Debug ..
make -j $(getconf _NPROCESSORS_ONLN) psnes
63 changes: 63 additions & 0 deletions .github/workflows/linux-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: linux-release

on:
push:
tags:
- "v*.*"

jobs:

build-linux-release:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- name: Install build dependencies
run: |
sudo apt -yq update
sudo apt -yq install \
git zip build-essential cmake xxd \
liblzma-dev libsdl2-dev libconfig-dev libcurl4-openssl-dev libtinyxml2-dev \
libconfig-dev libglm-dev libfreetype6-dev libpng-dev libminizip-dev zlib1g-dev \
libvdpau-dev libva-dev libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev \
libpostproc-dev libswresample-dev libswscale-dev libmpv-dev libass-dev libbz2-dev \
libfribidi-dev libzip-dev libfuse-dev
- name: Build pfbneo
run: |
mkdir cmake-build-pfbneo && cd cmake-build-pfbneo
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DOPTION_EMU=pfbneo -DCMAKE_BUILD_TYPE=Release ..
make pfbneo.deps
make -j $(getconf _NPROCESSORS_ONLN) pfbneo
mv pfbneo/pfbneo $GITHUB_WORKSPACE/pfbneo-linux
- name: Build pgen
run: |
mkdir cmake-build-pgen && cd cmake-build-pgen
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DOPTION_EMU=pgen -DCMAKE_BUILD_TYPE=Release ..
make -j $(getconf _NPROCESSORS_ONLN) pgen
mv pgen/pgen $GITHUB_WORKSPACE/pgen-linux
- name: Build pnes
run: |
mkdir cmake-build-pnes && cd cmake-build-pnes
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DOPTION_EMU=pnes -DCMAKE_BUILD_TYPE=Release ..
make -j $(getconf _NPROCESSORS_ONLN) pnes
mv pnes/pnes $GITHUB_WORKSPACE/pnes-linux
- name: Build psnes
run: |
mkdir cmake-build-psnes && cd cmake-build-psnes
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DOPTION_EMU=psnes -DCMAKE_BUILD_TYPE=Release ..
make -j $(getconf _NPROCESSORS_ONLN) psnes
mv psnes/psnes $GITHUB_WORKSPACE/psnes-linux
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: '*-linux'
token: ${{ secrets.RELEASE_TOKEN }}
47 changes: 0 additions & 47 deletions .github/workflows/pfbneo-linux-dev.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/pfbneo-linux-release.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/pfbneo-ps4-dev.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/pfbneo-ps4-release.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/pfbneo-switch-dev.yml

This file was deleted.

Loading

0 comments on commit 548f717

Please sign in to comment.