Skip to content

CI

CI #831

Workflow file for this run

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: ['latest', 'v0.78-stable', 'v0.72-stable'] # test *key* versions that use VS 2022. aka any RNW version >= 0.72 used by supported partners and/or Active/Maintenance from https://microsoft.github.io/react-native-windows/support
uses: ./.github/workflows/template-testcli.yml
with:
vmImage: windows-2022
rnwVersion: ${{ matrix.rnwVersion }}
useRnwWindowsInit: ${{ matrix.rnwVersion == 'v0.72-stable' }}
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 }}