File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : musl
2
+
3
+ on :
4
+ push :
5
+
6
+ jobs :
7
+ musl :
8
+ name : wasmtime-x86_64-linux-musl
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+
12
+ - name : deps
13
+ run : |
14
+ sudo apt install -y \
15
+ musl-tools
16
+ rustup target add x86_64-unknown-linux-musl
17
+
18
+ - name : checkout
19
+ uses : actions/checkout@v3
20
+ with :
21
+ submodules : true
22
+
23
+ - name : build
24
+ run : |
25
+ cargo build \
26
+ --target x86_64-unknown-linux-musl \
27
+ --release \
28
+ --bin wasmtime \
29
+ --all-features \
30
+ --config 'profile.release.lto = "thin"' \
31
+ --config 'profile.release.strip = "symbols"'
32
+
33
+ mkdir wasmtime-v9.0.2-x86_64-linux-musl
34
+ mv target/x86_64-unknown-linux-musl/release/wasmtime wasmtime-v9.0.2-x86_64-linux-musl
35
+ XZ_OPT=-9 \
36
+ tar \
37
+ --sort=name \
38
+ --mtime=1970-01-01T00:00:00Z \
39
+ --owner=0 \
40
+ --group=0 \
41
+ --numeric-owner \
42
+ -cJf wasmtime-v9.0.2-x86_64-linux-musl.tar.xz wasmtime-v9.0.2-x86_64-linux-musl
43
+
44
+ - name : upload-artifact
45
+ uses : actions/upload-artifact@v3
46
+ with :
47
+ name : wasmtime-x86_64-linux-musl
48
+ path : wasmtime-v9.0.2-x86_64-linux-musl.tar.xz
You can’t perform that action at this time.
0 commit comments