test #113
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: 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 |