forked from jbaldwin/libcoro
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 1.03 KB
/
ci-windows.yml
File metadata and controls
31 lines (29 loc) · 1.03 KB
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
name: ci-windows
on: [pull_request, workflow_dispatch]
jobs:
ci-windows-2022:
name: windows-2022
runs-on: windows-latest
strategy:
matrix:
cxx_standard: [20, 23]
libcoro_build_shared_libs: [OFF, ON]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
fetch-tags: true
- name: Mark repository as safe
run: git config --global --add safe.directory "*"
- name: Build
run: |
mkdir Release
cd Release
cmake -DCMAKE_CXX_STANDARD=${{ matrix.cxx_standard }} -DLIBCORO_BUILD_SHARED_LIBS=${{ matrix.libcoro_build_shared_libs }} ..
cmake --build . --config Release
- name: Test
run: |
cd Release
ctest --build-config Release -VV