Skip to content

ci-ec2-any

ci-ec2-any #38

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0
name: ci-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 run 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
default: ami-096ea6a12ea24a797
cflags:
description: Custom CFLAGS for compilation
default:
verbose:
description: Determine for the log verbosity
type: boolean
default: false
compile_mode:
description: Indicates the desired compilation mode (native or cross compilation), or `all` to perform both types, or `none` to skip compilation and functional testing.
type: choice
options:
- all
- native
- cross
- none
default: all
opt:
description: Determine whether to compile and run the opt/no_opt binary or both.
type: choice
options:
- all
- opt
- no_opt
default: all
cbmc:
description: Whether to run CBMC proofs
type: boolean
default: false
jobs:
ci-ec2-any:

Check failure on line 55 in .github/workflows/ci_ec2_any.yml

View workflow run for this annotation

GitHub Actions / ci-ec2-any

Invalid workflow file

The workflow is not valid. .github/workflows/ci_ec2_any.yml (Line: 55, Col: 3): Error calling workflow 'pq-code-package/mlkem-native/.github/workflows/ci_ec2_reusable.yml@79dabec536e5022d9bffb1918613f928b92c4323'. The nested job 'start-ec2-runner' is requesting 'id-token: write', but is only allowed 'id-token: none'. .github/workflows/ci_ec2_any.yml (Line: 55, Col: 3): Error calling workflow 'pq-code-package/mlkem-native/.github/workflows/ci_ec2_reusable.yml@79dabec536e5022d9bffb1918613f928b92c4323'. The nested job 'stop-ec2-runner' is requesting 'id-token: write', but is only allowed 'id-token: none'.
name: Ad-hoc CI on ${{ inputs.ec2_instance_type }}
uses: ./.github/workflows/ci_ec2_reusable.yml
with:
name: ${{ inputs.name }}
ec2_instance_type: ${{ inputs.ec2_instance_type }}
ec2_ami: ${{ inputs.ec2_ami }}
ec2_ami_id: ${{ inputs.ec2_ami_id }}
cflags: ${{ inputs.cflags }}
compile_mode: ${{ inputs.compile_mode }}
opt: ${{ inputs.opt }}
functest: ${{ inputs.compile_mode != 'none' }}
kattest: ${{ inputs.compile_mode != 'none' }}
nistkattest: ${{ inputs.compile_mode != 'none' }}
acvptest: ${{ inputs.compile_mode != 'none' }}
lint: true
cbmc: ${{ inputs.cbmc }}
verbose: ${{ inputs.verbose }}
secrets: inherit