Skip to content

Commit 53f1156

Browse files
committed
Disable some workflows
1 parent 81d1e06 commit 53f1156

File tree

1 file changed

+144
-144
lines changed

1 file changed

+144
-144
lines changed

.github/workflows/cmake.yaml

Lines changed: 144 additions & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -141,147 +141,147 @@ jobs:
141141
- name: Install
142142
run: cmake --install build --config ${{ matrix.config }}
143143

144-
build-bsd:
145-
name: ${{ matrix.preset }}-${{ matrix.arch }}-${{ matrix.config }}
146-
strategy:
147-
fail-fast: false
148-
matrix:
149-
preset: [freebsd, netbsd, openbsd]
150-
arch: [arm64, x86_64]
151-
config: [Debug, Release]
152-
exclude:
153-
- { preset: netbsd, arch: arm64 }
154-
include:
155-
- preset: freebsd
156-
version: "13.2"
157-
install: sudo pkg install -y
158-
pkg: cmake ninja python3
159-
- preset: netbsd
160-
version: "9.3"
161-
install: sudo pkgin update && sudo pkgin -y install
162-
pkg: cmake ninja-build python310
163-
- preset: openbsd
164-
version: "7.4"
165-
install: sudo pkg_add -U
166-
pkg: cmake ninja python3
167-
runs-on: ubuntu-latest
168-
steps:
169-
- name: Checkout
170-
uses: actions/checkout@v4
171-
172-
- name: Run BSD workflows
173-
uses: cross-platform-actions/action@master
174-
with:
175-
operating_system: ${{ matrix.preset }}
176-
architecture: ${{ matrix.arch }}
177-
version: ${{ matrix.version }}
178-
shell: bash
179-
run: |
180-
${{ matrix.install }} ${{ matrix.pkg }}
181-
cmake -B build -G "Ninja Multi-Config" \
182-
-DCMAKE_INSTALL_PREFIX=install \
183-
-DHTTPLIB_COMPILE=ON \
184-
-DHTTPLIB_TEST=ON
185-
cmake --build build --config ${{ matrix.config }}
186-
cd build
187-
EXIT_CODE=0
188-
ctest -C ${{ matrix.config }} --timeout 100 --schedule-random --output-on-failure || EXIT_CODE=$?
189-
if [ $EXIT_CODE -ne 0 ]; then ctest -C ${{ matrix.config }} --timeout 100 --rerun-failed --output-on-failure; fi
190-
cd ..
191-
cmake --install build --config ${{ matrix.config }}
192-
193-
build-msys2:
194-
name: msys2-${{ matrix.preset }}-${{ matrix.config }}
195-
strategy:
196-
fail-fast: false
197-
matrix:
198-
preset: [CLANG32, CLANG64, MINGW32, MINGW64, UCRT64]
199-
config: [Debug, Release]
200-
runs-on: windows-latest
201-
defaults:
202-
run:
203-
shell: msys2 {0}
204-
steps:
205-
- name: Prepare git before checkout
206-
shell: powershell
207-
run: git config --global core.autocrlf input
208-
209-
- name: Checkout
210-
uses: actions/checkout@v4
211-
212-
- uses: msys2/setup-msys2@v2
213-
with:
214-
msystem: ${{ matrix.preset }}
215-
update: true
216-
pacboy: cmake:p gcc:p ninja:p
217-
218-
- name: Configure
219-
run: >
220-
cmake -B build -G "Ninja Multi-Config"
221-
-DCMAKE_INSTALL_PREFIX=install
222-
-DHTTPLIB_COMPILE=ON
223-
-DHTTPLIB_TEST=ON
224-
225-
- name: Build
226-
run: cmake --build build --config ${{ matrix.config }}
227-
228-
- name: Test
229-
id: test
230-
working-directory: build
231-
continue-on-error: true
232-
run: ctest -C ${{ matrix.config }} --timeout 100 --schedule-random --output-on-failure
233-
234-
- name: Rerun failed tests
235-
if: steps.test.outcome == 'failure'
236-
working-directory: build
237-
run: ctest -C ${{ matrix.config }} --timeout 100 --rerun-failed --output-on-failure
238-
239-
- name: Install
240-
run: cmake --install build --config ${{ matrix.config }}
241-
242-
build-cygwin:
243-
name: cygwin-${{ matrix.config }}
244-
strategy:
245-
fail-fast: false
246-
matrix:
247-
config: [Debug, Release]
248-
runs-on: windows-latest
249-
defaults:
250-
run:
251-
shell: C:\cygwin\bin\bash.exe --noprofile --norc -o igncr -eo pipefail '{0}'
252-
steps:
253-
- name: Prepare git before checkout
254-
shell: powershell
255-
run: git config --global core.autocrlf input
256-
257-
- name: Checkout
258-
uses: actions/checkout@v4
259-
260-
- name: Install dependencies
261-
uses: cygwin/cygwin-install-action@v4
262-
with:
263-
packages: cmake gcc-g++ ninja python3 libbrotli-devel libssl-devel zlib-devel
264-
265-
- name: Configure
266-
run: >
267-
cmake -B build -G "Ninja Multi-Config"
268-
-DCMAKE_INSTALL_PREFIX=install
269-
-DHTTPLIB_COMPILE=ON
270-
-DHTTPLIB_TEST=ON
271-
272-
- name: Build
273-
run: cmake --build build --config ${{ matrix.config }}
274-
275-
- name: Test
276-
id: test
277-
working-directory: build
278-
continue-on-error: true
279-
run: ctest -C ${{ matrix.config }} --timeout 100 --schedule-random --output-on-failure
280-
281-
- name: Rerun failed tests
282-
if: steps.test.outcome == 'failure'
283-
working-directory: build
284-
run: ctest -C ${{ matrix.config }} --timeout 100 --rerun-failed --output-on-failure
285-
286-
- name: Install
287-
run: cmake --install build --config ${{ matrix.config }}
144+
# build-bsd:
145+
# name: ${{ matrix.preset }}-${{ matrix.arch }}-${{ matrix.config }}
146+
# strategy:
147+
# fail-fast: false
148+
# matrix:
149+
# preset: [freebsd, netbsd, openbsd]
150+
# arch: [arm64, x86_64]
151+
# config: [Debug, Release]
152+
# exclude:
153+
# - { preset: netbsd, arch: arm64 }
154+
# include:
155+
# - preset: freebsd
156+
# version: "13.2"
157+
# install: sudo pkg install -y
158+
# pkg: cmake ninja python3
159+
# - preset: netbsd
160+
# version: "9.3"
161+
# install: sudo pkgin update && sudo pkgin -y install
162+
# pkg: cmake ninja-build python310
163+
# - preset: openbsd
164+
# version: "7.4"
165+
# install: sudo pkg_add -U
166+
# pkg: cmake ninja python3
167+
# runs-on: ubuntu-latest
168+
# steps:
169+
# - name: Checkout
170+
# uses: actions/checkout@v4
171+
172+
# - name: Run BSD workflows
173+
# uses: cross-platform-actions/action@master
174+
# with:
175+
# operating_system: ${{ matrix.preset }}
176+
# architecture: ${{ matrix.arch }}
177+
# version: ${{ matrix.version }}
178+
# shell: bash
179+
# run: |
180+
# ${{ matrix.install }} ${{ matrix.pkg }}
181+
# cmake -B build -G "Ninja Multi-Config" \
182+
# -DCMAKE_INSTALL_PREFIX=install \
183+
# -DHTTPLIB_COMPILE=ON \
184+
# -DHTTPLIB_TEST=ON
185+
# cmake --build build --config ${{ matrix.config }}
186+
# cd build
187+
# EXIT_CODE=0
188+
# ctest -C ${{ matrix.config }} --timeout 100 --schedule-random --output-on-failure || EXIT_CODE=$?
189+
# if [ $EXIT_CODE -ne 0 ]; then ctest -C ${{ matrix.config }} --timeout 100 --rerun-failed --output-on-failure; fi
190+
# cd ..
191+
# cmake --install build --config ${{ matrix.config }}
192+
193+
# build-msys2:
194+
# name: msys2-${{ matrix.preset }}-${{ matrix.config }}
195+
# strategy:
196+
# fail-fast: false
197+
# matrix:
198+
# preset: [CLANG32, CLANG64, MINGW32, MINGW64, UCRT64]
199+
# config: [Debug, Release]
200+
# runs-on: windows-latest
201+
# defaults:
202+
# run:
203+
# shell: msys2 {0}
204+
# steps:
205+
# - name: Prepare git before checkout
206+
# shell: powershell
207+
# run: git config --global core.autocrlf input
208+
209+
# - name: Checkout
210+
# uses: actions/checkout@v4
211+
212+
# - uses: msys2/setup-msys2@v2
213+
# with:
214+
# msystem: ${{ matrix.preset }}
215+
# update: true
216+
# pacboy: cmake:p gcc:p ninja:p
217+
218+
# - name: Configure
219+
# run: >
220+
# cmake -B build -G "Ninja Multi-Config"
221+
# -DCMAKE_INSTALL_PREFIX=install
222+
# -DHTTPLIB_COMPILE=ON
223+
# -DHTTPLIB_TEST=ON
224+
225+
# - name: Build
226+
# run: cmake --build build --config ${{ matrix.config }}
227+
228+
# - name: Test
229+
# id: test
230+
# working-directory: build
231+
# continue-on-error: true
232+
# run: ctest -C ${{ matrix.config }} --timeout 100 --schedule-random --output-on-failure
233+
234+
# - name: Rerun failed tests
235+
# if: steps.test.outcome == 'failure'
236+
# working-directory: build
237+
# run: ctest -C ${{ matrix.config }} --timeout 100 --rerun-failed --output-on-failure
238+
239+
# - name: Install
240+
# run: cmake --install build --config ${{ matrix.config }}
241+
242+
# build-cygwin:
243+
# name: cygwin-${{ matrix.config }}
244+
# strategy:
245+
# fail-fast: false
246+
# matrix:
247+
# config: [Debug, Release]
248+
# runs-on: windows-latest
249+
# defaults:
250+
# run:
251+
# shell: C:\cygwin\bin\bash.exe --noprofile --norc -o igncr -eo pipefail '{0}'
252+
# steps:
253+
# - name: Prepare git before checkout
254+
# shell: powershell
255+
# run: git config --global core.autocrlf input
256+
257+
# - name: Checkout
258+
# uses: actions/checkout@v4
259+
260+
# - name: Install dependencies
261+
# uses: cygwin/cygwin-install-action@v4
262+
# with:
263+
# packages: cmake gcc-g++ ninja python3 libbrotli-devel libssl-devel zlib-devel
264+
265+
# - name: Configure
266+
# run: >
267+
# cmake -B build -G "Ninja Multi-Config"
268+
# -DCMAKE_INSTALL_PREFIX=install
269+
# -DHTTPLIB_COMPILE=ON
270+
# -DHTTPLIB_TEST=ON
271+
272+
# - name: Build
273+
# run: cmake --build build --config ${{ matrix.config }}
274+
275+
# - name: Test
276+
# id: test
277+
# working-directory: build
278+
# continue-on-error: true
279+
# run: ctest -C ${{ matrix.config }} --timeout 100 --schedule-random --output-on-failure
280+
281+
# - name: Rerun failed tests
282+
# if: steps.test.outcome == 'failure'
283+
# working-directory: build
284+
# run: ctest -C ${{ matrix.config }} --timeout 100 --rerun-failed --output-on-failure
285+
286+
# - name: Install
287+
# run: cmake --install build --config ${{ matrix.config }}

0 commit comments

Comments
 (0)