Skip to content

Commit

Permalink
Add github action for windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Drewol committed Feb 20, 2020
1 parent 33ce67f commit 0e73eca
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build
on: [push]
jobs:
name: Windows build
runs-on: windows-latest
steps:
- name: Checkout repo
uses: actions/checkout@v1
- name: Checkout submodules
run: git submodule update --init --recursive
- name: vcpkg
uses: uses: lukka/run-vcpkg@v0
with:
vcpkgArguments: '@${{ github.workspace }}/build.windows'
- name: cmake
run: cmake -DCMAKE_TOOLCHAIN_FILE=${{env.VCPKG_INSTALLATION_ROOT}}/scripts/buildsystems/vcpkg.cmake -G "Visual Studio 16 2019" -A x64 .
- name: MSBuild
run: msbuild USC.sln /m /verbosity:minimal

0 comments on commit 0e73eca

Please sign in to comment.