Skip to content

Commit

Permalink
cache llvm
Browse files Browse the repository at this point in the history
  • Loading branch information
arnetheduck committed Aug 25, 2024
1 parent 09a1bc5 commit c72a6b9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ jobs:
echo "CC=clang" >> $GITHUB_ENV
echo "CXX=clang++" >> $GITHUB_ENV
echo "LD=clang++" >> $GITHUB_ENV
echo 'LLVM_VERSION<<EOF' >> $GITHUB_ENV
cat llvm/llvm.version >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- name: Cache LLVM
id: cache-llvm
uses: actions/cache@v3
with:
path: |
ext/*-${{ env.LLVM_VERSION }}.src
key: llvm-${{ runner.os }}-${{ env.LLVM_VERSION }}
- name: Set up llvm
run: make STATIC_LLVM=1 prepare-llvm
- name: Compile nim
Expand Down

0 comments on commit c72a6b9

Please sign in to comment.