Skip to content

Commit

Permalink
ci: Update to llvm 16 on publish (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikuroXina authored Sep 21, 2023
1 parent 3fe2a9d commit b3db459
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,22 @@ jobs:
toolchain: nightly
override: true

- name: Cache LLVM and Clang
id: cache-llvm
uses: actions/cache@v3
with:
path: ${{ runner.temp }}/llvm
key: llvm-16.0
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "16.0"
cached: ${{ steps.cache-llvm.outputs.cache-hit }}
directory: ${{ runner.temp }}/llvm
- name: Symlink libclang.so
run: sudo ln -s libclang-16.so.1 /lib/x86_64-linux-gnu/libclang.so
working-directory: ${{ runner.temp }}/llvm

- uses: katyo/publish-crates@v2
with:
path: ./rich-sdl2-rust-sys
Expand Down

0 comments on commit b3db459

Please sign in to comment.