File tree 6 files changed +175
-24
lines changed
6 files changed +175
-24
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,11 @@ jobs:
20
20
21
21
- uses : actions/setup-go@v3
22
22
with :
23
- go-version : ' 1.19 '
23
+ go-version : ' 1.20 '
24
24
25
25
- uses : acifani/setup-tinygo@v1
26
26
with :
27
- tinygo-version : 0.25.0
28
-
29
- - uses : actions/setup-go@v3
30
- with :
31
- go-version : ' 1.19'
27
+ tinygo-version : 0.27.0
32
28
33
29
- name : Install wasm-opt
34
30
run : |
@@ -40,12 +36,12 @@ jobs:
40
36
41
37
- name : Build WebAssembly parser
42
38
run : |
43
- tinygo build -o apex-parser.wasm -scheduler=none -target=wasi -wasm-abi=generic - no-debug cmd/apex-api/main.go
39
+ tinygo build -o apex-parser.wasm -scheduler=none -target=wasi -no-debug cmd/apex-api/main.go
44
40
wasm-opt -O apex-parser.wasm -o apex-parser.wasm
45
41
46
42
- name : Build waPC module
47
43
run : |
48
- tinygo build -o apex-wapc.wasm -scheduler=none -target=wasi -wasm-abi=generic - no-debug cmd/wapc/main.go
44
+ tinygo build -o apex-wapc.wasm -scheduler=none -target=wasi -no-debug cmd/wapc/main.go
49
45
wasm-opt -O apex-wapc.wasm -o apex-wapc.wasm
50
46
51
47
- name : Release
Original file line number Diff line number Diff line change 3
3
all : codegen wasm-cli wasm-api wasm-wapc wasm-host
4
4
5
5
wasm-cli :
6
- tinygo build -o apex-cli.wasm -scheduler=none -target=wasi -wasm-abi=generic - no-debug cmd/apex-cli/main.go
6
+ tinygo build -o apex-cli.wasm -scheduler=none -target=wasi -no-debug cmd/apex-cli/main.go
7
7
wasm-opt -O apex-cli.wasm -o apex-cli.wasm
8
8
9
9
wasm-api :
10
- tinygo build -o apex-api.wasm -scheduler=none -target=wasi -wasm-abi=generic - no-debug cmd/apex-api/main.go
10
+ tinygo build -o apex-api.wasm -scheduler=none -target=wasi -no-debug cmd/apex-api/main.go
11
11
wasm-opt -O apex-api.wasm -o apex-api.wasm
12
12
cp apex-api.wasm cmd/host/apex-api.wasm
13
13
14
14
wasm-wapc :
15
- tinygo build -o apex-wapc.wasm -scheduler=none -target=wasi -wasm-abi=generic - no-debug cmd/wapc/main.go
15
+ tinygo build -o apex-wapc.wasm -scheduler=none -target=wasi -no-debug cmd/wapc/main.go
16
16
wasm-opt -O apex-wapc.wasm -o apex-wapc.wasm
17
17
18
18
wasm-host :
Original file line number Diff line number Diff line change @@ -4,12 +4,21 @@ config:
4
4
module : github.com/apexlang/apex-go
5
5
generates :
6
6
model/model.go :
7
- module : https://deno.land/x/apex_codegen@v0.1.6 /go/mod.ts
7
+ module : ' https://deno.land/x/apex_codegen@v0.1.9 /go/mod.ts'
8
8
visitorClass : InterfacesVisitor
9
9
config :
10
10
writeTypeInfo : false
11
11
runAfter :
12
12
- command : tinyjson -all model/model.go
13
13
model/msgpack.go :
14
- module : https://deno.land/x/apex_codegen@v0.1.6 /go/mod.ts
14
+ module : ' https://deno.land/x/apex_codegen@v0.1.9 /go/mod.ts'
15
15
visitorClass : MsgPackVisitor
16
+ model/wapc.go :
17
+ module : ' https://deno.land/x/wapc_codegen@v0.0.6/tinygo/mod.ts'
18
+ visitorClass : ExportVisitor
19
+ cmd/wapc/main.go :
20
+ module : ' https://deno.land/x/wapc_codegen@v0.0.6/tinygo/mod.ts'
21
+ visitorClass : MainVisitor
22
+ config :
23
+ import : github.com/apexlang/apex-go/model
24
+ package : model
You can’t perform that action at this time.
0 commit comments