Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Dec 17, 2023
1 parent e89b129 commit 90a166c
Showing 1 changed file with 34 additions and 4 deletions.
38 changes: 34 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ jobs:
- os: macos-13

runs-on: ${{matrix.os}}
timeout-minutes: 20

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -144,6 +145,35 @@ jobs:
cmake --build . -j 3 --target install
cmake-test-posix:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest

runs-on: ${{matrix.os}}

steps:
- uses: actions/checkout@v3
with:
submodules: true

- name: Configure Boost
run: |
mkdir __build__ && cd __build__
cmake -DBUILD_TESTING=ON -DBOOST_EXCLUDE_LIBRARIES="lockfree;outcome;process;static_string;url" ..
- name: Build tests
run: |
cd __build__
cmake --build . -j 3 --target tests
- name: Run tests
run: |
cd __build__
ctest --output-on-failure --no-tests=error -j 3
cmake-test-posix-quick:
strategy:
fail-fast: false
matrix:
Expand All @@ -170,14 +200,14 @@ jobs:
- name: Build tests
run: |
cd __build__
cmake --build . -j 3 --target tests
cmake --build . -j 3 --target tests-quick
- name: Run tests
run: |
cd __build__
ctest --output-on-failure --no-tests=error -j 3 -R quick
cmake-test-windows:
cmake-test-windows-quick:
strategy:
fail-fast: false
matrix:
Expand All @@ -195,12 +225,12 @@ jobs:
- name: Configure Boost
run: |
mkdir __build__ && cd __build__
cmake -DBUILD_TESTING=ON -DBOOST_EXCLUDE_LIBRARIES="convert;outcome" ..
cmake -DBUILD_TESTING=ON ..
- name: Build tests
run: |
cd __build__
cmake --build . -j 3 --target tests
cmake --build . -j 3 --target tests-quick
- name: Run tests
run: |
Expand Down

0 comments on commit 90a166c

Please sign in to comment.