-
Notifications
You must be signed in to change notification settings - Fork 1
54 lines (44 loc) · 1.91 KB
/
Win-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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Windows-Build
on:
push: {}
pull_request: {}
jobs:
Windows:
runs-on: windows-latest
env:
VS_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\
MSBUILD_PATH: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
submodules: true
# - name: Install Dependencies
# shell: powershell
# run: |
# Invoke-WebRequest -Uri "https://github.com/org-Stupefy/Victoria/tree/master/thirdparty/premake/bin/premake5.exe" -OutFile premake5.exe
# Expand-Archive -Path premake5.exe
- name: Generating Dependencies
shell: cmd
run: |
cd scripts
call "%VS_PATH%\VC\Auxiliary\Build\vcvars64.bat"
.\Win-GenProjects.bat /W4
- name: Building Glad
shell: cmd
run: '"%MSBUILD_PATH%\MSBuild.exe" Victoria/thirdparty/Glad/Glad.vcxproj /p:Platform=x64 /p:Configuration=Release'
- name: Building GLFW
shell: cmd
run: '"%MSBUILD_PATH%\MSBuild.exe" Victoria/thirdparty/GLFW/GLFW.vcxproj /p:Platform=x64 /p:Configuration=Release'
- name: Building ImGui
shell: cmd
run: '"%MSBUILD_PATH%\MSBuild.exe" Victoria/thirdparty/imgui/ImGui.vcxproj /p:Platform=x64 /p:Configuration=Release'
- name: Building Yaml-Cpp
shell: cmd
run: '"%MSBUILD_PATH%\MSBuild.exe" Victoria/thirdparty/yaml-cpp/yaml-cpp.vcxproj /p:Platform=x64 /p:Configuration=Release'
- name: Building Victoria
shell: cmd
run: '"%MSBUILD_PATH%\MSBuild.exe" Victoria/Victoria.vcxproj /p:Platform=x64 /p:Configuration=Release'
- name: Building BoostRocket
shell: cmd
run: '"%MSBUILD_PATH%\MSBuild.exe" BoostRocket/BoostRocket.vcxproj /p:Platform=x64 /p:Configuration=Release'