Skip to content

Commit

Permalink
ci: Install LLVM before running release-plz (#1882)
Browse files Browse the repository at this point in the history
Fixes #1880.
See #1851, although this may be
unavoidable here.
  • Loading branch information
aborgna-q authored Jan 20, 2025
1 parent 012f2d5 commit 0b42dbd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
branches:
- main

env:
LLVM_VERSION: "14.0"

jobs:
release-plz:
name: Release-plz
Expand All @@ -18,8 +21,16 @@ jobs:
token: ${{ secrets.HUGRBOT_PAT }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable

# These are needed when doing a crate release, since `cargo release`
# checks that the crate can be compiled before publishing it.
- name: Install CapnProto
run: sudo apt-get install -y capnproto
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v2
with:
version: ${{ env.LLVM_VERSION }}

- name: Run release-plz
uses: MarcoIeni/[email protected]
env:
Expand Down

0 comments on commit 0b42dbd

Please sign in to comment.