Skip to content

Commit ed498bb

Browse files
committed
240722
1 parent a543160 commit ed498bb

File tree

2 files changed

+24
-11
lines changed

2 files changed

+24
-11
lines changed

.github/workflows/build.yml

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,19 @@ jobs:
2727
- name: checkout
2828
uses: actions/checkout@v4
2929

30+
- name: build-image
31+
run: |
32+
pushd "$(mktemp -d)"
33+
curl -f -L --retry 5 https://github.com/tweag/rust-alpine-mimalloc/archive/refs/heads/master.tar.gz | tar xz --strip-components=1
34+
podman build \
35+
--arch ${{ matrix.arch }} \
36+
--network host \
37+
--pull \
38+
--squash-all \
39+
--tag rust:alpine-mimalloc \
40+
.
41+
popd
42+
3043
- name: build
3144
run: |
3245
podman run \
@@ -38,14 +51,14 @@ jobs:
3851
--tmpfs /tmp:exec \
3952
--volume $PWD:/workspace \
4053
--workdir /workspace \
41-
chimeralinux/chimera \
42-
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'
43-
44-
./bin/wasm-component-ld --help
45-
./bin/wasm-tools --version
46-
./bin/wasmtime --version
47-
./bin/wit-bindgen --version
48-
./bin/wizer --version
54+
rust:alpine-mimalloc \
55+
sh -c 'TARGET=$(rustc -vV | sed -n "s|host: ||p") && exec ./build.sh --target $TARGET'
56+
57+
MIMALLOC_VERBOSE=1 ./bin/wasm-component-ld --help
58+
MIMALLOC_VERBOSE=1 ./bin/wasm-tools --version
59+
MIMALLOC_VERBOSE=1 ./bin/wasmtime --version
60+
MIMALLOC_VERBOSE=1 ./bin/wit-bindgen --version
61+
MIMALLOC_VERBOSE=1 ./bin/wizer --version
4962
5063
file ./bin/wasm-component-ld
5164
file ./bin/wasm-tools

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
Static builds of `wasm-tools`, `wasmtime-cli`, `wizer` for
44
{x86_64,aarch64}-{linux,darwin,windows}:
55

6-
- `wasm-component-ld`: `v0.5.4`
7-
- `wasm-tools`: `v1.213.0`
6+
- `wasm-component-ld`: `v0.5.5`
7+
- `wasm-tools`: `v1.214.0`
88
- `wasmtime-cli`: `v22.0.0`
9-
- `wit-bindgen-cli`: `v0.27.0`
9+
- `wit-bindgen-cli`: `v0.28.0`
1010
- `wizer`: `v6.0.0-git`

0 commit comments

Comments
 (0)