Skip to content

Commit

Permalink
ci: add linux static release
Browse files Browse the repository at this point in the history
  • Loading branch information
TerrorJack committed Nov 22, 2024
1 parent e3eaeef commit 721274c
Show file tree
Hide file tree
Showing 8 changed files with 134 additions and 642 deletions.
35 changes: 35 additions & 0 deletions .github/actions/linux/action.yml
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
11 changes: 0 additions & 11 deletions .github/codecov.yml

This file was deleted.

Loading

0 comments on commit 721274c

Please sign in to comment.