Skip to content

LFVM: revision enum #1153

LFVM: revision enum

LFVM: revision enum #1153

Workflow file for this run

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