Skip to content

Commit

Permalink
240722
Browse files Browse the repository at this point in the history
  • Loading branch information
TerrorJack committed Jul 22, 2024
1 parent a543160 commit ed498bb
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 11 deletions.
29 changes: 21 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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
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.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`

0 comments on commit ed498bb

Please sign in to comment.