File tree Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 23
23
compiler : clang++
24
24
- os : windows-latest
25
25
compiler : cl.exe
26
+ outputs :
27
+ ${{ matrix.compiler }}_patch : ${{ steps.outputs.patch }}
26
28
steps :
27
29
- name : Checkout repo
28
30
uses : actions/checkout@v3
32
34
run : |
33
35
cd regression-tests
34
36
bash run-tests.sh -c ${{ matrix.compiler }}
35
- continue-on-error : true
36
37
37
38
- name : Run regression tests - Windows version
38
39
if : matrix.os == 'windows-latest'
@@ -42,11 +43,21 @@ jobs:
42
43
cd regression-tests && ^
43
44
bash run-tests.sh -c ${{ matrix.compiler }}
44
45
shell : cmd
45
- continue-on-error : true
46
46
47
+ patch :
48
+ name : Patch
49
+ runs-on : ubuntu-latest
50
+ needs : regression-tests
51
+ steps :
52
+ - name : Append patches
53
+ run : |
54
+ echo "${{ needs.regression-tests.outputs.g++-10_patch }}" > patch.diff
55
+ echo "${{ needs.regression-tests.outputs.g++-13_patch }}" >> patch.diff
56
+ echo "${{ needs.regression-tests.outputs.clang++_patch }}" >> patch.diff
57
+ echo "${{ needs.regression-tests.outputs.cl.exe_patch }}" >> patch.diff
47
58
- name : Upload patch
48
59
uses : actions/upload-artifact@v4
49
60
with :
50
- name : ${{ matrix.compiler }}- patch.diff
51
- path : regression-tests/${{ matrix.compiler }}- patch.diff
61
+ name : patch.diff
62
+ path : patch.diff
52
63
if-no-files-found : ignore
Original file line number Diff line number Diff line change @@ -251,6 +251,10 @@ for test_file in $tests; do
251
251
fi
252
252
done
253
253
254
+ # ###############
255
+ # Output patch
256
+ cat " $cxx_compiler -patch.diff" >> " $GITHUB_OUTPUT "
257
+
254
258
# ###############
255
259
# Report missing reference data directory
256
260
if [[ ! -d " $exec_out_dir " ]]; then
You can’t perform that action at this time.
0 commit comments