From 37723be537e762bdaf4c7568d543a1db992a48f8 Mon Sep 17 00:00:00 2001 From: sebastiandeorowicz Date: Mon, 8 Jul 2024 09:16:14 +0200 Subject: [PATCH] Tests updated --- .github/workflows/c-cpp.yml | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 0ffccf3..eaef2bb 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -12,18 +12,23 @@ on: workflow_dispatch: jobs: - + linux-test: name: Linux test + strategy: + fail-fast: false + matrix: + compiler: [g++-11] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + submodules: recursive + - name: make run: | - git submodule init - git submodule update - make + make -j CXX=${{matrix.compiler}} - name: predict (out dir) run: | @@ -40,13 +45,18 @@ jobs: macos-build: name: macOS test - runs-on: macOS-latest + strategy: + fail-fast: false + matrix: + compiler: [g++-11] + runs-on: macOS-12 steps: - uses: actions/checkout@v2 + with: + submodules: recursive + - name: make run: | - git submodule init - git submodule update - make + make -j CXX=${{matrix.compiler}}