Skip to content

Commit

Permalink
[CICD] Updated cicd compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
muit committed Oct 17, 2024
1 parent 25b56b0 commit dd52eaf
Showing 1 changed file with 9 additions and 19 deletions.
28 changes: 9 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,25 @@ jobs:
name: [windows-msvc, windows-clang, linux-clang, linux-gcc, macos-clang]
include:
- name: windows-msvc
os: windows-latest
os: windows-2022
os-name: Windows
compiler: msvc
- name: windows-clang
os: windows-latest
os: windows-2022
os-name: Windows
compiler: clang-17
compiler: clang-18
- name: linux-clang
os: ubuntu-latest
os: ubuntu-24.04
os-name: Linux
compiler: clang-16
compiler: clang-18
- name: linux-gcc
os: ubuntu-latest
os: ubuntu-24.04
os-name: Linux
compiler: gcc-13
compiler: gcc-14
- name: macos-clang
os: macos-14
os: macOS-15-arm64
os-name: MacOS
compiler: clang-17
compiler: clang-18
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -54,16 +54,6 @@ jobs:
cmake: true
ninja: true

- name: (MacOS) Install clang through brew
if: matrix.os-name == 'MacOS' && contains(matrix.compiler, 'clang')
run: |
brew install llvm@17
export LLVM_DIR="$(brew --prefix llvm@17)/lib/cmake"
echo "CC=$(brew --prefix llvm@17)/bin/clang" >> $GITHUB_ENV
echo "CXX=$(brew --prefix llvm@17)/bin/clang++" >> $GITHUB_ENV
echo "$(brew --prefix llvm@17)/bin" >> $GITHUB_PATH
brew link --overwrite llvm@17
- name: Cache Build
uses: actions/cache@v4
with:
Expand Down

0 comments on commit dd52eaf

Please sign in to comment.