Skip to content

feat: add best-effort support for Windows #61

feat: add best-effort support for Windows

feat: add best-effort support for Windows #61

Workflow file for this run

name: Build and Test
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: Build and Test
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
azure.archive.ubuntu.com:80
esm.ubuntu.com:443
github.com:443
motd.ubuntu.com:443
packages.microsoft.com:443
- name: Check out code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Install dependencies
uses: ./.github/actions/install-dependencies
- name: Build
run: |
cmake -B build
cmake --build build
- name: Test
run: ctest --test-dir build
- name: Install
run: sudo cmake --install build
- name: Smoke test
run: |
cmake -B build
cmake --build build
./build/ci-cmake
./build/ci-pkgconfig
working-directory: ci