Skip to content

Commit

Permalink
VS 2017
Browse files Browse the repository at this point in the history
  • Loading branch information
Nir-Az committed Oct 10, 2023
1 parent bf03775 commit a535746
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/VS-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Test VS 2017


on:
push:
pull_request:

env:
WIN_BUILD_DIR: C:/lrs_build

jobs:
simple-test:
name: "simple-test"
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Add msbuild to PATH_
uses: microsoft/[email protected]
with:
vs-version: '15.9'
msbuild-architecture: x64

- name: Build
shell: bash
run: |
mkdir ${{env.WIN_BUILD_DIR}}
LRS_SRC_DIR=$(pwd)
cd ${{env.WIN_BUILD_DIR}}
pwd
ls
cmake ${LRS_SRC_DIR} -G "Visual Studio 15 2017" -DBUILD_SHARED_LIBS=true -DBUILD_EXAMPLES=false -DBUILD_TOOLS=false -DCHECK_FOR_UPDATES=false

0 comments on commit a535746

Please sign in to comment.