Skip to content

Commit

Permalink
Force compile with VS 2019 for workflow builds (#174)
Browse files Browse the repository at this point in the history
* Set build in github actions to use Visual Studio 2019

* Change the runner to windows-2019
  • Loading branch information
shivaprasad-basavaraj authored Oct 21, 2022
1 parent 86935bb commit 3266590
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/windows_x64_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: windows-latest
runs-on: windows-2019

steps:
- uses: actions/checkout@v2
Expand All @@ -32,7 +32,7 @@ jobs:

- name: Configure CMake
working-directory: ${{runner.workspace}}\grpc-labview\build
run: cmake ..
run: cmake -G "Visual Studio 16 2019" ..

- name: Build
working-directory: ${{runner.workspace}}\grpc-labview\build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows_x86_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:

jobs:
build:
runs-on: windows-latest
runs-on: windows-2019

steps:
- uses: actions/checkout@v2
Expand All @@ -27,7 +27,7 @@ jobs:

- name: Configure CMake
working-directory: ${{runner.workspace}}\grpc-labview\build
run: cmake -A Win32 ..
run: cmake -G "Visual Studio 16 2019" -A Win32 ..

- name: Build
working-directory: ${{runner.workspace}}\grpc-labview\build
Expand Down

0 comments on commit 3266590

Please sign in to comment.