-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0fdf33a
commit 1d38c00
Showing
3 changed files
with
20 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,40 +30,21 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
rnwVersion: [ 'latest', '0.72-stable', '0.71-stable'] # test *all* versions that use VS 2022. aka any RNW version >= min in package.json and >= 0.71 | ||
rnwVersion: [ '0-73-stable', '0.72-stable', '0.71-stable'] # 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 | ||
include: | ||
- rnwVersion: 'latest' | ||
rnTemplate: 'react-native@latest' | ||
- rnwVersion: '0-73-stable' | ||
rnVersion: 'react-native@0-73-stable' | ||
- rnwVersion: '0.72-stable' | ||
rnTemplate: '[email protected]' | ||
rnVersion: '[email protected]' | ||
- rnwVersion: '0.71-stable' | ||
rnTemplate: '[email protected]' | ||
rnVersion: '[email protected]' | ||
uses: ./.github/workflows/template-testcli.yml | ||
with: | ||
vmImage: windows-2022 | ||
rnwVersion: ${{ matrix.rnwVersion }} | ||
useRnwNuGet: ${{ matrix.useRnwNuGet }} | ||
rnTemplate: ${{ matrix.rnTemplate }} | ||
|
||
call-testcli-old: | ||
name: Test CLI (VS 2019) | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
rnwVersion: ['0.70-stable', '0.69-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 | ||
include: | ||
- rnwVersion: '0.70-stable' | ||
rnTemplate: '[email protected]' | ||
- rnwVersion: '0.69-stable' | ||
rnTemplate: '[email protected]' | ||
uses: ./.github/workflows/template-testcli.yml | ||
with: | ||
vmImage: windows-2019 | ||
rnwVersion: ${{ matrix.rnwVersion }} | ||
useRnwNuGet: ${{ matrix.useRnwNuGet }} | ||
rnTemplate: ${{ matrix.rnTemplate }} | ||
rnVersion: ${{ matrix.rnVersion }} | ||
|
||
call-buildnpmpackage: | ||
name: Build NPM Package | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,37 +42,19 @@ jobs: | |
strategy: | ||
fail-fast: true | ||
matrix: | ||
rnwVersion: ['latest', '0.72-stable'] # test *key* versions that use VS 2022. aka any RNW version >= 0.71 used by supported partners and/or Active/Maintenance from https://microsoft.github.io/react-native-windows/support | ||
rnwVersion: ['0-73-stable', '0.72-stable'] # test *key* versions that use VS 2022. aka any RNW version >= 0.71 used by supported partners and/or Active/Maintenance from https://microsoft.github.io/react-native-windows/support | ||
useRnwNuGet: [false, true] # test building with both RNW source and RNW NuGet | ||
include: | ||
- rnwVersion: 'latest' | ||
rnTemplate: 'react-native@latest' | ||
- rnwVersion: '0-73-stable' | ||
rnVersion: '0-73-stable' | ||
- rnwVersion: '0.72-stable' | ||
rnTemplate: 'react-native@0.72-stable' | ||
rnVersion: '0.72-stable' | ||
uses: ./.github/workflows/template-testcli.yml | ||
with: | ||
vmImage: windows-2022 | ||
rnwVersion: ${{ matrix.rnwVersion }} | ||
useRnwNuGet: ${{ matrix.useRnwNuGet }} | ||
rnTemplate: ${{ matrix.rnTemplate }} | ||
|
||
call-testcli-old: | ||
name: Test CLI (VS 2019) | ||
needs: setupcheck | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
rnwVersion: ['0.69-stable'] # test *key* versions that use VS 2019. aka any RNW version < 0.71 that are used by supported partners | ||
useRnwNuGet: [false, true] # test building with both RNW source and RNW NuGet | ||
include: | ||
- rnwVersion: '0.69-stable' | ||
rnTemplate: '[email protected]' | ||
uses: ./.github/workflows/template-testcli.yml | ||
with: | ||
vmImage: windows-2019 | ||
rnwVersion: ${{ matrix.rnwVersion }} | ||
useRnwNuGet: ${{ matrix.useRnwNuGet }} | ||
rnTemplate: ${{ matrix.rnTemplate }} | ||
rnVersion: ${{ matrix.rnVersion }} | ||
|
||
call-buildnpmpackage: | ||
name: Build NPM Package | ||
|
@@ -98,6 +80,6 @@ jobs: | |
prcheck: | ||
name: Successful PR Check | ||
runs-on: ubuntu-latest | ||
needs: [setupcheck, call-runcodegen, call-testcli, call-testcli-old, call-buildnpmpackage, call-buildrnx] | ||
needs: [setupcheck, call-runcodegen, call-testcli, call-buildnpmpackage, call-buildrnx] | ||
steps: | ||
- uses: actions/checkout@v3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters