Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
fintarin committed Sep 22, 2023
1 parent 0e56d9d commit 2683a8a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
config:
- { name: Ubuntu GCC, os: ubuntu-latest, cc: gcc, cxx: g++ }
- { name: Ubuntu Clang, os: ubuntu-latest, cc: clang, cxx: clang++ }
- { name: macOS GCC, os: macOS-latest, cc: gcc, cxx: g++ }
- { name: macOS Clang, os: macOS-latest, cc: clang, cxx: clang++ }
# TODO: remove version specifiers after macOS-latest upgrades to version 13
- { name: macOS GCC, os: macOS-13, cc: gcc, cxx: g++ }
- { name: macOS Clang, os: macOS-13, cc: clang, cxx: clang++ }
- { name: Windows GCC, os: windows-latest, cc: gcc, cxx: g++ }
- { name: Windows Clang, os: windows-latest, cc: clang, cxx: clang++ }
- { name: Windows MSVC, os: windows-latest, cc: msvc, cxx: msvc }
Expand All @@ -33,6 +34,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

# TODO: remove this step after the default Clang is updated to version 16
- name: Install LLVM and Clang
if: matrix.config.os == 'ubuntu-latest'
uses: KyleMayes/install-llvm-action@v1
with:
version: "16.0"

- name: Configure CMake
working-directory: ${{github.workspace}}
run: cmake -Bbuild -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -Dfintamath_build_tests=ON -Dfintamath_build_shared=ON -Dfintamath_warnings_as_errors=ON
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ jobs:
sudo apt-get update
sudo apt-get install llvm lcov
# TODO: remove this step after the default Clang is updated to version 16
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "16.0"

- name: Configure CMake
working-directory: ${{github.workspace}}
run: cmake -Bbuild -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -Dfintamath_build_tests=ON -Dfintamath_enable_coverage=ON
Expand Down

0 comments on commit 2683a8a

Please sign in to comment.