-
Notifications
You must be signed in to change notification settings - Fork 19
47 lines (39 loc) · 1.05 KB
/
example-test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Example Tests
on:
workflow_dispatch:
pull_request:
jobs:
acceptance-test-msbuild:
runs-on: windows-2022
strategy:
matrix:
test_suite:
- name: OutProc
path: outproc
- name: 32 Bit
path: 32bit
- name: C++/CLI
path: cppcli
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Setup .NET (x86)
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
env:
PROCESSOR_ARCHITECTURE: x86
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release
- uses: ilammy/msvc-dev-cmd@v1
- name: Run ${{ matrix.test_suite.Name }} Acceptance test
run: .\msbuild-acceptance-test.cmd
working-directory: .\examples\${{ matrix.test_suite.path }}\scripts
continue-on-error: false