Skip to content

Commit

Permalink
[CI] Fix LLVM instalation
Browse files Browse the repository at this point in the history
  • Loading branch information
banach-space committed Oct 13, 2024
1 parent 1ebf16d commit be76025
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/apple-silicon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ jobs:
- name: Install Dependencies
run: |
brew update
brew install llvm
brew install llvm@18
brew install lit
- name: Build HelloWorld
run: |
cd HelloWorld
mkdir build && cd build
cmake -DLT_LLVM_INSTALL_DIR="/opt/homebrew/opt/llvm/" -DCMAKE_BUILD_TYPE=${{ matrix.type }} ../
cmake -DLT_LLVM_INSTALL_DIR="/opt/homebrew/opt/llvm@18/" -DCMAKE_BUILD_TYPE=${{ matrix.type }} ../
make -j2
- name: Build llvm-tutor + run tests
run: |
cd $GITHUB_WORKSPACE
mkdir build && cd build
cmake -DLT_LLVM_INSTALL_DIR="/opt/homebrew/opt/llvm/" -DCMAKE_BUILD_TYPE=${{ matrix.type }} ../
cmake -DLT_LLVM_INSTALL_DIR="/opt/homebrew/opt/llvm@18/" -DCMAKE_BUILD_TYPE=${{ matrix.type }} ../
make -j2
lit test/

0 comments on commit be76025

Please sign in to comment.