Skip to content

Commit

Permalink
ci: Remove PostgreSQL from PATH
Browse files Browse the repository at this point in the history
It's one of the causes of the cmake test failures, and it's also
plaguing the VS2019 jobs now because of the image update.
  • Loading branch information
nirbheek committed Jun 17, 2020
1 parent f7b7514 commit 804cefc
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 15 deletions.
2 changes: 0 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ jobs:
- job: vs2017
pool:
vmImage: VS2017-Win2016
variables:
CI_JOB_VS2017: 1

strategy:
matrix:
Expand Down
3 changes: 2 additions & 1 deletion ci/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ if ($LastExitCode -ne 0) {
}

# remove Chocolately, MinGW, Strawberry Perl from path, so we don't find gcc/gfortran and try to use it
$env:Path = ($env:Path.Split(';') | Where-Object { $_ -notmatch 'mingw|Strawberry|Chocolatey' }) -join ';'
# remove PostgreSQL from path so we don't pickup a broken zlib from it
$env:Path = ($env:Path.Split(';') | Where-Object { $_ -notmatch 'mingw|Strawberry|Chocolatey|PostgreSQL' }) -join ';'

# Rust puts its shared stdlib in a secret place, but it is needed to run tests.
$env:Path += ";$HOME/.rustup/toolchains/stable-x86_64-pc-windows-msvc/bin"
Expand Down
5 changes: 0 additions & 5 deletions test cases/cmake/2 advanced/test.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"matrix": {
"options": {
"_": [{"val": null, "skip_on_env": ["CI_JOB_VS2017"]}]
}
},
"installed": [
{"type": "expr", "file": "usr/?lib/libcm_cmModLib?so"},
{"type": "implib", "platform": "cygwin", "file": "usr/lib/libcm_cmModLib"},
Expand Down
7 changes: 0 additions & 7 deletions test cases/cmake/5 object library/test.json

This file was deleted.

0 comments on commit 804cefc

Please sign in to comment.