-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 982 Bytes
/
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
name: build
on: [push]
env:
app-path: ./Test/App
sln-name: ./Test.sln
jobs:
build:
name: MSBuild
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
# OpenSiv3D 0.4.3 セットアップ
- name: Setup s3d
run: |
bitsadmin /transfer s3d-download "https://siv3d.jp/downloads/Siv3D/manual/0.4.3/OpenSiv3D_SDK(0.4.3).zip" "C:\OpenSiv3D_SDK(0.4.3).zip"
Expand-Archive -Path "C:\OpenSiv3D_SDK(0.4.3).zip" -DestinationPath "C:"
shell: powershell
# ビルド
- name: MSBuild
run: msbuild ${{env.sln-name}} -p:Configuration=Release;Platform="x64"
shell: cmd
env:
SIV3D_0_4_3: C:\OpenSiv3D_SDK(0.4.3)
# ビルド結果をアップロード
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: build-result
path: ${{env.app-path}}