You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
693 B
YAML
20 lines
693 B
YAML
dist: trusty
|
|
sudo: required
|
|
|
|
install:
|
|
- docker run --name buildkit --rm -d --privileged -p 1234:1234 $REPO_SLUG_ORIGIN --addr tcp://0.0.0.0:1234
|
|
- sudo docker cp buildkit:/usr/bin/buildctl /usr/bin/
|
|
- export BUILDKIT_HOST=tcp://0.0.0.0:1234
|
|
|
|
env:
|
|
global:
|
|
# Temporarily disabling other platforms to keep development faster.
|
|
# - PLATFORMS="linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/s390x,linux/ppc64le"
|
|
# - CROSS_PLATFORMS=${PLATFORMS},darwin/amd64,windows/amd64
|
|
- PLATFORMS="linux/amd64"
|
|
- CROSS_PLATFORMS="${PLATFORMS},darwin/amd64"
|
|
- PREFER_BUILDCTL="1"
|
|
|
|
script:
|
|
- make binaries validate-all && TARGETPLATFORM="${CROSS_PLATFORMS}" ./hack/cross
|