Skip to content

Commit ca9e500

Browse files
committed
Reduce configuration to avoid spamming the bots while we are testing
1 parent 2433433 commit ca9e500

File tree

1 file changed

+150
-156
lines changed

1 file changed

+150
-156
lines changed

.github/workflows/libcxx-build-and-test.yaml

Lines changed: 150 additions & 156 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,10 @@ jobs:
5555
fail-fast: false
5656
matrix:
5757
config: [
58-
'generic-cxx03',
5958
'generic-cxx26',
60-
'generic-modules'
6159
]
6260
cc: [ 'clang-19' ]
6361
cxx: [ 'clang++-19' ]
64-
include:
65-
- config: 'generic-gcc'
66-
cc: 'gcc-13'
67-
cxx: 'g++-13'
6862
steps:
6963
- uses: actions/checkout@v4
7064
- name: ${{ matrix.config }}.${{ matrix.cxx }}
@@ -83,115 +77,115 @@ jobs:
8377
**/CMakeOutput.log
8478
**/crash_diagnostics/*
8579
86-
stage2:
87-
if: github.repository_owner == 'llvm'
88-
runs-on: libcxx-runners-8-set
89-
needs: [ stage1 ]
90-
continue-on-error: false
91-
strategy:
92-
fail-fast: false
93-
matrix:
94-
config: [
95-
'generic-cxx11',
96-
'generic-cxx14',
97-
'generic-cxx17',
98-
'generic-cxx20',
99-
'generic-cxx23'
100-
]
101-
cc: [ 'clang-19' ]
102-
cxx: [ 'clang++-19' ]
103-
include:
104-
- config: 'generic-gcc-cxx11'
105-
cc: 'gcc-13'
106-
cxx: 'g++-13'
107-
- config: 'generic-cxx23'
108-
cc: 'clang-17'
109-
cxx: 'clang++-17'
110-
- config: 'generic-cxx26'
111-
cc: 'clang-18'
112-
cxx: 'clang++-18'
113-
steps:
114-
- uses: actions/checkout@v4
115-
- name: ${{ matrix.config }}
116-
run: libcxx/utils/ci/run-buildbot ${{ matrix.config }}
117-
env:
118-
CC: ${{ matrix.cc }}
119-
CXX: ${{ matrix.cxx }}
120-
- uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
121-
if: always() # Upload artifacts even if the build or test suite fails
122-
with:
123-
name: ${{ matrix.config }}-${{ matrix.cxx }}-results
124-
path: |
125-
**/test-results.xml
126-
**/*.abilist
127-
**/CMakeError.log
128-
**/CMakeOutput.log
129-
**/crash_diagnostics/*
80+
# stage2:
81+
# if: github.repository_owner == 'llvm'
82+
# runs-on: libcxx-runners-8-set
83+
# needs: [ stage1 ]
84+
# continue-on-error: false
85+
# strategy:
86+
# fail-fast: false
87+
# matrix:
88+
# config: [
89+
# 'generic-cxx11',
90+
# 'generic-cxx14',
91+
# 'generic-cxx17',
92+
# 'generic-cxx20',
93+
# 'generic-cxx23'
94+
# ]
95+
# cc: [ 'clang-19' ]
96+
# cxx: [ 'clang++-19' ]
97+
# include:
98+
# - config: 'generic-gcc-cxx11'
99+
# cc: 'gcc-13'
100+
# cxx: 'g++-13'
101+
# - config: 'generic-cxx23'
102+
# cc: 'clang-17'
103+
# cxx: 'clang++-17'
104+
# - config: 'generic-cxx26'
105+
# cc: 'clang-18'
106+
# cxx: 'clang++-18'
107+
# steps:
108+
# - uses: actions/checkout@v4
109+
# - name: ${{ matrix.config }}
110+
# run: libcxx/utils/ci/run-buildbot ${{ matrix.config }}
111+
# env:
112+
# CC: ${{ matrix.cc }}
113+
# CXX: ${{ matrix.cxx }}
114+
# - uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
115+
# if: always() # Upload artifacts even if the build or test suite fails
116+
# with:
117+
# name: ${{ matrix.config }}-${{ matrix.cxx }}-results
118+
# path: |
119+
# **/test-results.xml
120+
# **/*.abilist
121+
# **/CMakeError.log
122+
# **/CMakeOutput.log
123+
# **/crash_diagnostics/*
130124

