Skip to content

Commit

Permalink
Fix wasmtime install in CI
Browse files Browse the repository at this point in the history
Installing wasmtime via the curl script failed in
https://github.com/robertknight/rten/actions/runs/13107387960/job/36564377746?pr=572.

To try and make it more reliable, download a tarball of a fixed wasmtime version
and extract this manually.
  • Loading branch information
robertknight committed Feb 3, 2025
1 parent 7955534 commit 4771206
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Install wasmtime
run: |
curl https://wasmtime.dev/install.sh -sSf | bash
ls $HOME/.wasmtime/bin
echo "$HOME/.wasmtime/bin" >> "$GITHUB_PATH"
mkdir -p ~/.wasmtime
curl -L https://github.com/bytecodealliance/wasmtime/releases/download/v29.0.1/wasmtime-v29.0.1-x86_64-linux.tar.xz | tar xf - -C ~/.wasmtime --strip-components=1
echo "$HOME/.wasmtime" >> "$GITHUB_PATH"
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Install Rust nightly toolchain
run: rustup toolchain install nightly
Expand Down

0 comments on commit 4771206

Please sign in to comment.