Skip to content

bench-ec2-any

bench-ec2-any #136

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0
name: bench-ec2-any
permissions:
contents: read
on:
workflow_dispatch:
inputs:
name:
description: Alternative name of instance
default: Graviton2
ec2_instance_type:
description: Type if EC2 instance to benchmark on
default: t4g.small
ec2_ami:
description: AMI ID
type: choice
options:
- ubuntu-latest (x86_64)
- ubuntu-latest (aarch64)
- ubuntu-latest (custom AMI)
default: ubuntu-latest (aarch64)
ec2_ami_id:
description: AMI ID
required: false
default: ami-096ea6a12ea24a797
cflags:
description: Custom CFLAGS for compilation
default:
archflags:
description: Custom ARCH flags for compilation
default: ''
opt:
description: Run with optimized code if enabled
type: boolean
default: true
bench_extra_args:
description: Additional command line to be appended to `tests bench` script
default: ''
compiler:
description: Compiler to use. When unset, default nix shell is used.
default: ''
additional_packages:
description: Additional packages to install when custom compiler is used.
default: ''
jobs:
bench-ec2-any:

Check failure on line 47 in .github/workflows/bench_ec2_any.yml

View workflow run for this annotation

GitHub Actions / bench-ec2-any

Invalid workflow file

The workflow is not valid. .github/workflows/bench_ec2_any.yml (Line: 47, Col: 3): Error calling workflow 'pq-code-package/mlkem-native/.github/workflows/bench_ec2_reusable.yml@4e62a9eb3740a619daacb9f715f223c25500c83d'. The nested job 'start-ec2-runner' is requesting 'id-token: write', but is only allowed 'id-token: none'. .github/workflows/bench_ec2_any.yml (Line: 47, Col: 3): Error calling workflow 'pq-code-package/mlkem-native/.github/workflows/bench_ec2_reusable.yml@4e62a9eb3740a619daacb9f715f223c25500c83d'. The nested job 'stop-ec2-runner' is requesting 'id-token: write', but is only allowed 'id-token: none'.
name: Ad-hoc benchmark on $${{ inputs.ec2_instance_type }}
uses: ./.github/workflows/bench_ec2_reusable.yml
with:
ec2_instance_type: ${{ inputs.ec2_instance_type }}
ec2_ami: ${{ inputs.ec2_ami }}
ec2_ami_id: ${{ inputs.ec2_ami_id }}
cflags: ${{ inputs.cflags }}
archflags: ${{ inputs.archflags }}
opt: ${{ inputs.opt }}
name: ${{ inputs.name }}
store_results: false
bench_extra_args: ${{ inputs.bench_extra_args }}
compiler: ${{ inputs.compiler }}
additional_packages: ${{ inputs.additional_packages }}
secrets: inherit