Skip to content

Commit 721274c

Browse files
committed
ci: add linux static release
1 parent e3eaeef commit 721274c

File tree

8 files changed

+134
-642
lines changed

8 files changed

+134
-642
lines changed

.github/actions/linux/action.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: build-linux
2+
runs:
3+
using: composite
4+
steps:
5+
- name: build-image
6+
shell: bash
7+
run: |
8+
pushd "$(mktemp -d)"
9+
curl -f -L --retry 5 https://github.com/tweag/rust-alpine-mimalloc/archive/refs/heads/master.tar.gz | tar xz --strip-components=1
10+
podman build \
11+
--network host \
12+
--pull \
13+
--squash-all \
14+
--tag rust:alpine-mimalloc \
15+
.
16+
popd
17+
18+
- name: build & test
19+
shell: bash
20+
run: |
21+
podman run \
22+
--env GITHUB_REF_NAME=$GITHUB_REF_NAME \
23+
--init \
24+
--network host \
25+
--rm \
26+
--volume $PWD:/workspace \
27+
--workdir /workspace \
28+
rust:alpine-mimalloc \
29+
/workspace/build-static.sh
30+
31+
- name: upload-artifact
32+
uses: actions/upload-artifact@v4
33+
with:
34+
name: binaryen-${{ matrix.arch }}-linux-static
35+
path: binaryen-*-${{ matrix.arch }}-linux-static.tar.gz

.github/codecov.yml

-11
This file was deleted.

0 commit comments

Comments
 (0)