From 80aac3104096aee4057b675c53ece8e60793aa90 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 1 Mar 2024 12:43:23 +0000 Subject: [PATCH] Stop code-signing Windows binaries we aren't shipping. The foosolver.exe binaries aren't delivered out of the end of Buildscr, so there's no point wasting time on signing them. Signing is slow in wall-clock time (you have to wait for a timestamp server), so this should significantly reduce overall build time. --- Buildscr | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Buildscr b/Buildscr index 8781b86..af8f5b0 100644 --- a/Buildscr +++ b/Buildscr @@ -95,7 +95,11 @@ ifneq "$(NOWINDOWS)" yes then # provide a 'more info' URL, and an optional -n option to provide a # program name, and that it can take multiple .exe filename # arguments and sign them all in place. - ifneq "$(cross_winsigncode)" "" in puzzles do $(cross_winsigncode) -i https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ build-win64/*.exe build-win32/*.exe + ifneq "$(cross_winsigncode)" "" then + in puzzles/build-win64 do $(cross_winsigncode) -i https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ `cut -f2 -d: gamedesc.txt` + in puzzles/build-win32 do $(cross_winsigncode) -i https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ `cut -f2 -d: gamedesc.txt` + endif + # Build installers. in puzzles with wixonlinux do candle -arch x64 puzzles.wxs -dWin64=yes -dBindir=build-win64/ && light -ext WixUIExtension -sval puzzles.wixobj in puzzles with wixonlinux do candle -arch x86 puzzles.wxs -dWin64=no -dBindir=build-win32/ && light -ext WixUIExtension -sval puzzles.wixobj -o puzzles32.msi