-
-
Notifications
You must be signed in to change notification settings - Fork 140
46 lines (38 loc) · 1.36 KB
/
make-deep-windows.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
# deep-learning windows build
name: Make CI (DeepLearning for Windows)
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
jobs:
build-deep-windows:
# windows-latest = windows-2019 => windows-2022
# https://docs.github.com/ja/actions/using-github-hosted-runners/about-github-hosted-runners
# https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md
# https://github.com/actions/virtual-environments/blob/main/images/win/Windows2022-Readme.md
runs-on: windows-2022
steps:
- uses: nuget/setup-nuget@v1
with:
nuget-version: '5.x'
- uses: microsoft/setup-msbuild@v1
- name: Checkout own repository
uses: actions/checkout@v2
with:
path: main
- name: Install pkg
run: nuget.exe restore YaneuraOu.sln
working-directory: main
- name: make
run: |
MSBuild.exe /t:build /p:Configuration=Release-Deep-ORT-CPU /p:Platform=x64
MSBuild.exe /t:build /p:Configuration=Release-Deep-ORT-DML /p:Platform=x64
MSBuild.exe /t:build /p:Configuration=Release-Deep-ORT-TRT /p:Platform=x64
working-directory: main
# - uses: actions/upload-artifact@v4
# with:
# name: build-deep-windows_${{ github.run_number }}_${{ github.sha }}
# path: ./main/build/**/*