Skip to content

Commit 0e5c227

Browse files
committed
Added workflow_dispatch for arm regressions, and more general test for runner names containing 'arm'
1 parent df2eb3f commit 0e5c227

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

.github/workflows/regression-arm64.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,20 @@ on:
44
push:
55
branches:
66
- 'fix_regression_arm'
7+
workflow_dispatch:
8+
inputs:
9+
runner:
10+
description: 'ARM runner to use'
11+
default: 'ubuntu-24.04-arm'
12+
options:
13+
- 'ubuntu-22.04-arm'
14+
- 'ubuntu-24.04-arm'
15+
required: true
16+
type: choice
717

818
jobs:
919
build_on_arm64:
1020
name: Run the jobs on Linux ARM64
1121
uses: './.github/workflows/regression.yml'
1222
with:
13-
runner: 'ubuntu-24.04-arm'
23+
runner: ${{ inputs.runner || 'ubuntu-24.04-arm' }}

.github/workflows/regression.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
7777
build_tsan:
7878
name: Build SU2 (tsan)
79-
if: inputs.runner != 'ubuntu-24.04-arm'
79+
if: ${{ !contains(inputs.runner, 'arm') }}
8080
strategy:
8181
fail-fast: false
8282
matrix:
@@ -218,7 +218,7 @@ jobs:
218218
entrypoint: /bin/rm
219219
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
220220
discadj_tape_tests:
221-
if: inputs.runner != 'ubuntu-24.04-arm'
221+
if: ${{ !contains(inputs.runner, 'arm') }}
222222
runs-on: ${{ inputs.runner || 'ubuntu-latest' }}
223223
name: Tape Tests
224224
needs: build
@@ -267,7 +267,7 @@ jobs:
267267
entrypoint: /bin/rm
268268
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
269269
thread_sanitizer_tests:
270-
if: inputs.runner != 'ubuntu-24.04-arm'
270+
if: ${{ !contains(inputs.runner, 'arm') }}
271271
runs-on: ${{ inputs.runner || 'ubuntu-latest' }}
272272
name: Thread Sanitizer Tests
273273
needs: build_tsan

0 commit comments

Comments
 (0)