mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
79ec1bce70
commit
0650366adf
|
@ -1,10 +1,9 @@
|
||||||
distributable:
|
distributable:
|
||||||
strip-components: 1
|
strip-components: 1
|
||||||
url: https://github.com/wasmerio/wasmer/archive/refs/tags/v{{version.raw}}.tar.gz
|
url: https://github.com/wasmerio/wasmer/archive/refs/tags/{{version.tag}}.tar.gz
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
github: wasmerio/wasmer/tags
|
github: wasmerio/wasmer/tags
|
||||||
strip: /v/
|
|
||||||
|
|
||||||
interprets:
|
interprets:
|
||||||
extensions: wasm
|
extensions: wasm
|
||||||
|
@ -22,14 +21,16 @@ build:
|
||||||
- -A warnings
|
- -A warnings
|
||||||
# Remove debug information (to reduce binary size)
|
# Remove debug information (to reduce binary size)
|
||||||
- -C debuginfo=0
|
- -C debuginfo=0
|
||||||
script: |
|
linux:
|
||||||
mkdir -p "{{prefix}}"/bin
|
CC: clang
|
||||||
make build-wasmer
|
CXX: clang++
|
||||||
mv target/release/wasmer "{{prefix}}"/bin
|
LD: clang
|
||||||
|
script:
|
||||||
|
- mkdir -p "{{prefix}}"/bin
|
||||||
|
- make build-wasmer
|
||||||
|
- mv target/release/wasmer "{{prefix}}"/bin
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/wasmer
|
- bin/wasmer
|
||||||
|
|
||||||
test:
|
test: test "$(wasmer --version)" = "wasmer {{version.raw}}"
|
||||||
script: |
|
|
||||||
test "$(wasmer --version)" = "wasmer {{version.raw}}"
|
|
||||||
|
|
Loading…
Reference in a new issue