From 4cd1a8f0db22d616db12aadf9424b0d1c624c69c Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 11 Oct 2018 17:02:34 -0400 Subject: Azure pipelines: no artifact upload/download from forks --- azure-pipelines/build-mac | 4 +++- azure-pipelines/build-windows | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'azure-pipelines') diff --git a/azure-pipelines/build-mac b/azure-pipelines/build-mac index 95ea884b..4dbe15e5 100755 --- a/azure-pipelines/build-mac +++ b/azure-pipelines/build-mac @@ -7,7 +7,9 @@ cd jpeg-9c make sudo make install cd .. -unzip distfiles/distfiles.zip +if [ -f distfiles/distfiles.zip ]; then + unzip distfiles/distfiles.zip +fi ./configure --enable-werror --enable-show-failed-test-output make -j$(nproc) make -k check diff --git a/azure-pipelines/build-windows b/azure-pipelines/build-windows index 834c884f..85fbceb2 100755 --- a/azure-pipelines/build-windows +++ b/azure-pipelines/build-windows @@ -17,7 +17,9 @@ if [[ $tool == mingw ]]; then elif [[ $tool == msvc ]]; then cl fi -unzip distfiles/distfiles.zip +if [ -f distfiles/distfiles.zip ]; then + unzip distfiles/distfiles.zip +fi curl -L https://downloads.sourceforge.net/project/qpdf/external-libs/2017-08-21/qpdf-external-libs-bin.zip -o qpdf-external-libs-bin.zip unzip qpdf-external-libs-bin.zip cwd=`pwd` -- cgit v1.2.3-54-g00ecf