Skip to content

Commit

Permalink
Hopefully yet another CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-valerio committed Oct 17, 2024
1 parent a3a574b commit 7ac804e
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,10 @@ jobs:
- name: Install LLVM
run: |
LLVM_VERSION="$(rustc --version -v | grep '^LLVM version:' | grep -o '[0-9]\+' | head -n 1)"
if [[ ${{ matrix.environment }} = 'macos-latest' ]]; then
# smoelius: Around the time Rust 1.80 was released, running `brew update` would be
# followed by "cargo: command not found" errors.
# brew update
brew install llvm@"$LLVM_VERSION" || true
echo "/usr/local/opt/llvm/bin" >> "$GITHUB_PATH"
else
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh "$LLVM_VERSION"
fi
- name: rustup component add
run: rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu

wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo -E ./llvm.sh "$LLVM_VERSION"
- name: Install required tools
run: |
cargo install --force ziggy cargo-afl honggfuzz cargo-contract
Expand Down

0 comments on commit 7ac804e

Please sign in to comment.