Remove write lock option from the xsvm API #7991
Workflow file for this run
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: | |
merge_group: | |
types: [checks_requested] | |
# Cancel ongoing workflow runs if a new one is started | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
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.20.8' | |
check-latest: true | |
- name: Set timeout on Windows # Windows UT run slower and need a longer timeout | |
shell: bash | |
if: matrix.os == 'windows-2022' | |
run: | | |
echo "TIMEOUT=240s" >> $GITHUB_ENV | |
- name: build_test | |
shell: bash | |
run: .github/workflows/build_and_test.sh | |
env: | |
TIMEOUT: ${{ env.TIMEOUT }} | |
- 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 |