@@ -20,13 +20,20 @@ jobs:
20
20
run : sudo apt-get update
21
21
- name : Install dependencies
22
22
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 : Upload OpenBIOS for MacOS build job
26
28
uses : actions/upload-artifact@v2
27
29
with :
28
30
name : OpenBIOS
29
31
path : src/mips/openbios/openbios.bin
32
+ - name : Upload tests for MacOS build job
33
+ uses : actions/upload-artifact@v2
34
+ with :
35
+ name : Tests
36
+ path : src/mips/tests/**/*.ps-exe
30
37
31
38
macos-build-and-test :
32
39
runs-on : macOS-latest
@@ -42,12 +49,20 @@ jobs:
42
49
run : git submodule update --init --recursive
43
50
- name : Build pcsx-redux
44
51
run : make -j2
45
- - name : Build pcsx-redux
52
+ - name : Build pcsx-redux-tests
46
53
run : make -j2 pcsx-redux-tests
47
54
- name : Download OpenBIOS build
48
55
uses : actions/download-artifact@v2
49
56
with :
50
57
name : OpenBIOS
58
+ - name : Download tests
59
+ uses : actions/download-artifact@v2
60
+ with :
61
+ name : Tests
62
+ - name : Install xquartz for xvfb
63
+ run : brew install xquartz
64
+ - name : Run tests
65
+ run : xvfb ./pcsx-redux-tests
51
66
- name : Bundle
52
67
run : ./.github/scripts/create-app.sh
53
68
- name : Create BUILD environment
0 commit comments