From ed498bb7dfdece8f24db5816fd716f58300e5e02 Mon Sep 17 00:00:00 2001 From: Cheng Shao Date: Mon, 22 Jul 2024 13:58:27 +0000 Subject: [PATCH] 240722 --- .github/workflows/build.yml | 29 +++++++++++++++++++++-------- README.md | 6 +++--- 2 files changed, 24 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 29dc726..43b4820 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,6 +27,19 @@ 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 \ @@ -38,14 +51,14 @@ jobs: --tmpfs /tmp:exec \ --volume $PWD:/workspace \ --workdir /workspace \ - 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 + 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 file ./bin/wasm-component-ld file ./bin/wasm-tools diff --git a/README.md b/README.md index 9e73bcd..dd2de54 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ Static builds of `wasm-tools`, `wasmtime-cli`, `wizer` for {x86_64,aarch64}-{linux,darwin,windows}: -- `wasm-component-ld`: `v0.5.4` -- `wasm-tools`: `v1.213.0` +- `wasm-component-ld`: `v0.5.5` +- `wasm-tools`: `v1.214.0` - `wasmtime-cli`: `v22.0.0` -- `wit-bindgen-cli`: `v0.27.0` +- `wit-bindgen-cli`: `v0.28.0` - `wizer`: `v6.0.0-git`