File: ci-windows-msvc.yml

package info (click to toggle)
utfcpp 4.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 380 kB
  • sloc: cpp: 1,526; ansic: 522; makefile: 13; sh: 4
file content (23 lines) | stat: -rw-r--r-- 503 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: CI Windows MSVC

on:
  push:
    branches: [ "master" ]
  pull_request:
    branches: [ "master" ]

jobs:
  build-and-test:
    runs-on: windows-latest
    steps:
      - uses: actions/checkout@v4

      - name: Configure CMake (with tests)
        run: cmake -B build -DCMAKE_BUILD_TYPE=Release -DUTF8CPP_ENABLE_TESTS=ON -S .

      - name: Build
        run: cmake --build build --config Release

      - name: Test
        working-directory: build
        run: ctest -VV --build-config Release