Use taurusgroup/coreth fork #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build + Unit Tests | |
on: | |
push: | |
tags: | |
- "*" | |
branches: | |
- master | |
- dev | |
pull_request: | |
jobs: | |
run_build_unit_tests: | |
name: build_unit_test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-12, ubuntu-20.04, ubuntu-22.04, windows-2022, [self-hosted, linux, ARM64, focal], [self-hosted, linux, ARM64, jammy]] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '~1.19.12' | |
check-latest: true | |
- name: build_test | |
shell: bash | |
run: .github/workflows/build_and_test.sh | |
- name: fuzz_test | |
shell: bash | |
if: matrix.os == 'ubuntu-22.04' # Only run on Ubuntu 22.04 | |
run: | # Run each fuzz test 15 seconds | |
cd ${{ github.workspace }} | |
./scripts/build_fuzz.sh 15 |