Skip to content

Commit b9f8855

Browse files
committed
Add wasmer package.
Signed-off-by: Dan Lorenc <dlorenc@chainguard.dev>
1 parent b749892 commit b9f8855

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

packages.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,4 +847,5 @@ runit
847847
libtheora
848848
ipset
849849
nuclei
850+
wasmer
850851
libzip

wasmer.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
package:
2+
name: wasmer
3+
version: 4.0.0
4+
epoch: 0
5+
description: The leading WebAssembly Runtime supporting WASI and Emscripten.
6+
target-architecture:
7+
- all
8+
copyright:
9+
- paths:
10+
- "*"
11+
attestation: TODO
12+
license: MIT
13+
14+
environment:
15+
contents:
16+
packages:
17+
- busybox
18+
- ca-certificates-bundle
19+
- build-base
20+
- bash
21+
- rust
22+
- build-base
23+
24+
pipeline:
25+
- uses: git-checkout
26+
with:
27+
repository: https://github.com/wasmerio/wasmer
28+
tag: v${{package.version}}
29+
expected-commit: 77898a7767eb7057834fdc1a80b239e6b68cf44e
30+
31+
- runs: |
32+
make build-wasmer build-capi
33+
mkdir -p ${{targets.destdir}}/usr/bin
34+
mv target/release/wasmer ${{targets.destdir}}/usr/bin/
35+
36+
- uses: strip
37+
38+
subpackages:
39+
- name: wasmer-capi
40+
pipeline:
41+
- runs: |
42+
mkdir -p ${{targets.subpkgdir}}/usr/lib
43+
mv target/release/libwasmer.so ${{targets.subpkgdir}}/usr/lib/

0 commit comments

Comments
 (0)