@@ -47,209 +47,21 @@ env:
4747
4848
4949jobs :
50- stage1 :
51- if : github.repository_owner == 'llvm'
52- runs-on : libcxx-runners-8-set
53- continue-on-error : false
54- strategy :
55- fail-fast : false
56- matrix :
57- config : [
58- ' generic-cxx03' ,
59- ' generic-cxx26' ,
60- ' generic-modules'
61- ]
62- cc : [ 'clang-19' ]
63- cxx : [ 'clang++-19' ]
64- include :
65- - config : ' generic-gcc'
66- cc : ' gcc-14'
67- cxx : ' g++-14'
68- steps :
69- - uses : actions/checkout@v4
70- - name : ${{ matrix.config }}.${{ matrix.cxx }}
71- run : libcxx/utils/ci/run-buildbot ${{ matrix.config }}
72- env :
73- CC : ${{ matrix.cc }}
74- CXX : ${{ matrix.cxx }}
75- - uses : actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
76- if : always()
77- with :
78- name : ${{ matrix.config }}-${{ matrix.cxx }}-results
79- path : |
80- **/test-results.xml
81- **/*.abilist
82- **/CMakeError.log
83- **/CMakeOutput.log
84- **/crash_diagnostics/*
85- stage2 :
86- if : github.repository_owner == 'llvm'
87- runs-on : libcxx-runners-8-set
88- needs : [ stage1 ]
89- continue-on-error : false
90- strategy :
91- fail-fast : false
92- matrix :
93- config : [
94- ' generic-cxx11' ,
95- ' generic-cxx14' ,
96- ' generic-cxx17' ,
97- ' generic-cxx20' ,
98- ' generic-cxx23'
99- ]
100- cc : [ 'clang-19' ]
101- cxx : [ 'clang++-19' ]
102- include :
103- - config : ' generic-gcc-cxx11'
104- cc : ' gcc-14'
105- cxx : ' g++-14'
106- - config : ' generic-cxx23'
107- cc : ' clang-17'
108- cxx : ' clang++-17'
109- - config : ' generic-cxx26'
110- cc : ' clang-18'
111- cxx : ' clang++-18'
112- steps :
113- - uses : actions/checkout@v4
114- - name : ${{ matrix.config }}
115- run : libcxx/utils/ci/run-buildbot ${{ matrix.config }}
116- env :
117- CC : ${{ matrix.cc }}
118- CXX : ${{ matrix.cxx }}
119- - uses : actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
120- if : always() # Upload artifacts even if the build or test suite fails
121- with :
122- name : ${{ matrix.config }}-${{ matrix.cxx }}-results
123- path : |
124- **/test-results.xml
125- **/*.abilist
126- **/CMakeError.log
127- **/CMakeOutput.log
128- **/crash_diagnostics/*
129- stage3 :
130- if : github.repository_owner == 'llvm'
131- needs : [ stage1, stage2 ]
132- continue-on-error : false
133- strategy :
134- fail-fast : false
135- max-parallel : 8
136- matrix :
137- config : [
138- ' generic-abi-unstable' ,
139- ' generic-hardening-mode-debug' ,
140- ' generic-hardening-mode-extensive' ,
141- ' generic-hardening-mode-fast' ,
142- ' generic-hardening-mode-fast-with-abi-breaks' ,
143- ' generic-merged' ,
144- ' generic-modules-lsv' ,
145- ' generic-no-exceptions' ,
146- ' generic-no-experimental' ,
147- ' generic-no-filesystem' ,
148- ' generic-no-localization' ,
149- ' generic-no-terminal' ,
150- ' generic-no-random_device' ,
151- ' generic-no-threads' ,
152- ' generic-no-tzdb' ,
153- ' generic-no-unicode' ,
154- ' generic-no-wide-characters' ,
155- ' generic-no-rtti' ,
156- ' generic-optimized-speed' ,
157- ' generic-static' ,
158- # TODO Find a better place for the benchmark and bootstrapping builds to live. They're either very expensive
159- # or don't provide much value since the benchmark run results are too noise on the bots.
160- ' benchmarks' ,
161- ' bootstrapping-build'
162- ]
163- machine : [ 'libcxx-runners-8-set' ]
164- include :
165- - config : ' generic-cxx26'
166- machine : libcxx-runners-8-set
167- - config : ' generic-asan'
168- machine : libcxx-runners-8-set
169- - config : ' generic-tsan'
170- machine : libcxx-runners-8-set
171- - config : ' generic-ubsan'
172- machine : libcxx-runners-8-set
173- # Use a larger machine for MSAN to avoid timeout and memory allocation issues.
174- - config : ' generic-msan'
175- machine : libcxx-runners-8-set
176- runs-on : ${{ matrix.machine }}
177- steps :
178- - uses : actions/checkout@v4
179- - name : ${{ matrix.config }}
180- run : libcxx/utils/ci/run-buildbot ${{ matrix.config }}
181- env :
182- CC : clang-19
183- CXX : clang++-19
184- - uses : actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
185- if : always()
186- with :
187- name : ${{ matrix.config }}-results
188- path : |
189- **/test-results.xml
190- **/*.abilist
191- **/CMakeError.log
192- **/CMakeOutput.log
193- **/crash_diagnostics/*
194-
195- macos :
196- needs : [ stage1 ]
197- strategy :
198- fail-fast : false
199- matrix :
200- include :
201- - config : generic-cxx03
202- os : macos-latest
203- - config : generic-cxx23
204- os : macos-latest
205- - config : generic-modules
206- os : macos-latest
207- - config : apple-configuration
208- os : macos-latest
209- - config : apple-system
210- os : macos-13
211- - config : apple-system-hardened
212- os : macos-13
213- runs-on : ${{ matrix.os }}
214- steps :
215- - uses : actions/checkout@v4
216- - uses : maxim-lobanov/setup-xcode@v1
217- with :
218- xcode-version : ' latest'
219- - uses : seanmiddleditch/gha-setup-ninja@master
220- - name : Build and test
221- run : |
222- python3 -m venv .venv
223- source .venv/bin/activate
224- python -m pip install psutil
225- bash libcxx/utils/ci/run-buildbot ${{ matrix.config }}
226- - uses : actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
227- if : always() # Upload artifacts even if the build or test suite fails
228- with :
229- name : macos-${{ matrix.config }}-results
230- path : |
231- **/test-results.xml
232- **/*.abilist
233- **/CMakeError.log
234- **/CMakeOutput.log
235- **/crash_diagnostics/*
236-
23750 windows :
23851 runs-on : windows-2022
239- needs : [ stage1 ]
24052 strategy :
24153 fail-fast : false
24254 matrix :
24355 include :
24456 - { config: clang-cl-dll, mingw: false }
245- - { config: clang-cl-static, mingw: false }
246- - { config: clang-cl-no-vcruntime, mingw: false }
247- - { config: clang-cl-debug, mingw: false }
248- - { config: clang-cl-static-crt, mingw: false }
249- - { config: mingw-dll, mingw: true }
250- - { config: mingw-static, mingw: true }
251- - { config: mingw-dll-i686, mingw: true }
252- - { config: mingw-incomplete-sysroot, mingw: true }
57+ # - { config: clang-cl-static, mingw: false }
58+ # - { config: clang-cl-no-vcruntime, mingw: false }
59+ # - { config: clang-cl-debug, mingw: false }
60+ # - { config: clang-cl-static-crt, mingw: false }
61+ # - { config: mingw-dll, mingw: true }
62+ # - { config: mingw-static, mingw: true }
63+ # - { config: mingw-dll-i686, mingw: true }
64+ # - { config: mingw-incomplete-sysroot, mingw: true }
25365 steps :
25466 - uses : actions/checkout@v4
25567 - name : Install dependencies
0 commit comments