Skip to content

Commit 5850f7d

Browse files
Use ARM64 natively
1 parent 005f025 commit 5850f7d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/platforms.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ jobs:
88

99
linux:
1010
name: Linux - ${{ matrix.arch.name }} - .NET ${{ matrix.dotnet }}
11-
runs-on: ubuntu-latest
1211

1312
strategy:
1413
fail-fast: false
@@ -26,7 +25,10 @@ jobs:
2625
- name: arm64
2726
runtime: linux-arm64
2827
platform: linux/arm64/v8
29-
qemu: true
28+
qemu: false # ← changed to false to use native ARM64 runner
29+
30+
# Conditional runs-on depending on architecture
31+
runs-on: ${{ matrix.arch.name == 'arm64' && 'ubuntu-22.04-arm64' || 'ubuntu-latest' }}
3032

3133
steps:
3234
- name: Checkout source
@@ -58,7 +60,6 @@ jobs:
5860
bash -c "dotnet test Testing/Acceptance/GenHTTP.Testing.Acceptance.csproj -c Release -f net${{ matrix.dotnet }}.0"
5961
else
6062
dotnet test Testing/Acceptance/GenHTTP.Testing.Acceptance.csproj -c Release -f net${{ matrix.dotnet }}.0
61-
fi
6263
6364
windows:
6465
name: Windows – x64 - .NET ${{ matrix.dotnet }}

0 commit comments

Comments
 (0)