From 4dd6a5067036cb1d2e215c270f43cee7c7591cd7 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Sun, 8 Aug 2021 13:52:39 +0200 Subject: [PATCH] .builds: upgrade Apple builder to Go 1.16 Signed-off-by: Elias Naur --- .builds/apple.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.builds/apple.yml b/.builds/apple.yml index 63a962df..f5a3098b 100644 --- a/.builds/apple.yml +++ b/.builds/apple.yml @@ -11,7 +11,6 @@ packages: - llvm-dev # for cctools - uuid-dev ## for cctools - libplist-utils # for gogio - - golang sources: - https://git.sr.ht/~eliasnaur/applesdks - https://git.sr.ht/~eliasnaur/gio @@ -21,8 +20,11 @@ sources: - https://github.com/mackyle/xar.git environment: APPLE_TOOLCHAIN_ROOT: /home/build/appletools - PATH: /home/build/go/bin:/usr/bin + PATH: /home/build/sdk/go/bin:/home/build/go/bin:/usr/bin tasks: + - install_go: | + mkdir -p /home/build/sdk + curl -s https://dl.google.com/go/go1.16.6.linux-amd64.tar.gz | tar -C /home/build/sdk -xzf - - prepare_toolchain: | mkdir -p $APPLE_TOOLCHAIN_ROOT cd $APPLE_TOOLCHAIN_ROOT