Skip to content

Commit a543160

Browse files
committed
240717
1 parent 64cc44a commit a543160

File tree

2 files changed

+11
-24
lines changed

2 files changed

+11
-24
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,6 @@ 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-
4330
- name: build
4431
run: |
4532
podman run \
@@ -51,14 +38,14 @@ jobs:
5138
--tmpfs /tmp:exec \
5239
--volume $PWD:/workspace \
5340
--workdir /workspace \
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
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
6249
6350
file ./bin/wasm-component-ld
6451
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.3`
7-
- `wasm-tools`: `v1.211.1`
6+
- `wasm-component-ld`: `v0.5.4`
7+
- `wasm-tools`: `v1.213.0`
88
- `wasmtime-cli`: `v22.0.0`
9-
- `wit-bindgen-cli`: `v0.26.0`
9+
- `wit-bindgen-cli`: `v0.27.0`
1010
- `wizer`: `v6.0.0-git`

0 commit comments

Comments
 (0)