@@ -17,12 +17,11 @@ jobs:
17
17
18
18
- name : git checkout
19
19
uses : actions/checkout@v2
20
- - run : |
21
- git fetch --prune --unshallow
20
+
21
+ - run : git fetch --prune --unshallow
22
22
23
23
- name : Compile -> make clean release
24
- run : |
25
- make --trace clean release
24
+ run : make --trace clean release
26
25
27
26
- name : Create detailed changelog
28
27
run : sh ./make_changelog.sh
@@ -47,23 +46,23 @@ jobs:
47
46
README.md
48
47
49
48
build-variants :
50
- runs-on : ubuntu-latest
51
- container : ps2dev/ps2dev:latest
52
49
strategy :
50
+ fail-fast : false
53
51
matrix :
54
52
rtl : ["", RTL=1]
55
53
pademu : ["", PADEMU=1]
56
54
igs : ["", IGS=1]
57
55
t10k : ["", DTL_T10000=1]
56
+ runs-on : ubuntu-latest
57
+ container : ps2dev/ps2dev:latest
58
58
steps :
59
59
- name : Install dependencies
60
- run : |
61
- apk add build-base git
60
+ run : apk add build-base git zip gawk
62
61
63
62
- name : git checkout
64
63
uses : actions/checkout@v2
65
- - run : |
66
- git fetch --prune --unshallow
64
+
65
+ - run : git fetch --prune --unshallow
67
66
68
67
- name : Get version
69
68
id : version
@@ -78,12 +77,41 @@ jobs:
78
77
run : sh ./make_changelog.sh
79
78
80
79
- name : Upload variants artifact ELF
81
- if : ${{ success() }}
82
80
uses : actions/upload-artifact@v2
83
81
with :
84
82
name : OPNPS2LD-VARIANTS
85
- path : |
86
- OPNPS2LD*.ELF
83
+ path : OPNPS2LD*.ELF
84
+
85
+ build-debug :
86
+ strategy :
87
+ fail-fast : false
88
+ matrix :
89
+ debug : [debug, iopcore_debug, ingame_debug, deci2_debug] # eesio_debug broken
90
+ runs-on : ubuntu-latest
91
+ container : ps2dev/ps2dev:latest
92
+ steps :
93
+ - name : Install dependencies
94
+ run : apk add build-base git zip gawk
95
+
96
+ - name : git checkout
97
+ uses : actions/checkout@v2
98
+
99
+ - run : git fetch --prune --unshallow
100
+
101
+ - name : Get version
102
+ id : version
103
+ run : echo "::set-output name=version::$(make oplversion)"
104
+
105
+ - name : Compile -> make debug
106
+ run : |
107
+ make ${{ matrix.debug }} --trace
108
+ mv opl.elf opl-${{ matrix.debug }}.elf
109
+
110
+ - name : Upload variants artifact ELF
111
+ uses : actions/upload-artifact@v2
112
+ with :
113
+ name : opl-debug-${{ steps.version.outputs.version }}-${{ matrix.docker }}
114
+ path : opl-*.elf
87
115
88
116
release :
89
117
needs : [build, build-variants]
92
120
steps :
93
121
- name : git checkout
94
122
uses : actions/checkout@v2
95
- - run : |
96
- git fetch --prune --unshallow
123
+
124
+ - run : git fetch --prune --unshallow
97
125
98
126
- name : Get version
99
127
id : version
0 commit comments