Skip to content

Commit

Permalink
update bench matrix jobs name
Browse files Browse the repository at this point in the history
Signed-off-by: Thing-han, Lim <[email protected]>
  • Loading branch information
potsrevennil committed Sep 12, 2024
1 parent 489959c commit 6896e1a
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/bench_ec2_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,42 +10,50 @@ on:
types: [ "labeled" ]
jobs:
bench-gv2:
name: Graviton2
name: Graviton2 ${{ matrix.opt.name }}
permissions:
contents: 'read'
id-token: 'write'
strategy:
fail-fast: false
matrix:
opt: [true, false]
opt:
- name: opt
value: true
- name: non-opt
value: false
uses: ./.github/workflows/bench_ec2_reusable.yml
if: github.repository_owner == 'pq-code-package' && (github.event.label.name == 'benchmark' || github.ref == 'refs/heads/main')
with:
ec2_instance_type: t4g.small
ec2_ami: ubuntu-latest (aarch64)
archflags: -mcpu=cortex-a76 -march=armv8.2-a
cflags: -DFORCE_AARCH64
opt: ${{ matrix.opt }}
opt: ${{ matrix.opt.value }}
store_results: true
name: Graviton2
secrets: inherit
bench-gv3:
name: Graviton3
name: Graviton3 ${{ matrix.opt.name }}
permissions:
contents: 'read'
id-token: 'write'
strategy:
fail-fast: false
matrix:
opt: [true, false]
opt:
- name: opt
value: true
- name: non-opt
value: false
uses: ./.github/workflows/bench_ec2_reusable.yml
if: github.repository_owner == 'pq-code-package' && (github.event.label.name == 'benchmark' || github.ref == 'refs/heads/main')
with:
ec2_instance_type: c7g.medium
ec2_ami: ubuntu-latest (aarch64)
archflags: -mcpu=neoverse-v1 -march=armv8.4-a
cflags: -DFORCE_AARCH64
opt: ${{ matrix.opt }}
opt: ${{ matrix.opt.value }}
store_results: true
name: Graviton3
secrets: inherit

0 comments on commit 6896e1a

Please sign in to comment.