From 80d25bc99c0373c36c8c28dd5554f47b3c326e1f Mon Sep 17 00:00:00 2001 From: Ryan Jacobs Date: Sat, 16 Sep 2023 17:16:38 -0700 Subject: [PATCH] attempt clang support --- .github/workflows/ci.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d95ca7..fd312ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,13 +2,16 @@ name: CI run-name: continuous integration on: [push] jobs: - gcc: - runs-on: ubuntu-22.04 + test: + strategy: + matrix: + os: [ubuntu-20.04, ubuntu-22.04, ubuntu-latest] + cc: [gcc, clang] + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 - run: ./tests/test.sh shell: bash - env: - CC: gcc - CXX: g++ - FC: gfortran + with: + env: + CC: ${{ matrix.cc }}