fix!: disable 368 releases
We can either support arm64 or 368 release binaries - because the arm64 binaries are probably wider used today, we'll prioritize that. It is still possible to compile Vikunja from source on a 368 system, but would take quite a bit of effort in providing pre-built binaries. Please reach out if you need assistance for 368 binaries. See https://github.com/techknowlogick/xgo/issues/256#issuecomment-2462135108
This commit is contained in:
12
.drone.yml
12
.drone.yml
@@ -626,7 +626,7 @@ steps:
|
|||||||
depends_on: [ generate-config-yaml ]
|
depends_on: [ generate-config-yaml ]
|
||||||
|
|
||||||
- name: before-static-build
|
- name: before-static-build
|
||||||
image: techknowlogick/xgo:go-1.23.x
|
image: ghcr.io/techknowlogick/xgo:go-1.23.x
|
||||||
pull: always
|
pull: always
|
||||||
commands:
|
commands:
|
||||||
- export PATH=$PATH:$GOPATH/bin
|
- export PATH=$PATH:$GOPATH/bin
|
||||||
@@ -635,7 +635,7 @@ steps:
|
|||||||
depends_on: [ fetch-tags, mage ]
|
depends_on: [ fetch-tags, mage ]
|
||||||
|
|
||||||
- name: static-build-windows
|
- name: static-build-windows
|
||||||
image: techknowlogick/xgo:go-1.23.x
|
image: ghcr.io/techknowlogick/xgo:go-1.23.x
|
||||||
pull: always
|
pull: always
|
||||||
environment:
|
environment:
|
||||||
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
||||||
@@ -651,7 +651,7 @@ steps:
|
|||||||
- frontend-build
|
- frontend-build
|
||||||
|
|
||||||
- name: static-build-linux
|
- name: static-build-linux
|
||||||
image: techknowlogick/xgo:go-1.23.x
|
image: ghcr.io/techknowlogick/xgo:go-1.23.x
|
||||||
pull: always
|
pull: always
|
||||||
environment:
|
environment:
|
||||||
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
||||||
@@ -667,7 +667,7 @@ steps:
|
|||||||
- frontend-build
|
- frontend-build
|
||||||
|
|
||||||
- name: static-build-darwin
|
- name: static-build-darwin
|
||||||
image: techknowlogick/xgo:go-1.23.x
|
image: ghcr.io/techknowlogick/xgo:go-1.23.x
|
||||||
pull: always
|
pull: always
|
||||||
environment:
|
environment:
|
||||||
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
|
||||||
@@ -693,7 +693,7 @@ steps:
|
|||||||
- ./mage-static release:compress
|
- ./mage-static release:compress
|
||||||
|
|
||||||
- name: after-build-static
|
- name: after-build-static
|
||||||
image: techknowlogick/xgo:go-1.23.x
|
image: ghcr.io/techknowlogick/xgo:go-1.23.x
|
||||||
pull: always
|
pull: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- after-build-compress
|
- after-build-compress
|
||||||
@@ -1400,6 +1400,6 @@ steps:
|
|||||||
- failure
|
- failure
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 14968b058e6d28fa78d2329672bb46b401822543171ca4bf524ec5f7ed7fa443
|
hmac: e9c8b5dbbacec2777908d70408995135dfab758c01378c130f78ae21b9c2e644
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ RUN corepack enable && \
|
|||||||
pnpm install && \
|
pnpm install && \
|
||||||
pnpm run build
|
pnpm run build
|
||||||
|
|
||||||
FROM --platform=$BUILDPLATFORM techknowlogick/xgo:go-1.23.x AS apibuilder
|
FROM --platform=$BUILDPLATFORM ghcr.io/techknowlogick/xgo:go-1.23.x AS apibuilder
|
||||||
|
|
||||||
RUN go install github.com/magefile/mage@latest && \
|
RUN go install github.com/magefile/mage@latest && \
|
||||||
mv /go/bin/mage /usr/local/go/bin
|
mv /go/bin/mage /usr/local/go/bin
|
||||||
|
|||||||
14
magefile.go
14
magefile.go
@@ -559,7 +559,19 @@ func (Release) Windows() error {
|
|||||||
|
|
||||||
// Builds binaries for linux
|
// Builds binaries for linux
|
||||||
func (Release) Linux() error {
|
func (Release) Linux() error {
|
||||||
return runXgo("linux/*")
|
targets := []string{
|
||||||
|
"linux/amd64",
|
||||||
|
"linux/arm-5",
|
||||||
|
"linux/arm-6",
|
||||||
|
"linux/arm-7",
|
||||||
|
"linux/arm64",
|
||||||
|
"linux/mips",
|
||||||
|
"linux/mipsle",
|
||||||
|
"linux/mips64",
|
||||||
|
"linux/mips64le",
|
||||||
|
"linux/riscv64",
|
||||||
|
}
|
||||||
|
return runXgo(strings.Join(targets, ","))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Builds binaries for darwin
|
// Builds binaries for darwin
|
||||||
|
|||||||
Reference in New Issue
Block a user