- MSYS2+clang18でビルドした実行ファイルが落ちる件に対応 #756
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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@v2 | |
with: | |
name: build-deep-windows_${{ github.run_number }}_${{ github.sha }} | |
path: ./main/build/**/* |