-
Notifications
You must be signed in to change notification settings - Fork 28
71 lines (64 loc) · 2.06 KB
/
main.yml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: CI
on:
schedule:
- cron: '0 15 * * 2' # Tuesday 3PM UTC (8AM PST)
push:
branches: [ main ]
workflow_dispatch:
jobs:
call-runcodegen:
name: Run CodeGen
uses: ./.github/workflows/template-runcodegen.yml
with:
vmImage: windows-2022
call-buildexample:
name: Build Example
strategy:
fail-fast: false
matrix:
exampleName: ['example', 'examplenuget'] # build both examples
uses: ./.github/workflows/template-buildexample.yml
with:
vmImage: windows-2022
exampleName: ${{ matrix.exampleName }}
call-testcli:
name: Test CLI (VS 2022)
strategy:
fail-fast: false
matrix:
rnwVersion: [ '0.71-stable', 'latest'] # test *all* versions that use VS 2022. aka any RNW version >= min in package.json and >= 0.71
useRnwNuGet: [false, true] # test building with both RNW source and RNW NuGet
uses: ./.github/workflows/template-testcli.yml
with:
vmImage: windows-2022
rnwVersion: ${{ matrix.rnwVersion }}
useRnwNuGet: ${{ matrix.useRnwNuGet }}
call-testcli-old:
name: Test CLI (VS 2019)
strategy:
fail-fast: false
matrix:
rnwVersion: ['0.67-stable', '0.68-stable', '0.69-stable', '0.70-stable'] # test *all* versions that use VS 2019. aka any RNW version >= min in package.json and < 0.71
useRnwNuGet: [false, true] # test building with both RNW source and RNW NuGet
uses: ./.github/workflows/template-testcli.yml
with:
vmImage: windows-2019
rnwVersion: ${{ matrix.rnwVersion }}
useRnwNuGet: ${{ matrix.useRnwNuGet }}
call-buildnpmpackage:
name: Build NPM Package
uses: ./.github/workflows/template-buildnpmpackage.yml
with:
vmImage: windows-2022
call-buildrnx:
name: Build RNX
strategy:
fail-fast: false
matrix:
configuration: ['Debug', 'Release']
platform: ['x64']
uses: ./.github/workflows/template-buildrnx.yml
with:
vmImage: windows-2022
configuration: ${{ matrix.configuration }}
platform: ${{ matrix.platform }}