Skip to content

Commit 751ea7b

Browse files
committed
upgrade release pipeine and add aarch64-unknown-linux-musl not only to CI but also to our release
1 parent 3395d4b commit 751ea7b

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/release.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ jobs:
6969
with:
7070
toolchain: stable
7171
target: ${{ matrix.job.target }}
72-
override: true
73-
profile: minimal
7472

7573
- name: Show version information (Rust, cargo, GCC)
7674
run: |
@@ -150,7 +148,7 @@ jobs:
150148
echo "LIB_FINAL_NAME=${LIB_FINAL_NAME}.tar.gz" >> $GITHUB_OUTPUT
151149
152150
- name: "Artifact upload"
153-
uses: actions/upload-artifact@v2
151+
uses: actions/upload-artifact@v3
154152
with:
155153
name: ${{ steps.rename.outputs.LIB_FINAL_NAME }}
156154
path: ${{ steps.rename.outputs.LIB_FINAL_PATH }}

lib/wasmex/native.ex

+10
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ defmodule Wasmex.Native do
99
otp_app: :wasmex,
1010
base_url: "#{github_url}/releases/download/v#{version}",
1111
version: version,
12+
targets: ~w(
13+
aarch64-apple-darwin
14+
aarch64-unknown-linux-gnu
15+
aarch64-unknown-linux-musl
16+
x86_64-apple-darwin
17+
x86_64-unknown-linux-gnu
18+
x86_64-unknown-linux-musl
19+
x86_64-pc-windows-msvc
20+
x86_64-pc-windows-gnu
21+
),
1222
force_build: System.get_env("WASMEX_BUILD") in ["1", "true"]
1323

1424
def engine_new(_engine_config), do: error()

0 commit comments

Comments
 (0)