@@ -20,13 +20,22 @@ 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 : Build tests
28
+ run : make -C src/mips
29
+ - name : Upload OpenBIOS for MacOS build job
26
30
uses : actions/upload-artifact@v2
27
31
with :
28
32
name : OpenBIOS
29
33
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
30
39
31
40
macos-build-and-test :
32
41
runs-on : macOS-latest
@@ -42,12 +51,20 @@ jobs:
42
51
run : git submodule update --init --recursive
43
52
- name : Build pcsx-redux
44
53
run : make -j2
45
- - name : Build pcsx-redux
54
+ - name : Build pcsx-redux-tests
46
55
run : make -j2 pcsx-redux-tests
47
56
- name : Download OpenBIOS build
48
57
uses : actions/download-artifact@v2
49
58
with :
50
59
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
51
68
- name : Bundle
52
69
run : ./.github/scripts/create-app.sh
53
70
- name : Create BUILD environment
0 commit comments