Skip to content

Commit

Permalink
Change OS of CI to previous releases as latest one does not provide c…
Browse files Browse the repository at this point in the history
…lang-13
  • Loading branch information
grasph committed Jan 22, 2025
1 parent 2c86cf3 commit f2c2152
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
- '1.10'
- 'nightly'
os:
- ubuntu-latest
# - ubuntu-latest
- ubuntu-22.04
# - macOS-latest
arch:
- x64
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
os:
# - ubuntu-latest
- macOS-latest
# - macos-14
arch:
- x64
steps:
Expand All @@ -33,7 +34,10 @@ jobs:
if [ "$RUNNER_OS" = Linux ]; then
sudo apt-get install clang-13 libclang-13-dev
else #MacOS
brew install llvm@13
#brew install llvm@13 #llvm@13 no more supported by brew
curl https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/clang+llvm-13.0.0-x86_64-apple-darwin.tar.xz | tar xJf -
ln -s clang+llvm-13.0.0-x86_64-apple-darwin clang-13
ls -l
fi
- uses: julia-actions/setup-julia@latest
with:
Expand All @@ -52,9 +56,7 @@ jobs:
cmake -DClang_DIR=/usr/lib/llvm-13/lib/cmake/clang -B build -S .
else #MacOS
#cmake -DClang_DIR=/usr/local/Cellar/llvm@13/13.0.1_2/lib/cmake/clang/ -B build -S .
echo ls /opt/homebrew/opt/llvm@13/lib/cmake/clang
ls /opt/homebrew/opt/llvm@13/lib/cmake/clang
cmake -DClang_DIR=/opt/homebrew/opt/llvm@13/lib/cmake/clang -B build -S .
cmake -DClang_DIR=`pwd`/clang-13/lib/cmake/clang -B build -S .
fi
cmake --build build --verbose -j `nproc`
PATH="`pwd`/build:$PATH"
Expand Down

0 comments on commit f2c2152

Please sign in to comment.