Skip to content

Commit

Permalink
240521
Browse files Browse the repository at this point in the history
  • Loading branch information
TerrorJack committed May 21, 2024
1 parent 7ab1d6b commit 2e9419c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 20 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
linux:
name: linux-${{ matrix.arch }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -70,7 +70,6 @@ jobs:
mv bin wasm-tools-${{ github.ref_name }}-${{ matrix.sys }}
tar \
--sort=name \
--mtime=1970-01-01T00:00:00Z \
--owner=0 --group=0 --numeric-owner \
--use-compress-program="zstd --ultra -22 --threads=0" \
-cf wasm-tools-${{ github.ref_name }}-${{ matrix.sys }}.tar.zst \
Expand Down Expand Up @@ -114,7 +113,6 @@ jobs:
mv bin wasm-tools-${{ github.ref_name }}-darwin-${{ matrix.arch }}
gtar \
--sort=name \
--mtime=1970-01-01T00:00:00Z \
--owner=0 --group=0 --numeric-owner \
--use-compress-program="zstd --ultra -22 --threads=0" \
-cf wasm-tools-${{ github.ref_name }}-darwin-${{ matrix.arch }}.tar.zst \
Expand Down Expand Up @@ -152,20 +150,14 @@ jobs:
--all-features `
--root wasm-tools-${{ github.ref_name }}-windows-${{ matrix.arch }} `
--target ${{ matrix.arch }}-pc-windows-msvc `
--git https://github.com/type-dance/wizer.git `
--git https://github.com/TerrorJack/wizer.git `
wizer
cargo install `
--all-features `
--root wasm-tools-${{ github.ref_name }}-windows-${{ matrix.arch }} `
--target ${{ matrix.arch }}-pc-windows-msvc `
wasm-component-ld wasm-tools wit-bindgen-cli
cargo install `
--features winch `
--root wasm-tools-${{ github.ref_name }}-windows-${{ matrix.arch }} `
--target ${{ matrix.arch }}-pc-windows-msvc `
wasmtime-cli
wasmtime-cli wasm-component-ld wasm-tools wit-bindgen-cli
- name: upload-artifact
uses: actions/upload-artifact@v4
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Static builds of `wasm-tools`, `wasmtime-cli`, `wizer` for
{x86_64,aarch64}-{linux,darwin,windows}:

- `wasm-component-ld`: `v0.5.0`
- `wasm-tools`: `v1.206.0`
- `wasmtime-cli`: `v20.0.1`
- `wit-bindgen-cli`: `v0.24.0`
- `wasm-component-ld`: `v0.5.2`
- `wasm-tools`: `v1.208.1`
- `wasmtime-cli`: `v21.0.0`
- `wit-bindgen-cli`: `v0.25.0`
- `wizer`: `v6.0.0-git`
7 changes: 2 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,18 @@ set -eu

cargo install \
--all-features \
--config 'profile.release.lto = "thin"' \
--config 'profile.release.strip = "symbols"' \
--root "$PWD" \
--git https://github.com/type-dance/wizer.git \
--git https://github.com/TerrorJack/wizer.git \
wizer ${1+"$@"}

cargo install \
--all-features \
--config 'profile.release.lto = "thin"' \
--config 'profile.release.strip = "symbols"' \
--root "$PWD" \
wasm-component-ld wasm-tools wit-bindgen-cli ${1+"$@"}

cargo install \
--features winch \
--config 'profile.release.lto = "thin"' \
--all-features \
--root "$PWD" \
wasmtime-cli ${1+"$@"}

0 comments on commit 2e9419c

Please sign in to comment.