Skip to content

Move reusable workflows into subdirectory #1

Move reusable workflows into subdirectory

Move reusable workflows into subdirectory #1

Workflow file for this run

name: ci-ec2-any
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_id:
description: AMI ID
default: ami-096ea6a12ea24a797
cflags:
description: Custom CFLAGS for compilation
default:
cross-prefix:
description: Cross-compilation binary prefix, if any
default: ' '
always_terminate:
description: Indicates if instance should always be terminated, even on failure
default: 'true'
functest:
default: true
lint:
default: true
cbmc:
default: false
jobs:
ci-ec2-any:
name: Ad-hoc CI on $${{ github.event.inputs.ec2_instance_type }}
uses: ./.github/workflows/reusable/ci_ec2_reusable.yml

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

View workflow run for this annotation

GitHub Actions / .github/workflows/ci_ec2_any.yml

Invalid workflow file

invalid value workflow reference: workflows must be defined at the top level of the .github/workflows/ directory
with:
ec2_instance_type: ${{ github.event.inputs.ec2_instance_type }}
ec2_ami_id: ${{ github.event.inputs.ec2_ami_id }}
cflags: ${{ github.event.inputs.cflags }}
crosss-prefix: ${{ github.event.inputs.cross-prefix }}
functest: ${{ github.event.inputs.functest }}
lint: ${{ github.event.inputs.lint }}
cbmc: ${{ github.event.inputs.cbmc }}
secrets: inherit