Skip to content

Commit

Permalink
build windows
Browse files Browse the repository at this point in the history
  • Loading branch information
CedricGuillemet committed May 23, 2024
1 parent 22aeec0 commit 2b17028
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,51 @@ jobs:
env:
JAVA_HOME: ${{ env.JAVA_HOME_11_X64 }}

build-windows:
runs-on: windows-2019
strategy:
matrix:
platform: [x86, x64, ARM64]
config: [Debug, Release]
steps:
- name: Support longpaths
run: git config --system core.longpaths true
- name: Checkout Repo
uses: actions/[email protected]
with:
submodules: 'true'
- name: Setup MSBuild
uses: microsoft/[email protected]
- name: Setup Node 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Setup NuGet
uses: nuget/setup-nuget@v1
with:
nuget-version: '5.x'
- name: NPM Install (Playground)
run: npm install
working-directory: ./Apps/Playground
- name: NPM Install (React Native ${{ env.BRN_Version }})
run: npm run select ${{ env.BRN_Version }}
working-directory: ./Apps/Playground
- name: NPM Install (Binary Package)
run: npm install
working-directory: ./Package
- name: Gulp Setup Project ${{ matrix.platform }} (Windows)
run: npx gulp makeUWPProject${{ matrix.platform }}
working-directory: ./Package
- name: Gulp Build ${{ matrix.platform }} ${{ matrix.config }} (Windows)
run: npx gulp buildUWP${{ matrix.platform }}${{ matrix.config }}
working-directory: ./Package
- name: Gulp NuGet Restore Playground
run: npx gulp nugetRestoreUWPPlayground
working-directory: ./Package
- name: Gulp Build ${{ matrix.platform }} ${{ matrix.config }} Playground (Windows)
run: npx gulp buildUWPPlayground${{ matrix.platform }}${{ matrix.config }}
working-directory: ./Package

build-windows-rnta:
runs-on: windows-2019
steps:
Expand Down

0 comments on commit 2b17028

Please sign in to comment.