Skip to content

Commit a22de0f

Browse files
committed
Setup GitHub Actions for CMake
1 parent 9850464 commit a22de0f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/windows.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,16 @@ 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: >
27+
cmake -Bbuild -DCMAKE_BUILD_TYPE=Release
28+
-DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT\scripts\buildsystems\vcpkg.cmake"
29+
-DVCPKG_TARGET_TRIPLET=x64-windows-static-md
2530
- name: Build AV
26-
run: msbuild build\VisualStudio\ArrowVortex.vcxproj /p:Configuration=Release /p:Platform=x64
31+
run: cmake --build build --config Release
32+
- name: Collect into a directory
33+
if: github.ref_name == 'beta'
34+
run: cmake --install build --config Release --prefix ./
2735
- name: Upload artifact
2836
if: github.ref_name == 'beta'
2937
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)