Skip to content

Add cpucap.h header and detect AArch64 systems #64

Add cpucap.h header and detect AArch64 systems

Add cpucap.h header and detect AArch64 systems #64

Workflow file for this run

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

Check failure on line 15 in .github/workflows/bench_ec2_all.yml

View workflow run for this annotation

GitHub Actions / Bench EC2

Invalid workflow file

The workflow is not valid. In .github/workflows/bench_ec2_all.yml (Line: 15, Col: 11): Error from called workflow pq-code-package/mlkem-c-aarch64/.github/workflows/bench_ec2_reusable.yml@1590c27172b11118e435258099e54b0d2b094e1e (Line: 85, Col: 17): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.AWS_GITHUB_TOKEN
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