131-
stage3:
132-
if: github.repository_owner == 'llvm'
133-
needs: [ stage1, stage2 ]
134-
continue-on-error: false
135-
strategy:
136-
fail-fast: false
137-
max-parallel: 8
138-
matrix:
139-
config: [
140-
'generic-abi-unstable',
141-
'generic-hardening-mode-debug',
142-
'generic-hardening-mode-extensive',
143-
'generic-hardening-mode-fast',
144-
'generic-hardening-mode-fast-with-abi-breaks',
145-
'generic-merged',
146-
'generic-modules-lsv',
147-
'generic-no-exceptions',
148-
'generic-no-experimental',
149-
'generic-no-filesystem',
150-
'generic-no-localization',
151-
'generic-no-random_device',
152-
'generic-no-threads',
153-
'generic-no-tzdb',
154-
'generic-no-unicode',
155-
'generic-no-wide-characters',
156-
'generic-no-rtti',
157-
'generic-optimized-speed',
158-
'generic-static',
159-
# TODO Find a better place for the benchmark and bootstrapping builds to live. They're either very expensive
160-
# or don't provide much value since the benchmark run results are too noise on the bots.
161-
'benchmarks',
162-
'bootstrapping-build'
163-
]
164-
machine: [ 'libcxx-runners-8-set' ]
165-
include:
166-
- config: 'generic-cxx26'
167-
machine: libcxx-runners-8-set
168-
- config: 'generic-asan'
169-
machine: libcxx-runners-8-set
170-
- config: 'generic-tsan'
171-
machine: libcxx-runners-8-set
172-
- config: 'generic-ubsan'
173-
machine: libcxx-runners-8-set
174-
# Use a larger machine for MSAN to avoid timeout and memory allocation issues.
175-
- config: 'generic-msan'
176-
machine: libcxx-runners-8-set
177-
runs-on: ${{ matrix.machine }}
178-
steps:
179-
- uses: actions/checkout@v4
180-
- name: ${{ matrix.config }}
181-
run: libcxx/utils/ci/run-buildbot ${{ matrix.config }}
182-
env:
183-
CC: clang-19
184-
CXX: clang++-19
185-
- uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
186-
if: always()
187-
with:
188-
name: ${{ matrix.config }}-results
189-
path: |
190-
**/test-results.xml
191-
**/*.abilist
192-
**/CMakeError.log
193-
**/CMakeOutput.log
194-
**/crash_diagnostics/*
125+
# stage3:
126+
# if: github.repository_owner == 'llvm'
127+
# needs: [ stage1, stage2 ]
128+
# continue-on-error: false
129+
# strategy:
130+
# fail-fast: false
131+
# max-parallel: 8
132+
# matrix:
133+
# config: [
134+
# 'generic-abi-unstable',
135+
# 'generic-hardening-mode-debug',
136+
# 'generic-hardening-mode-extensive',
137+
# 'generic-hardening-mode-fast',
138+
# 'generic-hardening-mode-fast-with-abi-breaks',
139+
# 'generic-merged',
140+
# 'generic-modules-lsv',
141+
# 'generic-no-exceptions',
142+
# 'generic-no-experimental',
143+
# 'generic-no-filesystem',
144+
# 'generic-no-localization',
145+
# 'generic-no-random_device',
146+
# 'generic-no-threads',
147+
# 'generic-no-tzdb',
148+
# 'generic-no-unicode',
149+
# 'generic-no-wide-characters',
150+
# 'generic-no-rtti',
151+
# 'generic-optimized-speed',
152+
# 'generic-static',
153+
# # TODO Find a better place for the benchmark and bootstrapping builds to live. They're either very expensive
154+
# # or don't provide much value since the benchmark run results are too noise on the bots.
155+
# 'benchmarks',
156+
# 'bootstrapping-build'
157+
# ]
158+
# machine: [ 'libcxx-runners-8-set' ]
159+
# include:
160+
# - config: 'generic-cxx26'
161+
# machine: libcxx-runners-8-set
162+
# - config: 'generic-asan'
163+
# machine: libcxx-runners-8-set
164+
# - config: 'generic-tsan'
165+
# machine: libcxx-runners-8-set
166+
# - config: 'generic-ubsan'
167+
# machine: libcxx-runners-8-set
168+
# # Use a larger machine for MSAN to avoid timeout and memory allocation issues.
169+
# - config: 'generic-msan'
170+
# machine: libcxx-runners-8-set
171+
# runs-on: ${{ matrix.machine }}
172+
# steps:
173+
# - uses: actions/checkout@v4
174+
# - name: ${{ matrix.config }}
175+
# run: libcxx/utils/ci/run-buildbot ${{ matrix.config }}
176+
# env:
177+
# CC: clang-19
178+
# CXX: clang++-19
179+
# - uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
180+
# if: always()
181+
# with:
182+
# name: ${{ matrix.config }}-results
183+
# path: |
184+
# **/test-results.xml
185+
# **/*.abilist
186+
# **/CMakeError.log
187+
# **/CMakeOutput.log
188+
# **/crash_diagnostics/*
195189

