PdfFontConfigWrapper: Fixes compilation on non MSVC #588
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-win | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
inputs: | |
ctestArgs: | |
description: 'CTest arguments' | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Configure CMake | |
working-directory: .\playground | |
run: cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -A x64 -DARCH=Win64 | |
# NOTE: The cmake build is forced to be single | |
# configuration (either Debug or Release) but it | |
# must be specified when running tests on Windows | |
# because of MSVC solution oddities | |
- name: Build | |
working-directory: .\playground | |
run: cmake --build build --config ${{env.BUILD_TYPE}} | |
- name: Test | |
working-directory: .\playground | |
run: ctest --test-dir build ${{ github.event.inputs.ctestArgs }} |