File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 80
80
working-directory : build
81
81
run : ctest --output-on-failure -j 4
82
82
83
+ clang_in_container :
84
+ strategy :
85
+ fail-fast : false
86
+ matrix :
87
+ include :
88
+ - version : 20
89
+ image : ' ubuntu:25.04'
90
+
91
+ runs-on : ubuntu-latest
92
+ container : ${{ matrix.image }}
93
+
94
+ steps :
95
+ - uses : actions/checkout@v4
96
+
97
+ - name : Install Clang ${{ matrix.version }}
98
+ run : |
99
+ export DEBIAN_FRONTEND=noninteractive
100
+ apt-get update && apt-get upgrade -y
101
+ apt-get install -y clang-${{ matrix.version }} cmake
102
+
103
+ - name : Configure tests
104
+ env :
105
+ CXX : clang++-${{ matrix.version }}
106
+ run : cmake -S . -B build
107
+ -D CMAKE_CXX_COMPILER=clang++-${{ matrix.version }}
108
+ -D CMAKE_BUILD_TYPE:STRING=Release
109
+ -D ${{ env.PROJECT }}_OPT_SELECT_NONSTD=ON
110
+ -D ${{ env.PROJECT }}_OPT_BUILD_TESTS=ON
111
+ -D ${{ env.PROJECT }}_OPT_BUILD_EXAMPLES=OFF
112
+
113
+ - name : Build tests
114
+ run : cmake --build build -j 4
115
+
116
+ - name : Run tests
117
+ working-directory : build
118
+ run : ctest --output-on-failure -j 4
119
+
83
120
msvc :
84
121
strategy :
85
122
fail-fast : false
You can’t perform that action at this time.
0 commit comments