-
Notifications
You must be signed in to change notification settings - Fork 14
61 lines (49 loc) · 1.21 KB
/
go.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
name: Go
on:
push:
branches: [ "main" ]
paths:
- '.github/workflows/go.yml'
- 'go/**'
- Makefile
pull_request:
branches: [ "main" ]
paths:
- '.github/workflows/go.yml'
- 'go/**'
- Makefile
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: egor-tensin/setup-clang@v1
with:
version: 14
- name: Setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: '3.27.x'
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
cache: false
- name: Check Go sources formatting
working-directory: ./
run: diff=`gofmt -s -d .`; echo "$diff"; test -z "$diff"
- name: Build
run: make tosca-go
- name: Test
run: make test-go
- name: CT regression tests LFVM
run: go run ./go/ct/driver regressions lfvm
- name: CT regression tests evmzero
run: go run ./go/ct/driver regressions evmzero
# see issue #316
#- name: CT rule coverage test
# run: go run ./go/ct/driver test
#- name: CT on LFVM
# run: go run ./go/ct/driver run lfvm