Skip to content

Commit 0e73eca

Browse files
committed
Add github action for windows build
1 parent 33ce67f commit 0e73eca

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/build.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Build
2+
on: [push]
3+
jobs:
4+
name: Windows build
5+
runs-on: windows-latest
6+
steps:
7+
- name: Checkout repo
8+
uses: actions/checkout@v1
9+
- name: Checkout submodules
10+
run: git submodule update --init --recursive
11+
- name: vcpkg
12+
uses: uses: lukka/run-vcpkg@v0
13+
with:
14+
vcpkgArguments: '@${{ github.workspace }}/build.windows'
15+
- name: cmake
16+
run: cmake -DCMAKE_TOOLCHAIN_FILE=${{env.VCPKG_INSTALLATION_ROOT}}/scripts/buildsystems/vcpkg.cmake -G "Visual Studio 16 2019" -A x64 .
17+
- name: MSBuild
18+
run: msbuild USC.sln /m /verbosity:minimal

0 commit comments

Comments
 (0)