-
Notifications
You must be signed in to change notification settings - Fork 12
39 lines (39 loc) · 1.15 KB
/
bench_ec2_all.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Bench EC2
on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
branches: ["main"]
types: [ "labeled" ]
jobs:
bench-gv2:
name: Graviton2
permissions:
contents: 'read'
id-token: 'write'
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_id: ami-096ea6a12ea24a797
archflags: -mcpu=cortex-a76 -march=armv8.2-a
cflags: -DFORCE_AARCH64
store_results: 'true'
name: Graviton2
secrets: inherit
bench-gv3:
name: Graviton3
permissions:
contents: 'read'
id-token: 'write'
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_id: ami-096ea6a12ea24a797
archflags: -mcpu=neoverse-v1 -march=armv8.4-a
cflags: -DFORCE_AARCH64
store_results: 'true'
name: Graviton3
secrets: inherit