generated from moul/gno-hello
-
-
Notifications
You must be signed in to change notification settings - Fork 6
73 lines (70 loc) · 1.8 KB
/
gno.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: Gno
on:
pull_request:
paths:
- "**.go"
- "**.gno"
- "go.mod"
- "go.sum"
- ".github/workflows/gno.yml"
- "Makefile"
push:
branches:
- master
- main
jobs:
realm-tests:
name: Realm Tests
strategy:
fail-fast: false
matrix:
goversion: ["1.18.x"]
realm:
- 001-hello
- 002-args
- 003-data
- 004-render
- 005-import
- 006-grc20
- 007-vault
- 900-wikipedia-coin
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
- name: install gnodev
run: go install github.com/gnolang/gno/cmd/gnodev
- name: gnodev test
run: go run github.com/gnolang/gno/cmd/gnodev test ${{matrix.realm}}
realm-precompile-build:
name: "Realm Precompile & Build"
strategy:
fail-fast: false
matrix:
goversion: ["1.18.x"]
realm:
- 001-hello
- 002-args
- 003-data
- 004-render
# TODO: needs some makefile tuning to fix the following tests
#- 005-import
#- 006-grc20
#- 007-vault
#- 900-wikipedia-coin
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
- name: install gnodev
run: go install github.com/gnolang/gno/cmd/gnodev
- name: gnodev precompile
run: go run github.com/gnolang/gno/cmd/gnodev precompile ${{matrix.realm}}
- name: gnodev precompile
run: go run github.com/gnolang/gno/cmd/gnodev build ${{matrix.realm}}