build: Disable 32-bit Windows due to crashing Go compiler
This commit is contained in:
@@ -24,12 +24,12 @@ jobs:
|
|||||||
flags: -e '--privileged'
|
flags: -e '--privileged'
|
||||||
cmd: ./Hydrunfile windows x86_64
|
cmd: ./Hydrunfile windows x86_64
|
||||||
dst: out/*
|
dst: out/*
|
||||||
- id: stfs-windows-i686
|
# - id: stfs-windows-i686
|
||||||
src: .
|
# src: .
|
||||||
os: fedora:rawhide
|
# os: fedora:rawhide
|
||||||
flags: -e '--privileged'
|
# flags: -e '--privileged'
|
||||||
cmd: ./Hydrunfile windows i686
|
# cmd: ./Hydrunfile windows i686
|
||||||
dst: out/*
|
# dst: out/*
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Maximize build space
|
- name: Maximize build space
|
||||||
|
|||||||
+7
-7
@@ -23,18 +23,18 @@ if [ "$1" = "windows" ]; then
|
|||||||
cp -rf . ~/.wine/drive_c/users/root/Documents/stfs
|
cp -rf . ~/.wine/drive_c/users/root/Documents/stfs
|
||||||
mkdir -p ~/.wine/drive_c/users/root/go
|
mkdir -p ~/.wine/drive_c/users/root/go
|
||||||
|
|
||||||
if [ "$2" = "x86_64" ]; then
|
if [ "$2" = "i686" ]; then
|
||||||
# Install GCC and Go
|
|
||||||
wine64 bash.exe -c 'pacman --verbose --debug --noconfirm --ignore pacman --needed -S base-devel mingw-w64-x86_64-gcc mingw-w64-x86_64-go'
|
|
||||||
|
|
||||||
# Build
|
|
||||||
wine64 bash.exe -c 'export PATH="$PATH:/mingw64/bin" && cd /c/users/root/Documents/stfs && export GOPATH="/c/users/root/go" && export GOROOT="/mingw64/lib/go" export GOARCH=amd64 && go build -o out/stfs.windows-x86_64.exe ./cmd/stfs'
|
|
||||||
else
|
|
||||||
# Install GCC and Go
|
# Install GCC and Go
|
||||||
wine64 bash.exe -c 'pacman --verbose --debug --noconfirm --ignore pacman --needed -S base-devel mingw-w64-i686-gcc mingw-w64-i686-go'
|
wine64 bash.exe -c 'pacman --verbose --debug --noconfirm --ignore pacman --needed -S base-devel mingw-w64-i686-gcc mingw-w64-i686-go'
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
wine64 bash.exe -c 'export PATH="$PATH:/mingw32/bin" && cd /c/users/root/Documents/stfs && export GOPATH="/c/users/root/go" && export GOROOT="/mingw32/lib/go" && export GOARCH=386 && go build -o out/stfs.windows-i686.exe ./cmd/stfs'
|
wine64 bash.exe -c 'export PATH="$PATH:/mingw32/bin" && cd /c/users/root/Documents/stfs && export GOPATH="/c/users/root/go" && export GOROOT="/mingw32/lib/go" && export GOARCH=386 && go build -o out/stfs.windows-i686.exe ./cmd/stfs'
|
||||||
|
else
|
||||||
|
# Install GCC and Go
|
||||||
|
wine64 bash.exe -c 'pacman --verbose --debug --noconfirm --ignore pacman --needed -S base-devel mingw-w64-x86_64-gcc mingw-w64-x86_64-go'
|
||||||
|
|
||||||
|
# Build
|
||||||
|
wine64 bash.exe -c 'export PATH="$PATH:/mingw64/bin" && cd /c/users/root/Documents/stfs && export GOPATH="/c/users/root/go" && export GOROOT="/mingw64/lib/go" export GOARCH=amd64 && go build -o out/stfs.windows-x86_64.exe ./cmd/stfs'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Copy binaries to staging directory
|
# Copy binaries to staging directory
|
||||||
|
|||||||
Reference in New Issue
Block a user