Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterDY committed Jul 28, 2024
1 parent 3b6dfee commit df64bc6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/go_latest_test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: Unit Test Go-Latest-Linux-X64
name: Go Latest Linux-X64

on: push

jobs:
build:
runs-on: [self-hosted, X64]
strategy:
matrix:
os: [arm, X64]
runs-on: ${{ matrix.os }}
steps:
- name: Clear repository
run: sudo rm -fr $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE
Expand Down
8 changes: 6 additions & 2 deletions scripts/go_latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ export GOROOT=$PWD
export PATH=$GOROOT/bin:$PATH
go version

cd ../loader
GOMAXPROCS=4 go test -v -race github.com/bytedance/sonic/loader

cd ..
GOMAXPROCS=4 go test -v -race .
GOMAXPROCS=4 go test -v -race github.com/bytedance/sonic/ast
GOMAXPROCS=4 go test -v -race github.com/bytedance/sonic/internal/encoder
GOMAXPROCS=4 go test -v -race github.com/bytedance/sonic/internal/decoder
GOMAXPROCS=4 go test -v -race github.com/bytedance/sonic/encoder
GOMAXPROCS=4 go test -v -race github.com/bytedance/sonic/decoder
GOMAXPROCS=4 go test -v -race github.com/bytedance/sonic/issue_test

0 comments on commit df64bc6

Please sign in to comment.