feat: support AArch64 for native funcs #59
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: Compatibility Test Windows-X64 | |
on: pull_request | |
jobs: | |
build: | |
strategy: | |
matrix: | |
go-version: [1.17.x, 1.21.x] | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- uses: actions/cache@v2 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: main | |
run: | | |
set GOMAXPROCS=4 | |
go test -v -race github.com/bytedance/sonic | |
- name: ast | |
run: | | |
set GOMAXPROCS=4 | |
go test -v -race github.com/bytedance/sonic/ast | |
- name: external | |
run: | | |
cd ./external_jsonlib_test | |
set GOMAXPROCS=4 | |
go test -v -race ./... |