Skip to content

Commit 75baca8

Browse files
authored
clean up msbuild.yml
1 parent 4e7e8af commit 75baca8

File tree

1 file changed

+3
-25
lines changed

1 file changed

+3
-25
lines changed

.github/workflows/msbuild.yml

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ name: MSBuild
88
on:
99
workflow_dispatch:
1010
push:
11-
branches: [ "master", "msvc" ]
11+
branches: [ "master", "linux", "msvc" ]
1212
pull_request:
13-
branches: [ "master", "msvc" ]
13+
branches: [ "master", "linux", "msvc" ]
1414

1515
env:
1616
# Path to the solution file relative to the root of the project.
@@ -30,43 +30,21 @@ jobs:
3030

3131
steps:
3232
- uses: actions/checkout@v4
33-
34-
#- uses: libsdl-org/setup-sdl@main
35-
# id: sdl
36-
# with:
37-
# install-linux-dependencies: true
38-
# version: 2-latest
39-
# version-sdl-image: 2-latest
40-
#- name: debug info
41-
#run: cmake --version
42-
43-
#- name: VS edition
44-
#run: dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\"
45-
46-
#- name: invoke cli command promp
47-
#run: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
48-
#run: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat"
49-
33+
5034
- name: Download SDL2 development libraries
5135
run: Invoke-WebRequest https://github.com/libsdl-org/SDL/releases/download/release-2.32.2/SDL2-devel-2.32.2-VC.zip -OutFile C:\SDL2-dev-libs-win.zip
52-
5336
- name: Extract SDL2 libraries
5437
run: 7z x "C:\SDL2-dev-libs-win.zip" -oD:\a\YoAudio\YoAudio\SDL2-unzipped
55-
5638
- name: Copy SDL2 libraries to ./dependencies/SDL2/
5739
run: xcopy /s /e D:\a\YoAudio\YoAudio\SDL2-unzipped\SDL2-2.32.2 dependencies\SDL2
58-
5940
- name: Add MSBuild to PATH
6041
uses: microsoft/[email protected]
61-
6242
- name: Pull git-submodules
6343
working-directory: ${{env.GITHUB_WORKSPACE}}
6444
run: git submodule update --init --recursive --remote
65-
6645
- name: Run CMake to setup project
6746
working-directory: ${{env.GITHUB_WORKSPACE}}
6847
run: cmake -G "Visual Studio 17 2022" .
69-
7048
- name: Build
7149
working-directory: ${{env.GITHUB_WORKSPACE}}
7250
# Add additional options to the MSBuild command line here (like platform or verbosity level).

0 commit comments

Comments
 (0)