From aea7de33a051258da82b7b64df546ed22fbe5f0e Mon Sep 17 00:00:00 2001 From: Jeremy <51220084+jeremy-rifkin@users.noreply.github.com> Date: Wed, 15 May 2024 23:11:13 -0500 Subject: [PATCH] Try to test gcc 8 in CI --- .github/workflows/tests.yml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 41dc7d00..5ae04346 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - compiler: [g++-10, clang++-14] + compiler: [g++-8, g++-10, clang++-14] target: [Debug] steps: - uses: actions/checkout@v2 @@ -34,6 +34,32 @@ jobs: working-directory: build run: | CTEST_OUTPUT_ON_FAILURE=1 make test + test-linux-gcc-8: + runs-on: ubuntu-20.04 + strategy: + fail-fast: false + matrix: + compiler: [g++-8] + target: [Debug] + steps: + - uses: actions/checkout@v2 + - name: dependencies + run: | + sudo apt install gcc-8 g++-8 libgcc-8-dev + python3 -m pip install git+https://github.com/jeffkaufman/icdiff.git + - name: build + run: | + mkdir -p build + cd build + cmake .. \ + -DCMAKE_BUILD_TYPE=${{matrix.target}} \ + -DCMAKE_CXX_COMPILER=${{matrix.compiler}} \ + -DLIBASSERT_BUILD_TESTING=On + make -j + - name: test + working-directory: build + run: | + CTEST_OUTPUT_ON_FAILURE=1 make test test-macos: runs-on: macos-14 strategy: