Skip to content

Commit

Permalink
add precompiled package tests
Browse files Browse the repository at this point in the history
  • Loading branch information
phlptp committed Aug 15, 2023
1 parent 39142e7 commit fb9a268
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
#- name: Add pkgconfig
# run: sudo apt-get update && sudo apt-get install -y pkgconfig
- name: Configure
run: cmake -S . -B build -DCLI11_INSTALL_PACKAGE_TESTS=ON -DCMAKE_INSTALL_PREFIX=/home/runner/work/install
- name: Build
Expand All @@ -157,6 +155,23 @@ jobs:
- name: Run tests
run: ctest --output-on-failure
working-directory: build

install-test-precompiled:
name: install tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Configure
run: cmake -S . -B build -DCLI11_INSTALL_PACKAGE_TESTS=ON -DCMAKE_INSTALL_PREFIX=/home/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
working-directory: build

cmake-config-ubuntu-2004:
name: CMake config check (Ubuntu 20.04)
Expand Down

0 comments on commit fb9a268

Please sign in to comment.