-
-
Notifications
You must be signed in to change notification settings - Fork 1
56 lines (53 loc) · 1.38 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
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: ["hello"]
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: ["hello"]
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}}