Skip to content

build: compatible for unsupportted go images #563

build: compatible for unsupportted go images

build: compatible for unsupportted go images #563

name: Compatibility Test Windows-X64
on: pull_request
jobs:
build:
strategy:
matrix:
go-version: [1.17.x, 1.22.x, 1.23.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 ./...