try adding a test for failure with macos arm precompile (#1238)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Philip Top
2025-10-24 05:36:00 -07:00
committed by GitHub
parent 4d78aa30d6
commit 8b1d067374
7 changed files with 47 additions and 9 deletions

View File

@@ -10,6 +10,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
env:
CTEST_OUTPUT_ON_FAILURE: "1"
@@ -126,7 +129,7 @@ jobs:
- name: Build
run: cmake --build build -j2
cuda12-build:
cuda13-build:
name: CUDA 13 build only
runs-on: ubuntu-latest
container: nvidia/cuda:13.0.0-devel-ubuntu22.04
@@ -241,6 +244,40 @@ jobs:
- name: Run tests
run: ctest --output-on-failure -L Packaging
working-directory: build
install-precompiled-macos:
name: install tests precompiled macos
runs-on: macos-15
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Configure
run: cmake -S . -B build -DCLI11_INSTALL_PACKAGE_TESTS=ON -DCLI11_ENABLE_EXTRA_VALIDATORS=ON -DCMAKE_INSTALL_PREFIX=/Users/runner/work/install -DCLI11_PRECOMPILED=ON -DCMAKE_CXX_STANDARD=20
- name: Build
run: cmake --build build -j2
- name: install
run: cmake --install build
- name: Run tests
run: ctest --output-on-failure -L Packaging
working-directory: build
install-precompiled-macos-no-validators:
name: install tests precompiled macos no validators
runs-on: macos-15
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Configure
run: cmake -S . -B build -DCLI11_INSTALL_PACKAGE_TESTS=ON -DCLI11_ENABLE_EXTRA_VALIDATORS=OFF -DCMAKE_INSTALL_PREFIX=/Users/runner/work/install -DCLI11_PRECOMPILED=ON
- name: Build
run: cmake --build build -j2
- name: install
run: cmake --install build
- name: Run tests
run: ctest --output-on-failure -L Packaging
working-directory: build
install-single_file:
name: install tests single file