Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ on:

env:
CARGO_TERM_COLOR: always
CARGO_COMPONENT_VERSION: 0.14.0
RUST_VERSION: "1.80"
CARGO_COMPONENT_VERSION: 0.21.1
RUST_VERSION: "1.86"
WASI_SDK_VERSION: "22.0"
WASI_SDK_RELEASE: wasi-sdk-22

Expand All @@ -35,7 +35,7 @@ jobs:
rustup toolchain install ${{ env.RUST_VERSION }} --component clippy --component rustfmt
rustup default ${{ env.RUST_VERSION }}
- name: Install Wasm Rust target
run: rustup target add wasm32-wasip1 && rustup target add wasm32-wasi && rustup target add wasm32-unknown-unknown
run: rustup target add wasm32-wasip1 && rustup target add wasm32-unknown-unknown
- name: Install cargo-component
uses: baptiste0928/cargo-install@v3
with:
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
rustup toolchain install ${{ env.RUST_VERSION }} --component clippy --component rustfmt --no-self-update
rustup default ${{ env.RUST_VERSION }}
- name: "Install Wasm Rust target"
run: rustup target add wasm32-wasip1 && rustup target add wasm32-wasi && rustup target add wasm32-unknown-unknown
run: rustup target add wasm32-wasip1 && rustup target add wasm32-unknown-unknown
- name: Install cargo-component
uses: baptiste0928/cargo-install@v3
with:
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
rustup toolchain install ${{ env.RUST_VERSION }} --component clippy --component rustfmt --no-self-update
rustup default ${{ env.RUST_VERSION }}
- name: "Install Wasm Rust target"
run: rustup target add wasm32-wasip1 && rustup target add wasm32-wasi && rustup target add wasm32-unknown-unknown
run: rustup target add wasm32-wasip1 && rustup target add wasm32-unknown-unknown
- name: Install cargo-component
uses: baptiste0928/cargo-install@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ concurrency: ${{ github.workflow }}

env:
CARGO_TERM_COLOR: always
CARGO_COMPONENT_VERSION: 0.14.0
RUST_VERSION: "1.80"
CARGO_COMPONENT_VERSION: 0.21.1
RUST_VERSION: "1.86"
WASI_SDK_VERSION: "22.0"
WASI_SDK_RELEASE: wasi-sdk-22

Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
run: rustup target add --toolchain ${{ env.RUST_VERSION }} ${{ matrix.config.target }}

- name: "Install Wasm Rust target"
run: rustup target add wasm32-wasip1 --toolchain ${{ env.RUST_VERSION }} && rustup target add wasm32-wasi --toolchain ${{ env.RUST_VERSION }} && rustup target add wasm32-unknown-unknown --toolchain ${{ env.RUST_VERSION }}
run: rustup target add wasm32-wasip1 --toolchain ${{ env.RUST_VERSION }} && rustup target add wasm32-unknown-unknown --toolchain ${{ env.RUST_VERSION }}

- name: Install cargo-component
uses: baptiste0928/cargo-install@v3
Expand Down
8 changes: 7 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Building from source

To build `spin-test` from source, you'll need to [download the `WASI_SDK`](https://github.com/WebAssembly/wasi-sdk/releases/) (needed for the C compiler used to compile some C dependencies). Once you have the SDK on your machine somewhere, point to it via the `WASI_SDK_PATH` environment variable.
To build `spin-test` from source, you'll need to [download the `WASI_SDK`](https://github.com/WebAssembly/wasi-sdk/releases/) (needed for the C compiler used to compile some C dependencies).

Once you have the SDK on your machine somewhere, point to it via the `WASI_SDK_PATH` environment variable:

```bash
export WASI_SDK_PATH=~/.wasi-sdk-22.0
```

You can then run `cargo build --release` to build `spin-test`.
Loading
Loading