mirror of
https://github.com/ivanizag/izapple2.git
synced 2024-12-14 18:29:12 +00:00
MacOS x64 builds
This commit is contained in:
parent
4b061a76ff
commit
cedb810400
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user