...

Text file src/github.com/bytedance/sonic/.github/workflows/benchmark-linux-arm64.yml

Documentation: github.com/bytedance/sonic/.github/workflows

     1name: Benchmark Linux-ARM
     2
     3on: pull_request
     4
     5jobs:
     6  build:
     7    runs-on: [arm]
     8    steps:
     9      - name: Clear repository
    10        run: sudo rm -fr $GITHUB_WORKSPACE && mkdir $GITHUB_WORKSPACE
    11
    12      - uses: actions/checkout@v2
    13
    14      - name: Set up Go
    15        uses: actions/setup-go@v2
    16        with:
    17          go-version: 1.22
    18
    19      - uses: actions/cache@v2
    20        with:
    21          path: ~/go/pkg/mod
    22          key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
    23          restore-keys: |
    24            ${{ runner.os }}-go-
    25
    26      - name: Benchmark sonic
    27        run: sh scripts/bench-arm.sh

View as plain text