doompanning/external/nng/.github/workflows/windows.yml
oxmox b3f1d5611f git subtree add --squash -P external/nng https://github.com/nanomsg/nng.git v1.8.0
Merge commit '7063e2102e655079574d6644b323f28f48685c5a' as 'external/nng'
2024-12-18 18:33:08 +01:00

29 lines
673 B
YAML

name: windows
on: [push, pull_request]
jobs:
build:
name: build
runs-on: [windows-latest]
steps:
- name: Check out code
uses: actions/checkout@v1
- name: vcpkg build
id: vcpkg
uses: johnwason/vcpkg-action@v6
with:
pkgs: mbedtls
triplet: x64-windows
token: ${{ github.token }}
github-binarycache: true
- name: Configure
run: cmake ${{ steps.vcpkg.outputs.vcpkg-cmake-config }} -D NNG_ENABLE_TLS=ON -B build
- name: Build
run: cmake --build build
- name: Test
run: |
cd build
ctest -C Debug --output-on-failure