From c57f08be1c87e1736cda6f32675e3f9206a7d14a Mon Sep 17 00:00:00 2001 From: Ian Henriksen Date: Thu, 26 Oct 2023 13:12:21 -0600 Subject: [PATCH] Expand osx CI tests to include different schedulers, assertion, and optimization settings. --- .github/workflows/CI.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 250e9c10d..a5057508b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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: |