Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
tyanmahou committed Dec 7, 2023
1 parent 0a4d44d commit 2e52fd3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: build
name: build

on: [push]
env:
app-path: ./Test/App
sln-name: ./Test.sln
version: 0.6.13
jobs:
build:
name: MSBuild
Expand All @@ -16,18 +17,18 @@ jobs:
- name: Setup MSBuild.exe
uses: microsoft/[email protected]

# OpenSiv3D 0.4.3 セットアップ
# OpenSiv3D セットアップ
- 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:"
bitsadmin /transfer s3d-download "https://siv3d.jp/downloads/Siv3D/manual/${{ env.version }}/OpenSiv3D_SDK_${{ env.version }}.zip" "C:\OpenSiv3D_SDK.zip"
Expand-Archive -Path "C:\OpenSiv3D_SDK.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)
SIV3D_0_6_13: C:\OpenSiv3D_SDK
# ビルド結果をアップロード
- name: Upload artifact
uses: actions/upload-artifact@v1
Expand Down
14 changes: 7 additions & 7 deletions Test.sln
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30717.126
# Visual Studio Version 17
VisualStudioVersion = 17.8.34316.72
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test", "Test\Test.vcxproj", "{2D52A175-798C-41DB-9C78-558104F4329E}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test", "Test\Test.vcxproj", "{F39D78DB-7D17-4990-A4D4-EA7615C95826}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2D52A175-798C-41DB-9C78-558104F4329E}.Debug|x64.ActiveCfg = Debug|x64
{2D52A175-798C-41DB-9C78-558104F4329E}.Debug|x64.Build.0 = Debug|x64
{2D52A175-798C-41DB-9C78-558104F4329E}.Release|x64.ActiveCfg = Release|x64
{2D52A175-798C-41DB-9C78-558104F4329E}.Release|x64.Build.0 = Release|x64
{F39D78DB-7D17-4990-A4D4-EA7615C95826}.Debug|x64.ActiveCfg = Debug|x64
{F39D78DB-7D17-4990-A4D4-EA7615C95826}.Debug|x64.Build.0 = Debug|x64
{F39D78DB-7D17-4990-A4D4-EA7615C95826}.Release|x64.ActiveCfg = Release|x64
{F39D78DB-7D17-4990-A4D4-EA7615C95826}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down

0 comments on commit 2e52fd3

Please sign in to comment.