Skip to content

Merge pull request #10198 from Icinga/wingha-gitlab #2920

Merge pull request #10198 from Icinga/wingha-gitlab

Merge pull request #10198 from Icinga/wingha-gitlab #2920

Workflow file for this run

name: Windows
on:
push:
branches:
- master
- 'support/*'
pull_request: {}
concurrency:
group: windows-${{ github.event_name == 'push' && github.sha || github.ref }}
cancel-in-progress: true
jobs:
windows:
name: Windows
strategy:
fail-fast: false
max-parallel: 1
matrix:
bits: [32, 64]
runs-on: windows-2019
env:
BITS: '${{ matrix.bits }}'
CMAKE_BUILD_TYPE: RelWithDebInfo
steps:
- name: Checkout HEAD
uses: actions/checkout@v1
- name: Build tools
run: |
Set-PSDebug -Trace 1
& .\doc\win-dev.ps1
- name: Binary
run: |
Set-PSDebug -Trace 1
& .\tools\win32\load-vsenv.ps1
& powershell.exe .\tools\win32\configure.ps1
if ($LastExitCode -ne 0) { throw "Error during configure" }
& powershell.exe .\tools\win32\build.ps1
if ($LastExitCode -ne 0) { throw "Error during build" }
& powershell.exe .\tools\win32\test.ps1
if ($LastExitCode -ne 0) { throw "Error during test" }