3ds: fix building (note: 3ds builds not ready...) #123
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ps4-dev | |
on: | |
push: | |
branches: [ dev ] | |
workflow_dispatch: | |
jobs: | |
build-ps4-dev: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install build dependencies | |
run: | | |
sudo apt -yq update | |
sudo apt -yq install git build-essential cmake zip libgpgme11 | |
- name: Install ps4 toolchain | |
run: | | |
wget https://github.com/PacBrew/pacbrew-pacman/releases/download/pacbrew-release-1.0/pacbrew-pacman-1.0.deb | |
sudo dpkg -i pacbrew-pacman-1.0.deb | |
sudo pacbrew-pacman -Syu | |
sudo pacbrew-pacman --noconfirm -S ps4-openorbis ps4-openorbis-portlibs | |
- name: Configure | |
run: | | |
cd $GITHUB_WORKSPACE | |
mkdir cmake-build && cd cmake-build | |
export OPENORBIS=/opt/pacbrew/ps4/openorbis | |
cmake -G "Unix Makefiles" -DPLATFORM_PS4=ON -DCMAKE_BUILD_TYPE=Debug .. | |
- name: Build pfbneo | |
run: | | |
cd $GITHUB_WORKSPACE/cmake-build | |
make pfbneo.deps | |
make pfbneo_pkg | |
- name: Build pgen | |
run: | | |
cd $GITHUB_WORKSPACE/cmake-build | |
make pgen_pkg | |
- name: Build pnes | |
run: | | |
cd $GITHUB_WORKSPACE/cmake-build | |
make pnes_pkg | |
- name: Build psnes | |
run: | | |
cd $GITHUB_WORKSPACE/cmake-build | |
make psnes_pkg | |
- name: Build pgba | |
run: | | |
cd $GITHUB_WORKSPACE/cmake-build | |
make pgba_pkg |