File tree 3 files changed +9
-3
lines changed
actions/nimbus-build-system
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 85
85
pacman -U --noconfirm https://repo.msys2.org/mingw/ucrt64/mingw-w64-ucrt-x86_64-gcc-14.2.0-2-any.pkg.tar.zst https://repo.msys2.org/mingw/ucrt64/mingw-w64-ucrt-x86_64-gcc-libs-14.2.0-2-any.pkg.tar.zst
86
86
87
87
- name : Install gcc 14 on Linux
88
- # Should be removed when ubuntu-latest is 26 .04
89
- if : ${{ inputs.os == 'linux' }}
88
+ # We don't want to install gcc 14 for coverage (Ubuntu 20 .04)
89
+ if : ${{ inputs.os == 'linux' && !inputs.coverage }}
90
90
shell : ${{ inputs.shell }} {0}
91
91
run : |
92
92
# Add GCC-14 to alternatives
Original file line number Diff line number Diff line change 40
40
os : ${{ matrix.os }}
41
41
shell : ${{ matrix.shell }}
42
42
nim_version : ${{ matrix.nim_version }}
43
+ coverage : false
43
44
44
45
# # Part 1 Tests ##
45
46
- name : Unit tests
Original file line number Diff line number Diff line change 48
48
cache_nonce : ${{ needs.matrix.outputs.cache_nonce }}
49
49
50
50
coverage :
51
- runs-on : ubuntu-latest
51
+ # Force to stick to ubuntu 20.04 for coverage because
52
+ # lcov was updated to 2.x version in ubuntu-latest
53
+ # and cause a lot of issues.
54
+ # See https://github.com/linux-test-project/lcov/issues/238
55
+ runs-on : ubuntu-20.04
52
56
steps :
53
57
- name : Checkout sources
54
58
uses : actions/checkout@v4
61
65
with :
62
66
os : linux
63
67
nim_version : ${{ env.nim_version }}
68
+ coverage : true
64
69
65
70
- name : Generate coverage data
66
71
run : |
You can’t perform that action at this time.
0 commit comments