Skip to content

ci-windows

ci-windows #1

Workflow file for this run

name: ci-windows
on: [push]
jobs:
ci-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Install packages
shell: cmd
run: |
choco install -y winflexbison activeperl diffutils
rename "c:\ProgramData\chocolatey\bin\win_flex.exe" flex.exe
rename "c:\ProgramData\chocolatey\bin\win_bison.exe" bison.exe
- name: Build
shell: cmd
run: |
SET PATH=%PATH%;C:\Perl64\bin
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
move .github\workflows\ci-windows-buildsetup.pl buildsetup.pl
move .github\workflows\ci-windows-dumpregr.pl dumpregr.pl
perl buildsetup.pl
msbuild pgsql.sln
- name: Check
shell: cmd
run: |
SET PATH=%PATH%;C:\Perl64\bin
cd src\tools\msvc && vcregress check
- name: Look for clues
if: ${{ failure() }}
shell: cmd
run: |
perl dumpregr.pl