From cedb810400f123d6420c0f3e06580e4eb8a6abc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Izaguirre?= Date: Mon, 4 Mar 2024 20:47:59 +0100 Subject: [PATCH] MacOS x64 builds --- dockerbuild/build_all.sh | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/dockerbuild/build_all.sh b/dockerbuild/build_all.sh index 7715fad..3756b9f 100755 --- a/dockerbuild/build_all.sh +++ b/dockerbuild/build_all.sh @@ -2,7 +2,7 @@ cd "$( dirname $0)" mkdir -p ${PWD}/build -# MacOS builds +# MacOS ARM builds echo "Building MacOS console frontend" CGO_ENABLED=1 go build -tags static -ldflags "-s -w" ../frontend/console mv console build/izapple2console_mac_arm64 @@ -15,6 +15,19 @@ echo "Building MacOS Fyne frontend" CGO_ENABLED=1 go build -tags static -ldflags "-s -w" ../frontend/a2fyne mv a2fyne build/izapple2fyne_mac_arm64 +# MacOS x64 builds +echo "Building MacOS console frontend" +GOARCH=amd64 CGO_ENABLED=1 go build -tags static -ldflags "-s -w" ../frontend/console +mv console build/izapple2console_mac_amd64 + +echo "Building MacOS SDL frontend" +GOARCH=amd64 CGO_ENABLED=1 go build -tags static -ldflags "-s -w" ../frontend/a2sdl +mv a2sdl build/izapple2sdl_mac_amd64 + +echo "Building MacOS Fyne frontend" +GOARCH=amd64 CGO_ENABLED=1 go build -tags static -ldflags "-s -w" ../frontend/a2fyne +mv a2fyne build/izapple2fyne_mac_amd64∫ + # Linux and Windows dockerized builds echo "Building docker container for the Linux and Windows builds" docker build . -t apple2builder --platform linux/amd64