-
-
Notifications
You must be signed in to change notification settings - Fork 497
35 lines (31 loc) · 948 Bytes
/
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
name: windows
on:
push:
paths-ignore: ["docs/**", "**.adoc", "**.md"]
pull_request:
paths-ignore: ["docs/**", "**.adoc", "**.md"]
jobs:
build:
name: build
runs-on: [windows-latest]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: vcpkg build
id: vcpkg
uses: johnwason/vcpkg-action@v6
with:
pkgs: mbedtls
triplet: x64-windows
token: ${{ github.token }}
github-binarycache: true
- name: Configure
# TLS on Windows is not good because vcpkg is *old* mbedTLS 2.28, and we don't pass some newer tests.
# We should explore testing WolfSSL here instead.
run: cmake ${{ steps.vcpkg.outputs.vcpkg-cmake-config }} -B build -DCMAKE_BUILD_TYPE=Debug
- name: Build
run: cmake --build build
- name: Test
run: |
cd build
ctest -C Debug --output-on-failure