Skip to content

Commit b83e516

Browse files
Merge pull request #140 from ethereum-optimism/jan/circleci--005
chore: Migrate rvgo-tests workflow to CircleCI [5/N]
2 parents 13f0029 + 5ac2dd1 commit b83e516

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.circleci/config.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ workflows:
3232
- prestate-reproducibility:
3333
version: "1.3.1"
3434
asterisc-commit: "25feabf"
35+
- rvgo-tests
3536

3637
commands:
3738
install-dependencies:
@@ -369,3 +370,27 @@ jobs:
369370
echo "Prestate did not match expected"
370371
exit 1
371372
fi
373+
374+
rvgo-tests:
375+
executor: default
376+
steps:
377+
- checkout
378+
- install-dependencies
379+
- install-go-modules
380+
- run:
381+
name: Build rvsol
382+
command: forge build
383+
working_directory: rvsol
384+
- run:
385+
name: Build rv64g test binaries
386+
command: make bin bin/simple bin/minimal
387+
working_directory: tests/go-tests
388+
- run:
389+
name: Run tests
390+
command: go test -v ./rvgo/... -coverprofile=coverage.out -coverpkg=./rvgo/...
391+
- run:
392+
name: Fuzz
393+
command: make fuzz
394+
- run:
395+
name: Upload coverage to Codecov
396+
command: codecov-cli do-upload --token $CODECOV_TOKEN --verbose

0 commit comments

Comments
 (0)