workflows: ubuntu-24.04 > ubuntu-22.04 #126
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: linux-dev | |
on: | |
push: | |
branches: [ dev ] | |
workflow_dispatch: | |
jobs: | |
build-linux-dev: | |
runs-on: ubuntu-22.04 | |
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 libarchive-dev | |
- name: Configure | |
run: | | |
cd $GITHUB_WORKSPACE | |
mkdir cmake-build && cd cmake-build | |
cmake -G "Unix Makefiles" -DPLATFORM_LINUX=ON -DCMAKE_BUILD_TYPE=Debug .. | |
- name: Build pfbneo | |
run: | | |
cd $GITHUB_WORKSPACE/cmake-build | |
make pfbneo.deps | |
make pfbneo | |
- name: Build pgen | |
run: | | |
cd $GITHUB_WORKSPACE/cmake-build | |
make pgen | |
- name: Build pnes | |
run: | | |
cd $GITHUB_WORKSPACE/cmake-build | |
make pnes | |
- name: Build psnes | |
run: | | |
cd $GITHUB_WORKSPACE/cmake-build | |
make psnes | |
- name: Build pgba | |
run: | | |
cd $GITHUB_WORKSPACE/cmake-build | |
make pgba |