Skip to content

Commit 8cf469f

Browse files
authored
chore: Various version bumps and updates (#12)
1 parent 968ba37 commit 8cf469f

File tree

6 files changed

+175
-24
lines changed

6 files changed

+175
-24
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,11 @@ jobs:
2020

2121
- uses: actions/setup-go@v3
2222
with:
23-
go-version: '1.19'
23+
go-version: '1.20'
2424

2525
- uses: acifani/setup-tinygo@v1
2626
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
3228

3329
- name: Install wasm-opt
3430
run: |
@@ -40,12 +36,12 @@ jobs:
4036
4137
- name: Build WebAssembly parser
4238
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
4440
wasm-opt -O apex-parser.wasm -o apex-parser.wasm
4541
4642
- name: Build waPC module
4743
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
4945
wasm-opt -O apex-wapc.wasm -o apex-wapc.wasm
5046
5147
- name: Release

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
all: codegen wasm-cli wasm-api wasm-wapc wasm-host
44

55
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
77
wasm-opt -O apex-cli.wasm -o apex-cli.wasm
88

99
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
1111
wasm-opt -O apex-api.wasm -o apex-api.wasm
1212
cp apex-api.wasm cmd/host/apex-api.wasm
1313

1414
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
1616
wasm-opt -O apex-wapc.wasm -o apex-wapc.wasm
1717

1818
wasm-host:

apex.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,21 @@ config:
44
module: github.com/apexlang/apex-go
55
generates:
66
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'
88
visitorClass: InterfacesVisitor
99
config:
1010
writeTypeInfo: false
1111
runAfter:
1212
- command: tinyjson -all model/model.go
1313
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'
1515
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

cmd/wapc/main.go

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)