Skip to content

Commit

Permalink
Expand osx CI tests to include different schedulers, assertion, and o…
Browse files Browse the repository at this point in the history
…ptimization settings.
  • Loading branch information
insertinterestingnamehere committed Oct 26, 2023
1 parent 8d18045 commit c57f08b
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,19 +90,30 @@ jobs:
mac:
runs-on: macos-latest
continue-on-error: true
strategy:
matrix:
scheduler: [nemesis, sherwood]
topology: [hwloc, binders, no]
use_asserts: [true, false]
use_expensive_asserts: [true, false]
optimization_level: [0, 2, 3]
env:
QTHREADS_ENABLE_ASSERTS: ${{ matrix.use_asserts && '--enable-asserts' || '' }}
QTHREADS_ENABLE_EXPENSIVE_ASSERTS: ${{ matrix.use_expensive_asserts && '--enable-paranoia' || '' }}
steps:
- uses: actions/checkout@v3
- name: install deps
run: |
brew install autoconf automake libtool coreutils # coreutils is to get gtimeout for CI and is not universally required by qthreads.
- name: install hwloc
- if: ${{ matrix.topology != 'no' }}
run: |
brew install hwloc
hwloc-ls --version
- name: build qthreads
run: |
./autogen.sh
./configure --enable-picky
./configure $QTHREADS_ENABLE_ASSERTS $QTHREADS_ENABLE_EXPENSIVE_ASSERTS --enable-picky --with-scheduler=${{ matrix.scheduler }} --with-topology=${{ matrix.topology }}
make -j3
- name: make check
run: |
Expand Down

0 comments on commit c57f08b

Please sign in to comment.