Skip to content

Commit

Permalink
feat: add a new shim for lunatic (#122)
Browse files Browse the repository at this point in the history
* feat: add a new shim for lunatic

Signed-off-by: Sven Pfennig <[email protected]>
Signed-off-by: jiaxiao zhou <[email protected]>
Co-authored-by: jiaxiao zhou <[email protected]>
  • Loading branch information
0xE282B0 and Mossaka authored Aug 23, 2023
1 parent 159ff42 commit f66a8f3
Show file tree
Hide file tree
Showing 34 changed files with 5,670 additions and 236 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
os: "ubuntu-latest",
arch: "aarch64"
}
shims: [slight, spin, wws]
shims: [slight, spin, wws, lunatic]
env:
ARCH: ${{ matrix.config.arch }}
steps:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ jobs:
{"imageName": "examples/slight-rust-hello", "context": "images/slight"},
{"imageName": "examples/wws-js-hello", "context": "images/wws"},
{"imageName": "examples/spin-inbound-redis", "context": "images/spin-inbound-redis"},
{"imageName": "examples/spin-outbound-redis", "context": "images/spin-outbound-redis"}]
{"imageName": "examples/spin-outbound-redis", "context": "images/spin-outbound-redis"}],
{"imageName": "examples/lunatic-rust-hello", "context": "images/lunatic"}],
{"imageName": "examples/lunatic-spawn-process", "context": "images/lunatic-spawn-process"}],
{"imageName": "examples/lunatic-submillisecond", "context": "images/lunatic-submillisecond"}]
platforms: wasi/wasm
- name: untar x86_64 musl artifacts into ./deployments/k3d/.tmp dir
run: |
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
SHIMS := slight spin wws
SHIMS := slight spin wws lunatic
BUILD_TARGETS = $(foreach shim,$(SHIMS),build-$(shim)-cross-$(TARGET))

PREFIX ?= /usr/local
INSTALL ?= install
TEST_IMG_NAME_lunatic ?= wasmtest_lunatic:latest
TEST_IMG_NAME_spin ?= wasmtest_spin:latest
TEST_IMG_NAME_slight ?= wasmtest_slight:latest
TEST_IMG_NAME_wws ?= wasmtest_wws:latest
Expand Down
Loading

0 comments on commit f66a8f3

Please sign in to comment.