From 06c47fac851879aafd8a8fe768098d28118d54a3 Mon Sep 17 00:00:00 2001 From: xiaosong yang Date: Tue, 12 Nov 2024 10:59:34 -0800 Subject: [PATCH] add more platforms to benchmark github action Change-Id: Ied1120998211f38dbaf40393a6b69f755768af66 --- .github/workflows/benchmark-sanity.yaml | 28 +++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/.github/workflows/benchmark-sanity.yaml b/.github/workflows/benchmark-sanity.yaml index a4fac67..5c0c40c 100644 --- a/.github/workflows/benchmark-sanity.yaml +++ b/.github/workflows/benchmark-sanity.yaml @@ -3,7 +3,7 @@ name: benchmark sanity check on: push: branches: - - main + - git-action-test paths-ignore: - '**.md' - '**.png' @@ -14,7 +14,31 @@ env: jobs: benchmark: - runs-on: ubuntu-latest + strategy: + matrix: + target: [ + x86_64-unknown-linux-gnu, + # i686-unknown-linux-gnu, + aarch64-unknown-linux-gnu, + armv7-unknown-linux-gnueabihf, + riscv64gc-unknown-linux-gnu, + s390x-unknown-linux-gnu, + ] + include: + - target: x86_64-unknown-linux-gnu + os: ubuntu-latest + # Disable i686 tests until https://github.com/bytedance/monoio/issues/285 addressed. + # - target: i686-unknown-linux-gnu + # os: ubuntu-latest + - target: aarch64-unknown-linux-gnu + os: ubuntu-latest + - target: armv7-unknown-linux-gnueabihf + os: ubuntu-latest + - target: riscv64gc-unknown-linux-gnu + os: ubuntu-latest + - target: s390x-unknown-linux-gnu + os: ubuntu-latest + runs-on: ${{ matrix.os }} steps: - name: Checkout-Sources uses: actions/checkout@v2