From ef409b1373518792b346864e8e823450a36150c7 Mon Sep 17 00:00:00 2001 From: Doug Arcuri Date: Fri, 6 May 2022 10:17:02 -0400 Subject: [PATCH] Enable Windows Github actions --- .github/workflows/.github.yml | 27 +++++++++++++++++++++++++-- hlbsp/hlbsp.vcxproj | 3 +++ hlcsg/hlcsg.vcxproj | 3 +++ hlrad/hlrad.vcxproj | 3 +++ hlvis/hlvis.vcxproj | 3 +++ ripent/ripent.vcxproj | 3 +++ 6 files changed, 40 insertions(+), 2 deletions(-) diff --git a/.github/workflows/.github.yml b/.github/workflows/.github.yml index 8aa9dff..0835983 100644 --- a/.github/workflows/.github.yml +++ b/.github/workflows/.github.yml @@ -3,7 +3,7 @@ name: build on: [push, pull_request] jobs: - build: + linux_builds: runs-on: ${{ matrix.os }} strategy: matrix: @@ -13,7 +13,30 @@ jobs: CXX: ${{ matrix.cxx }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Build run: | make + + windows_build: + runs-on: windows-latest + + env: + SOLUTION_FILE_PATH: . + BUILD_CONFIGURATION: Release + + steps: + - uses: actions/checkout@v3 + + - name: Add MSBuild to PATH + uses: microsoft/setup-msbuild@v1.1 + + - name: Build vhlt Windows tools + working-directory: ${{env.GITHUB_WORKSPACE}} + run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} + + - name: Archive vhlt Windows tools + uses: actions/upload-artifact@v3 + with: + name: vhlt-windows-tools + path: D:\a\vhlt\bin\* diff --git a/hlbsp/hlbsp.vcxproj b/hlbsp/hlbsp.vcxproj index 399b285..91ec0c9 100644 --- a/hlbsp/hlbsp.vcxproj +++ b/hlbsp/hlbsp.vcxproj @@ -176,4 +176,7 @@ + + + \ No newline at end of file diff --git a/hlcsg/hlcsg.vcxproj b/hlcsg/hlcsg.vcxproj index e1de03e..b813888 100644 --- a/hlcsg/hlcsg.vcxproj +++ b/hlcsg/hlcsg.vcxproj @@ -180,4 +180,7 @@ + + + \ No newline at end of file diff --git a/hlrad/hlrad.vcxproj b/hlrad/hlrad.vcxproj index 039ee9e..8a1469d 100644 --- a/hlrad/hlrad.vcxproj +++ b/hlrad/hlrad.vcxproj @@ -183,4 +183,7 @@ + + + \ No newline at end of file diff --git a/hlvis/hlvis.vcxproj b/hlvis/hlvis.vcxproj index fe0ae62..f380430 100644 --- a/hlvis/hlvis.vcxproj +++ b/hlvis/hlvis.vcxproj @@ -171,4 +171,7 @@ + + + \ No newline at end of file diff --git a/ripent/ripent.vcxproj b/ripent/ripent.vcxproj index 9c39fa4..3fabbf5 100644 --- a/ripent/ripent.vcxproj +++ b/ripent/ripent.vcxproj @@ -169,4 +169,7 @@ + + + \ No newline at end of file