Skip to content

Commit c5e152d

Browse files
committed
Add Win build job
Use image with VC 2019 Relates-To: OLPEDGE-2873 Signed-off-by: Yaroslav Stefinko <ext-yaroslav.stefinko@here.com>
1 parent e343dc1 commit c5e152d

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/psv_pipelines.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,18 @@ jobs:
231231
run: scripts/ios/azure_ios_build_psv.sh
232232
shell: bash
233233

234+
psv-win-vc2019-build:
235+
name: PSV.Win.VC2019
236+
runs-on: windows-2019
237+
env:
238+
BUILD_TYPE: RelWithDebInfo
239+
steps:
240+
- name: Check out repository
241+
uses: actions/checkout@v3
242+
- name: Build
243+
run: scripts/windows/build.sh
244+
shell: bash
245+
234246
psv-commit-checker:
235247
name: PSV.Commit.Checker
236248
runs-on: ubuntu-20.04

scripts/windows/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
# SPDX-License-Identifier: Apache-2.0
1818
# License-Filename: LICENSE
1919

20-
20+
env
21+
cl.exe || true
22+
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 || true
2123
[[ -d "build" ]] && rm -rf build
2224
mkdir build && cd build
2325
cmake .. -G "Visual Studio 16 2019" -A x64 \

0 commit comments

Comments
 (0)