We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e65ae6 commit a8686ceCopy full SHA for a8686ce
.github/workflows/build.yml
@@ -35,9 +35,11 @@ jobs:
35
wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-22/wasi-sdk_22.0_amd64.deb
36
sudo dpkg -i wasi-sdk_22.0_amd64.deb
37
- name: Build Extism
38
+ env:
39
+ WASI_SDK_PATH: /opt/wasi-sdk
40
run: |
41
cd perl-sdk
- /opt/wasi-sdk/bin/clang -o Extism/host.wasm host.c -mexec-model=reactor
42
+ make wasm
43
cd Extism
44
perl Makefile.PL
45
make manifest
Makefile
@@ -1,5 +1,8 @@
1
.PHONY: all
2
-all: Extism Extism/host.wasm Extism/unreachable.wasm
+all: Extism wasm
3
+
4
+.PHONY: wasm
5
+wasm: Extism/host.wasm Extism/unreachable.wasm
6
7
Extism/host.wasm: host.c
8
$(WASI_SDK_PATH)/bin/clang -o $@ $^ -mexec-model=reactor
0 commit comments