Skip to content

Commit

Permalink
240717
Browse files Browse the repository at this point in the history
  • Loading branch information
TerrorJack committed Jul 17, 2024
1 parent 64cc44a commit a543160
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 24 deletions.
29 changes: 8 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,6 @@ jobs:
- name: checkout
uses: actions/checkout@v4

- name: build-image
run: |
pushd "$(mktemp -d)"
curl -f -L --retry 5 https://github.com/tweag/rust-alpine-mimalloc/archive/refs/heads/master.tar.gz | tar xz --strip-components=1
podman build \
--arch ${{ matrix.arch }} \
--network host \
--pull \
--squash-all \
--tag rust:alpine-mimalloc \
.
popd
- name: build
run: |
podman run \
Expand All @@ -51,14 +38,14 @@ jobs:
--tmpfs /tmp:exec \
--volume $PWD:/workspace \
--workdir /workspace \
rust:alpine-mimalloc \
sh -c 'TARGET=$(rustc -vV | sed -n "s|host: ||p") && exec ./build.sh --target $TARGET'
MIMALLOC_VERBOSE=1 ./bin/wasm-component-ld --help
MIMALLOC_VERBOSE=1 ./bin/wasm-tools --version
MIMALLOC_VERBOSE=1 ./bin/wasmtime --version
MIMALLOC_VERBOSE=1 ./bin/wit-bindgen --version
MIMALLOC_VERBOSE=1 ./bin/wizer --version
chimeralinux/chimera \
sh -c 'apk add cargo libatomic-chimera-devel-static libcxx-devel-static musl-devel-static && TARGET=$(rustc -vV | sed -n "s|host: ||p") && exec ./build.sh --target $TARGET'
./bin/wasm-component-ld --help
./bin/wasm-tools --version
./bin/wasmtime --version
./bin/wit-bindgen --version
./bin/wizer --version
file ./bin/wasm-component-ld
file ./bin/wasm-tools
Expand Down
6 changes: 3 additions & 3 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.3`
- `wasm-tools`: `v1.211.1`
- `wasm-component-ld`: `v0.5.4`
- `wasm-tools`: `v1.213.0`
- `wasmtime-cli`: `v22.0.0`
- `wit-bindgen-cli`: `v0.26.0`
- `wit-bindgen-cli`: `v0.27.0`
- `wizer`: `v6.0.0-git`

0 comments on commit a543160

Please sign in to comment.