File tree 1 file changed +32
-9
lines changed
1 file changed +32
-9
lines changed Original file line number Diff line number Diff line change 18
18
jobs :
19
19
build_unix :
20
20
# if: ${{ false }} # uncomment to disable
21
- name : ' ${{ matrix.os }} ${{ matrix.c-compiler }}'
21
+ name : ' build- ${{ matrix.os }} ${{ matrix.c-compiler }}'
22
22
23
23
runs-on : ${{ matrix.os }}
24
24
strategy :
88
88
89
89
build_windows :
90
90
# if: ${{ false }} # uncomment to disable
91
- name : ' Windows VS 2022'
92
- runs-on : windows-2022
91
+ name : ' build-${{ matrix.runner }} ${{ matrix.platform }}'
92
+
93
+ runs-on : ${{ matrix.runner }}
94
+ strategy :
95
+ fail-fast : false
96
+ matrix :
97
+ runner : [windows-2022]
98
+ platform : [Win32, x64]
99
+ include :
100
+ - platform : Win32
101
+ toolset : v140
102
+ compatibility : ' _xp'
103
+ msbuild-options : ' '
104
+ - platform : x64
105
+ toolset : v143
106
+ compatibility : ' '
107
+ msbuild-options : ' '
108
+
93
109
steps :
94
110
95
111
- name : ' Check out Repository'
@@ -101,19 +117,26 @@ jobs:
101
117
- name : ' Build'
102
118
uses : trevorsandy/povray/.github/actions/windows_build@gh-actions-raytracer-v3
103
119
with :
104
- pov-ray-build-id : gh+vs2022+${{ github.run_number }}
120
+ pov-ray-build-id : gh+vs2022+${{ matrix.platform }}+${{ github.run_number }}
105
121
version-base : 3.8
106
122
solution : vs2015
107
123
configuration : Release
108
- platform : x64
109
- toolset : v143
110
- compatibility : ' '
111
- msbuild-options : ' '
124
+ platform : ${{ matrix.platform }}
125
+ toolset : ${{ matrix.toolset }}
126
+ compatibility : ${{ matrix.compatibility }}
127
+ msbuild-options : ${{ matrix.msbuild-options }}
112
128
113
129
- name : ' Build Check'
114
130
if : ${{ success() }}
115
131
uses : trevorsandy/povray/.github/actions/windows_check@gh-actions-raytracer-v3
116
132
with :
117
133
version-base : 3.8
118
134
solution : vs2015
119
- platform : x64
135
+ platform : ${{ matrix.platform }}
136
+
137
+ - name : ' Upload Artifacts for Diagnostics'
138
+ if : ${{ failure() }}
139
+ uses : actions/upload-artifact@v3
140
+ with :
141
+ name : artifact_diag_${{ matrix.runner }}_${{ matrix.platform }}
142
+ path : artifact_diag_${{ matrix.runner }}_${{ matrix.platform }}.zip
You can’t perform that action at this time.
0 commit comments