Don't call XCloseDisplay on null object. Hopefully fixes Issue #335.… #125
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: windows | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up build variables | |
run: bash ./.github/scripts/setup_build_variables.sh | |
- name: Set up windows build variables | |
run: bash ./.github/scripts/windows/setup_windows_build_variables.sh | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v2 | |
with: | |
version: '5.15.2' | |
host: 'windows' | |
install-deps: 'true' | |
arch: 'win64_msvc2019_64' | |
- name: Set up nmake | |
uses: ilammy/msvc-dev-cmd@v1 | |
- name: Set up kColorPicker | |
run: bash ./.github/scripts/setup_kColorPicker.sh | |
- name: Set up GoogleTest | |
run: bash ./.github/scripts/setup_googleTest.sh | |
- name: Add GoogleTest bin dir to PATH | |
uses: myci-actions/export-env-var-powershell@1 | |
with: | |
name: PATH | |
value: $env:PATH;$env:INSTALL_PREFIX/bin | |
- name: Build | |
run: bash ./.github/scripts/build_kImageAnnotator.sh | |
- name: Test | |
working-directory: ${{github.workspace}}/build/tests | |
run: ctest --extra-verbose | |