forked from WebAssembly/binaryen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e3eaeef
commit 721274c
Showing
8 changed files
with
134 additions
and
642 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: build-linux | ||
runs: | ||
using: composite | ||
steps: | ||
- name: build-image | ||
shell: bash | ||
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 \ | ||
--network host \ | ||
--pull \ | ||
--squash-all \ | ||
--tag rust:alpine-mimalloc \ | ||
. | ||
popd | ||
- name: build & test | ||
shell: bash | ||
run: | | ||
podman run \ | ||
--env GITHUB_REF_NAME=$GITHUB_REF_NAME \ | ||
--init \ | ||
--network host \ | ||
--rm \ | ||
--volume $PWD:/workspace \ | ||
--workdir /workspace \ | ||
rust:alpine-mimalloc \ | ||
/workspace/build-static.sh | ||
- name: upload-artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: binaryen-${{ matrix.arch }}-linux-static | ||
path: binaryen-*-${{ matrix.arch }}-linux-static.tar.gz |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.