-
-
Notifications
You must be signed in to change notification settings - Fork 47
48 lines (38 loc) · 1.31 KB
/
windows_arm_ci.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
name: Windows ARM
# TODO: Run unittest on Native ARM64 Windows11
on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]
jobs:
# Windows(ARM64) + Visual Studio 2022 build
build-windows-arm64-msvc:
runs-on: windows-latest
name: Build for Windows(ARM64, MSVC)
# Use system installed cmake
# https://help.github.com/en/actions/reference/software-installed-on-github-hosted-runners
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Configure
run: |
mkdir build_arm64
cmake -G "Visual Studio 17 2022" -A ARM64 -Bbuild_arm64 -DTINYUSDZ_WITH_EXR=1 -DTINYUSDZ_WITH_TIFF=1 -S.
- name: Build
run: cmake --build build_arm64 --config Release
# Windows(ARM32) + Visual Studio 2022 build
build-windows-arm32-msvc:
runs-on: windows-latest
name: Build for Windows(ARM32, MSVC)
# Use system installed cmake
# https://help.github.com/en/actions/reference/software-installed-on-github-hosted-runners
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Configure
run: |
mkdir build_arm32
cmake -G "Visual Studio 17 2022" -A ARM -Bbuild_arm32 -DTINYUSDZ_WITH_EXR=1 -DTINYUSDZ_WITH_TIFF=1 -S.
- name: Build
run: cmake --build build_arm32 --config Release