Skip to content

Commit 2dd6ce1

Browse files
committed
Add GitHub Actions for a Windows build
1 parent 875c64a commit 2dd6ce1

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/BuildWindows.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Build Windows
3+
4+
on: workflow_dispatch
5+
6+
jobs:
7+
build:
8+
runs-on: windows-latest
9+
timeout-minutes: 10
10+
steps:
11+
12+
- uses: actions/checkout@v2
13+
14+
- uses: microsoft/setup-msbuild@v1
15+
16+
- shell: bash
17+
run: mkdir build
18+
19+
- name: Build
20+
shell: bash
21+
working-directory: build
22+
continue-on-error: true
23+
run: |
24+
export EXTERNAL_INCLUDE="C:\Program Files (x86)\Windows Kits\10\Include;C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.29.30037\include"
25+
cmake .. -DBUILD_LIBSRCML_TESTS=OFF
26+
cmake --build . --verbose --config Release

0 commit comments

Comments
 (0)