File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 7
7
workflow_dispatch :
8
8
9
9
jobs :
10
- regression-tests-linux-mac :
10
+ regression-tests :
11
11
name : Run on ${{ matrix.os }} using ${{ matrix.compiler }}
12
12
runs-on : ${{ matrix.os }}
13
13
env :
32
32
run : |
33
33
cd regression-tests
34
34
bash run-tests.sh -c ${{ matrix.compiler }}
35
- continue-on-error : true
36
35
37
36
- name : Run regression tests - Windows version
38
37
if : matrix.os == 'windows-latest'
@@ -42,10 +41,11 @@ jobs:
42
41
cd regression-tests && ^
43
42
bash run-tests.sh -c ${{ matrix.compiler }}
44
43
shell : cmd
45
- continue-on-error : true
46
44
47
45
- name : Upload patch
46
+ if : ${{ !cancelled() }}
48
47
uses : actions/upload-artifact@v4
49
48
with :
50
49
name : ${{ matrix.compiler }}-patch.diff
51
50
path : regression-tests/${{ matrix.compiler }}-patch.diff
51
+ if-no-files-found : ignore
Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ check_file () {
38
38
39
39
failure=1
40
40
else
41
- # Compare the content with the refernece value checked in git
41
+ # Compare the content with the reference value checked in git
42
42
diff_output=$( git diff --ignore-cr-at-eol -- " $file " )
43
43
if [[ -n " $diff_output " ]]; then
44
44
echo " Non-matching $description :"
45
- printf " \n$diff_output \n\n"
45
+ printf " \n$diff_output \n\n" | tee -a " $cxx_compiler -patch.diff "
46
46
failure=1
47
47
fi
48
48
fi
@@ -195,7 +195,7 @@ for test_file in $tests; do
195
195
# The source is temporarily copied to avoid issues with bash paths in cl.exe
196
196
(cd $exec_out_dir ; \
197
197
cp ../../$expected_src $generated_cpp_name ;
198
- $compiler_cmd " $test_bin " \
198
+ $compiler_cmd " $test_bin " \
199
199
$generated_cpp_name \
200
200
> $generated_cpp_name .output 2>&1 )
201
201
compilation_result=$?
@@ -252,7 +252,7 @@ for test_file in $tests; do
252
252
done
253
253
254
254
# ###############
255
- # Report missing reference data direcotry
255
+ # Report missing reference data directory
256
256
if [[ ! -d " $exec_out_dir " ]]; then
257
257
echo " Reference data directory not found for compiler: '$cxx_compiler '"
258
258
exit 3
You can’t perform that action at this time.
0 commit comments