mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Run unit tests on alpine docker too
This commit is contained in:
parent
96fd0f4bcd
commit
1146b6cf57
1 changed files with 37 additions and 0 deletions
37
.github/workflows/build.yml
vendored
37
.github/workflows/build.yml
vendored
|
@ -362,3 +362,40 @@ jobs:
|
||||||
- name: Execute headless tests
|
- name: Execute headless tests
|
||||||
working-directory: ${{ env.GITHUB_WORKSPACE }}
|
working-directory: ${{ env.GITHUB_WORKSPACE }}
|
||||||
run: python test.py -g --graphics=software
|
run: python test.py -g --graphics=software
|
||||||
|
|
||||||
|
build_test_headless_alpine:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: alpine:latest
|
||||||
|
options: --shm-size=8g
|
||||||
|
steps:
|
||||||
|
- name: Install Linux dependencies (Alpine)
|
||||||
|
run: |
|
||||||
|
apk add build-base wget git bash cmake python3 glu-dev sdl2-dev
|
||||||
|
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
|
||||||
|
- name: Fix git detected dubious ownership in repository
|
||||||
|
run: |
|
||||||
|
chown -R $(id -u):$(id -g) $PWD
|
||||||
|
|
||||||
|
- name: Setup ccache
|
||||||
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
|
|
||||||
|
- name: Compile ffmpeg
|
||||||
|
run: |
|
||||||
|
cd ffmpeg && ./linux_x86-64.sh
|
||||||
|
|
||||||
|
- name: Build for testing
|
||||||
|
run: |
|
||||||
|
./b.sh --headless --unittest
|
||||||
|
|
||||||
|
- name: Execute unit tests
|
||||||
|
run: |
|
||||||
|
./build/PPSSPPUnitTest ALL
|
||||||
|
|
||||||
|
- name: Execute headless tests
|
||||||
|
run: |
|
||||||
|
python test.py -g --graphics=software
|
||||||
|
|
Loading…
Add table
Reference in a new issue