From c182a1a63c87e3834be12132c2772958b1ae8dd2 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 25 Feb 2018 15:56:15 -0500 Subject: [PATCH] Windows release tweaks --- README-maintainer | 9 ++++++--- make_windows_releases | 6 ++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README-maintainer b/README-maintainer index 850e417a..9b0f79bc 100644 --- a/README-maintainer +++ b/README-maintainer @@ -116,7 +116,7 @@ CREATING A RELEASE version=x.y.z \rm -rf /tmp/qpdf-$version git archive --prefix=qpdf-$version/ HEAD . | (cd /tmp; tar xf -) -cd /tmp +pushd /tmp ./qpdf-$version/make_dist gpg --detach-sign --armor qpdf-$version.tar.gz @@ -149,9 +149,12 @@ docker run --privileged -ti --rm -v /tmp/build:/tmp/build qpdfbuild https://gith * Open windows for 32-bit and 64-bit compilation environments that support msvc and mingw * Disable antivirus software. For bitdefender, open, select the "B" - shield, and go to "View Features". Disable advanced threat defense - and vulnerability scanning. + shield, and go to "View Features". Disable all features. Disable + antivirus until next restart. * In each window simultaneously, run ./make_windows_releases + * NOTE: For now, test failure is not fatal for 32-bit Windows + builds because of unknown fragility in the test environment. + Check test logs carefully. Tests must pass on 64-bit. * Copy the four resulting zip files into the release archive area * Re-enable anti-virus software diff --git a/make_windows_releases b/make_windows_releases index 8bff5224..d8fbbcd8 100755 --- a/make_windows_releases +++ b/make_windows_releases @@ -35,12 +35,14 @@ rm -rf install-mingw$wordsize install-msvc$wordsize ./config-msvc make -j8 -make check install +make -k check || test $wordsize = 32 +make install make distclean ./config-mingw make -j8 -make check install +make -k check || test $wordsize = 32 +make install make distclean touch win.$wordsize