mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-29 21:31:02 +00:00
Bump xgo and go to v1.19.5 (#1538)
made possible again by: - https://github.com/techknowlogick/xgo/pull/189 - https://github.com/techknowlogick/xgo/pull/193
This commit is contained in:
parent
6516a28cdd
commit
0f6ce5c4e9
5 changed files with 7 additions and 7 deletions
|
@ -3,7 +3,7 @@ depends_on:
|
||||||
- web
|
- web
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &golang_image 'golang:1.18.7'
|
- &golang_image 'golang:1.19.5'
|
||||||
- &node_image 'node:18-alpine'
|
- &node_image 'node:18-alpine'
|
||||||
- &when_path
|
- &when_path
|
||||||
# related config files
|
# related config files
|
||||||
|
|
|
@ -3,10 +3,10 @@ depends_on:
|
||||||
- web
|
- web
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &golang_image 'golang:1.18.7'
|
- &golang_image 'golang:1.19.5'
|
||||||
- &node_image 'node:18-alpine'
|
- &node_image 'node:18-alpine'
|
||||||
- &xgo_image 'techknowlogick/xgo:go-1.18.7'
|
- &xgo_image 'techknowlogick/xgo:go-1.19.5'
|
||||||
- &xgo_version 'go-1.18.7'
|
- &xgo_version 'go-1.19.5'
|
||||||
- &platforms_release 'linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/386,linux/amd64,linux/ppc64le,linux/riscv64,linux/s390x,windows/amd64,freebsd/arm64,freebsd/amd64,openbsd/arm64,openbsd/amd64'
|
- &platforms_release 'linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/386,linux/amd64,linux/ppc64le,linux/riscv64,linux/s390x,windows/amd64,freebsd/arm64,freebsd/amd64,openbsd/arm64,openbsd/amd64'
|
||||||
- &platforms_server 'linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le,linux/riscv64'
|
- &platforms_server 'linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le,linux/riscv64'
|
||||||
- &platforms_preview 'linux/arm/v6,linux/arm64/v8,linux/amd64,linux/riscv64,windows/amd64'
|
- &platforms_preview 'linux/arm/v6,linux/arm64/v8,linux/amd64,linux/riscv64,windows/amd64'
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
variables:
|
variables:
|
||||||
- &golang_image 'golang:1.18.7'
|
- &golang_image 'golang:1.19.5'
|
||||||
- &node_image 'node:18-alpine'
|
- &node_image 'node:18-alpine'
|
||||||
- &when_path
|
- &when_path
|
||||||
- "docs/**"
|
- "docs/**"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
variables:
|
variables:
|
||||||
- &golang_image 'golang:1.18.7'
|
- &golang_image 'golang:1.19.5'
|
||||||
- &when_path
|
- &when_path
|
||||||
# related config files
|
# related config files
|
||||||
- ".woodpecker/test.yml"
|
- ".woodpecker/test.yml"
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -23,7 +23,7 @@ CGO_ENABLED ?= 1 # only used to compile server
|
||||||
|
|
||||||
HAS_GO = $(shell hash go > /dev/null 2>&1 && echo "GO" || echo "NOGO" )
|
HAS_GO = $(shell hash go > /dev/null 2>&1 && echo "GO" || echo "NOGO" )
|
||||||
ifeq ($(HAS_GO),GO)
|
ifeq ($(HAS_GO),GO)
|
||||||
XGO_VERSION ?= go-1.18.x
|
XGO_VERSION ?= go-1.19.x
|
||||||
CGO_CFLAGS ?= $(shell go env CGO_CFLAGS)
|
CGO_CFLAGS ?= $(shell go env CGO_CFLAGS)
|
||||||
endif
|
endif
|
||||||
CGO_CFLAGS ?=
|
CGO_CFLAGS ?=
|
||||||
|
|
Loading…
Reference in a new issue