196190
macos:
197191
runs-on: macos-14
@@ -225,45 +219,45 @@ jobs:
225219
**/CMakeOutput.log
226220
**/crash_diagnostics/*
227221
228-
windows:
229-
runs-on: windows-2022
230-
needs: [ stage1 ]
231-
strategy:
232-
fail-fast: false
233-
matrix:
234-
include:
235-
- { config: clang-cl-dll, mingw: false }
236-
- { config: clang-cl-static, mingw: false }
237-
- { config: clang-cl-no-vcruntime, mingw: false }
238-
- { config: clang-cl-debug, mingw: false }
239-
- { config: clang-cl-static-crt, mingw: false }
240-
- { config: mingw-dll, mingw: true }
241-
- { config: mingw-static, mingw: true }
242-
- { config: mingw-dll-i686, mingw: true }
243-
steps:
244-
- uses: actions/checkout@v4
245-
- name: Install dependencies
246-
run: |
247-
choco install -y ninja wget
248-
pip install psutil
249-
- name: Install a current LLVM
250-
if: ${{ matrix.mingw != true }}
251-
run: |
252-
choco install -y llvm --version=17.0.6
253-
- name: Install llvm-mingw
254-
if: ${{ matrix.mingw == true }}
255-
run: |
256-
curl -LO https://github.com/mstorsjo/llvm-mingw/releases/download/20231128/llvm-mingw-20231128-ucrt-x86_64.zip
257-
powershell Expand-Archive llvm-mingw*.zip -DestinationPath .
258-
del llvm-mingw*.zip
259-
mv llvm-mingw* c:\llvm-mingw
260-
echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
261-
- name: Add Git Bash to the path
262-
run: |
263-
echo "c:\Program Files\Git\usr\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
264-
- name: Set up the MSVC dev environment
265-
if: ${{ matrix.mingw != true }}
266-
uses: ilammy/msvc-dev-cmd@v1
267-
- name: Build and test
268-
run: |
269-
bash libcxx/utils/ci/run-buildbot ${{ matrix.config }}
222+
# windows:
223+
# runs-on: windows-2022
224+
# needs: [ stage1 ]
225+
# strategy:
226+
# fail-fast: false
227+
# matrix:
228+
# include:
229+
# - { config: clang-cl-dll, mingw: false }
230+
# - { config: clang-cl-static, mingw: false }
231+
# - { config: clang-cl-no-vcruntime, mingw: false }
232+
# - { config: clang-cl-debug, mingw: false }
233+
# - { config: clang-cl-static-crt, mingw: false }
234+
# - { config: mingw-dll, mingw: true }
235+
# - { config: mingw-static, mingw: true }
236+
# - { config: mingw-dll-i686, mingw: true }
237+
# steps:
238+
# - uses: actions/checkout@v4
239+
# - name: Install dependencies
240+
# run: |
241+
# choco install -y ninja wget
242+
# pip install psutil
243+
# - name: Install a current LLVM
244+
# if: ${{ matrix.mingw != true }}
245+
# run: |
246+
# choco install -y llvm --version=17.0.6
247+
# - name: Install llvm-mingw
248+
# if: ${{ matrix.mingw == true }}
249+
# run: |
250+
# curl -LO https://github.com/mstorsjo/llvm-mingw/releases/download/20231128/llvm-mingw-20231128-ucrt-x86_64.zip
251+
# powershell Expand-Archive llvm-mingw*.zip -DestinationPath .
252+
# del llvm-mingw*.zip
253+
# mv llvm-mingw* c:\llvm-mingw
254+
# echo "c:\llvm-mingw\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
255+
# - name: Add Git Bash to the path
256+
# run: |
257+
# echo "c:\Program Files\Git\usr\bin" | Out-File -FilePath $Env:GITHUB_PATH -Encoding utf8 -Append
258+
# - name: Set up the MSVC dev environment
259+
# if: ${{ matrix.mingw != true }}
260+
# uses: ilammy/msvc-dev-cmd@v1
261+
# - name: Build and test
262+
# run: |
263+
# bash libcxx/utils/ci/run-buildbot ${{ matrix.config }}

0 commit comments

Comments
 (0)