File tree 1 file changed +6
-21
lines changed
1 file changed +6
-21
lines changed Original file line number Diff line number Diff line change 9
9
- ' server/**'
10
10
11
11
jobs :
12
- C :
13
- runs-on : " ubuntu-latest"
14
- outputs :
15
- GO : " go1.19.13"
16
- GOPHERJS_VER : " v1.19.0-beta1"
17
- steps :
18
- - run : echo 'Set Constants'
19
-
20
- gopherjs :
21
- needs : [ C ]
12
+ go-wasm :
22
13
runs-on : " ubuntu-latest"
23
14
defaults :
24
15
run :
25
- working-directory : wsnet2-dashboard/backend/go-binary
16
+ working-directory : wsnet2-dashboard/backend
26
17
steps :
27
18
- uses : actions/checkout@v3
28
19
29
20
- uses : actions/setup-go@v4
30
21
with :
31
- go-version-file : " server /go.mod"
22
+ go-version-file : " wsnet2-dashboard/backend/go-binary /go.mod"
32
23
cache : true
33
- cache-dependency-path : " server /go.sum"
24
+ cache-dependency-path : " wsnet2-dashboard/backend/go-binary /go.sum"
34
25
35
26
- uses : arduino/setup-protoc@v2
36
27
with :
37
28
version : ' 24.x'
38
29
39
- - run : make -C ../../../server generate
40
-
41
- - run : go install golang.org/dl/${{ needs.C.outputs.GO }}@latest && ${{ needs.C.outputs.GO }} download
42
-
43
- - run : cd ../../../server && GOARCH=386 go test ./binary
44
-
45
- - run : go install github.com/gopherjs/gopherjs@${{ needs.C.outputs.GOPHERJS_VER }}
30
+ - run : make -C ../../server generate
46
31
47
- - run : GOPHERJS_GOROOT="$(${{ needs.C.outputs.GO }} env GOROOT)" gopherjs build
32
+ - run : make src/plugins/binary.wasm
You can’t perform that action at this time.
0 commit comments