Skip to content

Commit 8026d7c

Browse files
committed
Setup GitHub Actions for CMake
1 parent 9f71c98 commit 8026d7c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/windows.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,13 @@ jobs:
2222
curl https://www.rarewares.org/files/ogg/oggenc2.88-1.3.7-x64.zip --output oggenc.zip &&
2323
unzip oggenc.zip -d bin/
2424
shell: bash
25+
- name: Configure CMake
26+
run: cmake -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT\scripts\buildsystems\vcpkg.cmake"
2527
- name: Build AV
26-
run: msbuild build\VisualStudio\ArrowVortex.vcxproj /p:Configuration=Release /p:Platform=x64
28+
run: cmake --build build --config Release
29+
- name: Collect into a directory
30+
if: github.ref_name == 'beta'
31+
run: cmake --install build --config Release --prefix ./
2732
- name: Upload artifact
2833
if: github.ref_name == 'beta'
2934
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)