Skip to content

test

test #110

name: CMake on Windows-2019
on:
pull_request:
push:
paths-ignore:
- 'README.md'
branches:
- main
- master
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: RelWithDebInfo
# Conan cache environment variables
CONAN_SYSREQUIRES_MODE: enabled
CONAN_USER_HOME: "${{ github.workspace }}/conan-cache"
CONAN_USER_HOME_SHORT: "${{ github.workspace }}/conan-cache/short"
CONAN_PRINT_RUN_COMMANDS: 1
ENABLE_COVERAGE: ON
WGET: "C:/ProgramData/chocolatey/lib/Wget/tools/wget.exe"
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
# Use a bash shell so we can use the same syntax for environment variable
# access regardless of the host operating system
defaults:
run:
shell: bash
jobs:
build:
runs-on: 'windows-2019'
steps:
- name: Get source code
uses: actions/checkout@main
- name: Compile and tests
uses: ./.github/actions/compile