Skip to content

bench-ec2-any

bench-ec2-any #62

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0
name: bench-ec2-any
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_id:
description: AMI ID
default: ami-096ea6a12ea24a797
cflags:
description: Custom CFLAGS for compilation
default:
archflags:
description: Custom ARCH flags for compilation
default: -mcpu=cortex-a76 -march=armv8.2-a
store_results:
description: Indicates if results should be pushed to github pages
type: boolean
default: false
always_terminate:
description: Indicates if EC2 instance should always be terminated
type: boolean
default: true
bench_extra_args:
description: Additional command line to be appended to `tests bench` script
default: ''
jobs:
bench-ec2-any:
name: Ad-hoc benchmark on $${{ inputs.ec2_instance_type }}
uses: ./.github/workflows/bench_ec2_reusable.yml

Check failure on line 36 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. In .github/workflows/bench_ec2_any.yml (Line: 36, Col: 11): Error from called workflow pq-code-package/mlkem-c-aarch64/.github/workflows/bench_ec2_reusable.yml@1b2c5bd33f42b03fa102e9d7e4902af7eddf3870 (Line: 85, Col: 19): Unrecognized named-value: 'nputs'. Located at position 1 within expression: nputs.cflags
with:
ec2_instance_type: ${{ inputs.ec2_instance_type }}
ec2_ami_id: ${{ inputs.ec2_ami_id }}
cflags: ${{ inputs.cflags }}
archflags: ${{ inputs.archflags }}
name: ${{ inputs.name }}
store_results: ${{ inputs.store_results }}
always_terminate: ${{ inputs.always_terminate }}
bench_extra_args: ${{ inputs.bench_extra_args }}
secrets: inherit