Skip to content

Commit

Permalink
Add CI for ps2
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolf3s committed Sep 10, 2024
1 parent 10795f3 commit 86831d0
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
pull_request:
branches-ignore:
- build_windows_dependencies

jobs:
build:
name: ${{ matrix.config.name }}
Expand Down Expand Up @@ -115,3 +114,29 @@ jobs:
run: |
git status
ls -lR build
build-ps2:
name: PS2 build

runs-on: ubuntu-latest
container: ps2dev/ps2dev:latest
steps:
- name: Install dependencies
run: |
apk add cmake build-base git zip gawk python3 py3-pip bash
- name: git checkout
uses: actions/checkout@v4

- name: Compile PS2
run: |
cmake -S prboom2 -B build -DBUILD_GL=OFF -DSDL2_IMAGE_FOUND=ON -DSDL2_MIXER_FOUND=ON -DZLIB_FOUND=ON -DLIBMAD_FOUND=ON -DVORBIS_FOUND=ON "-DCMAKE_TOOLCHAIN_FILE=${PS2DEV}/share/ps2dev.cmake"
cmake --build build
- name: Upload release artifact ELF
if: ${{ success() }}
uses: actions/upload-artifact@v4
with:
name: PRBOOM+
path: |
build/prboom-plus.elf

0 comments on commit 86831d0

Please sign in to comment.