-
Notifications
You must be signed in to change notification settings - Fork 78
44 lines (37 loc) · 933 Bytes
/
ci-windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: CI Windows
on:
push:
branches:
- master
paths:
- 'CMakeLists.txt'
- 'include/sys/*'
- 'src/common/*'
- 'src/windows/*'
- 'test/*'
- '.github/workflows/ci-windows.yml'
pull_request:
branches:
- master
paths:
- 'CMakeLists.txt'
- 'src/common/*'
- 'src/windows/*'
- 'test/*'
- '.github/workflows/ci-windows.yml'
env:
KQUEUE_DEBUG: yes
jobs:
windows-build:
timeout-minutes: 5
runs-on: windows-2019
name: CI-windows (build)
steps:
- uses: actions/checkout@v2
- name: Configure build system
run: |
cmake --version
cmake -S . -B build_x64 -A x64 -G "Visual Studio 16 2019" -DSTATICLIB=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=ON
- name: Build libkqueue
run: |
cmake --build build_x64 --target install --config Release --parallel 1