@@ -20,13 +20,22 @@ jobs:
2020 run : sudo apt-get update
2121 - name : Install dependencies
2222 run : sudo apt-get install -y g++-mipsel-linux-gnu
23- - name : Build OpenBIOS
24- run : make -C src/mips/openbios -j2
25- - name : Upload results for MacOS build job
23+ - name : Build tests & OpenBIOS
24+ run : |
25+ make -C src/mips/tests -j 2 PCSX_TESTS=true
26+ make -C src/mips/openbios -j 2 clean all
27+ - name : Build tests
28+ run : make -C src/mips
29+ - name : Upload OpenBIOS for MacOS build job
2630 uses : actions/upload-artifact@v2
2731 with :
2832 name : OpenBIOS
2933 path : src/mips/openbios/openbios.bin
34+ - name : Upload tests for MacOS build job
35+ uses : actions/upload-artifact@v2
36+ with :
37+ name : Tests
38+ path : src/mips/tests/**/*.ps-exe
3039
3140 macos-build-and-test :
3241 runs-on : macOS-latest
@@ -42,12 +51,20 @@ jobs:
4251 run : git submodule update --init --recursive
4352 - name : Build pcsx-redux
4453 run : make -j2
45- - name : Build pcsx-redux
54+ - name : Build pcsx-redux-tests
4655 run : make -j2 pcsx-redux-tests
4756 - name : Download OpenBIOS build
4857 uses : actions/download-artifact@v2
4958 with :
5059 name : OpenBIOS
60+ - name : Download tests
61+ uses : actions/download-artifact@v2
62+ with :
63+ name : Tests
64+ - name : Install xquartz for xvfb
65+ run : brew install xquartz
66+ - name : Run tests
67+ run : xvfb ./pcsx-redux-tests
5168 - name : Bundle
5269 run : ./.github/scripts/create-app.sh
5370 - name : Create BUILD environment
0 commit comments