From 080132af5d2256774b092e4364bdc29df220d5f5 Mon Sep 17 00:00:00 2001 From: TG Date: Wed, 26 Mar 2025 06:07:15 +0100 Subject: [PATCH] chore: remove linux-arm from dispatch and add workflow_dispatch trigger Signed-off-by: TG --- .github/workflows/dispatch-workflow.yml | 11 ----------- .github/workflows/linux-arm.yml | 18 +++++++++++++++--- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/dispatch-workflow.yml b/.github/workflows/dispatch-workflow.yml index 6e27ad039c6..8688b96d76c 100644 --- a/.github/workflows/dispatch-workflow.yml +++ b/.github/workflows/dispatch-workflow.yml @@ -85,14 +85,3 @@ jobs: with: profile: ${{ inputs.profile }} bencher: ${{ inputs.bencher }} - - linux-arm: - if: ${{ inputs.workflow == 'linux-arm' }} - name: Linux ARM - uses: ./.github/workflows/linux-arm.yml - secrets: inherit - with: - profile: ${{ inputs.profile }} - unit-tests: ${{ inputs.unit-tests }} - build-libservo: ${{ inputs.unit-tests }} - bencher: ${{ inputs.bencher }} diff --git a/.github/workflows/linux-arm.yml b/.github/workflows/linux-arm.yml index 8b6c7396328..1ba219614cb 100644 --- a/.github/workflows/linux-arm.yml +++ b/.github/workflows/linux-arm.yml @@ -15,13 +15,26 @@ on: bencher: required: true type: boolean - + workflow_dispatch: + inputs: + profile: + required: true + type: string + unit-tests: + required: true + type: boolean + build-libservo: + required: true + type: boolean + bencher: + required: true + type: boolean jobs: linux-arm: name: Linux Arm runs-on: ubuntu-24.04-arm - steps: + steps:i - name: Checkout repository uses: actions/checkout@v4 with: @@ -58,5 +71,4 @@ jobs: - name: Run Bencher if: ${{ inputs.bencher }} run: | - # Replace with the command to run your bencher tests ./mach test-bencher --release -- target=aarch64-unknown-linux-gnu