forked from lottie-react-native/lottie-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1.16 KB
/
windows-paper-build.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
name: Windows CI
on: [pull_request]
jobs:
run-windows-tests:
name: Build & run tests
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
name: Checkout Code
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "^16"
cache: "yarn"
- name: Setup NuGet
uses: nuget/setup-nuget@v1
with:
nuget-version: "5.x"
- name: Setup Windows SDKs
- uses: GuillaumeFalourd/setup-windows10-sdk-action@v1.11
with:
sdk-version: 18362
- uses: GuillaumeFalourd/setup-windows10-sdk-action@v1.11
with:
sdk-version: 17763
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1
with:
vs-version: '[16.0,17.0)'
msbuild-architecture: x64
- name: Install node modules
run: yarn install --frozen-lock
- name: Build x64 release
shell: powershell
run: cd ./apps/paper | yarn react-native run-windows --arch x64 --sln ./windows/cppwinrt/Example.sln --proj ./windows/cppwinrt/Example.vcxproj --logging --no-autolink --no-deploy