Skip to content

Commit 4b12919

Browse files
All in one?
1 parent e607593 commit 4b12919

File tree

2 files changed

+131
-139
lines changed

2 files changed

+131
-139
lines changed

.github/workflows/build.yml

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [ main ]
66

77
jobs:
8+
89
build:
910

1011
name: Test & Coverage
@@ -49,3 +50,133 @@ jobs:
4950
- name: End scan
5051
if: env.SONAR_TOKEN != null && env.SONAR_TOKEN != ''
5152
run: dotnet sonarscanner end /d:sonar.token="$SONAR_TOKEN"
53+
54+
verify:
55+
56+
name: ${{ matrix.os.name }} / .NET ${{ matrix.dotnet }} / ${{ matrix.arch }}
57+
58+
needs: build
59+
60+
runs-on: ${{ matrix.os.runs-on }}
61+
62+
env:
63+
TEST_ENGINE: Internal
64+
65+
strategy:
66+
fail-fast: false
67+
matrix:
68+
include:
69+
70+
# Linux x64
71+
- os:
72+
name: 🐧
73+
runs-on: ubuntu-latest
74+
arch: x64
75+
runtime: linux-x64
76+
platform: linux/amd64
77+
dotnet: 8.0
78+
- os:
79+
name: 🐧
80+
runs-on: ubuntu-latest
81+
arch: x64
82+
runtime: linux-x64
83+
platform: linux/amd64
84+
dotnet: 9.0
85+
86+
# Linux arm64
87+
- os:
88+
name: 🐧
89+
runs-on: ubuntu-22.04-arm
90+
arch: arm64
91+
runtime: linux-arm64
92+
platform: linux/arm64/v8
93+
dotnet: 8.0
94+
- os:
95+
name: 🐧
96+
runs-on: ubuntu-22.04-arm
97+
arch: arm64
98+
runtime: linux-arm64
99+
platform: linux/arm64/v8
100+
dotnet: 9.0
101+
102+
# Windows x64
103+
- os:
104+
name: 🪟
105+
runs-on: windows-latest
106+
arch: x64
107+
runtime: win-x64
108+
platform: windows/amd64
109+
dotnet: 8.0
110+
- os:
111+
name: 🪟
112+
runs-on: windows-latest
113+
arch: x64
114+
runtime: win-x64
115+
platform: windows/amd64
116+
dotnet: 9.0
117+
118+
# Windows arm64
119+
- os:
120+
name: 🪟
121+
runs-on: windows-latest
122+
arch: arm64
123+
runtime: win-arm64
124+
platform: windows/arm64
125+
dotnet: 8.0
126+
- os:
127+
name: 🪟
128+
runs-on: windows-latest
129+
arch: arm64
130+
runtime: win-arm64
131+
platform: windows/arm64
132+
dotnet: 9.0
133+
134+
# macOS x64
135+
- os:
136+
name: 🍎
137+
runs-on: macos-15-intel
138+
arch: x64
139+
runtime: osx-x64
140+
platform: macos/amd64
141+
dotnet: 8.0
142+
- os:
143+
name: 🍎
144+
runs-on: macos-15-intel
145+
arch: x64
146+
runtime: osx-x64
147+
platform: macos/amd64
148+
dotnet: 9.0
149+
150+
# macOS arm64
151+
- os:
152+
name: 🍎
153+
runs-on: macos-15
154+
arch: arm64
155+
runtime: osx-arm64
156+
platform: macos/arm64
157+
dotnet: 8.0
158+
- os:
159+
name: 🍎
160+
runs-on: macos-15
161+
arch: arm64
162+
runtime: osx-arm64
163+
platform: macos/arm64
164+
dotnet: 9.0
165+
166+
steps:
167+
- name: Checkout source
168+
uses: actions/checkout@v4
169+
170+
- name: Setup .NET SDK ${{ matrix.dotnet }}
171+
uses: actions/setup-dotnet@v4
172+
with:
173+
dotnet-version: ${{ matrix.dotnet }}
174+
175+
- name: Setup .NET 9 (for ARM64 on .NET 8)
176+
if: matrix.runtime == 'linux-arm64' && matrix.arch == 'arm64' && matrix.dotnet == '8.0'
177+
uses: actions/setup-dotnet@v4
178+
with:
179+
dotnet-version: 9.0
180+
181+
- name: Build & Test (${{ matrix.runtime }})
182+
run: dotnet test Testing/Acceptance/GenHTTP.Testing.Acceptance.csproj -c Release -f net${{ matrix.dotnet }}.0

.github/workflows/platforms.yml

Lines changed: 0 additions & 139 deletions
This file was deleted.

0 commit comments

Comments
 (0)