mirror of
https://github.com/caddyserver/xcaddy.git
synced 2024-09-07 13:09:15 +01:00
* ci: Pull updates from Caddy, build .deb as well * ci: Pull ci.yml updates from Caddy, including testing on Go 1.15 * ci: Add publishing to Cloudsmith * ci: Update release.yml to match changes in Caddy * ci: Switch to keeping armv7 as the armhf .deb
92 lines
1.3 KiB
YAML
92 lines
1.3 KiB
YAML
before:
|
|
hooks:
|
|
- go mod download
|
|
|
|
builds:
|
|
- env:
|
|
- CGO_ENABLED=0
|
|
- GO111MODULE=on
|
|
main: main.go
|
|
dir: ./cmd/xcaddy
|
|
binary: xcaddy
|
|
goos:
|
|
- darwin
|
|
- linux
|
|
- windows
|
|
- freebsd
|
|
goarch:
|
|
- amd64
|
|
- arm
|
|
- arm64
|
|
- s390x
|
|
- ppc64le
|
|
goarm:
|
|
- 5
|
|
- 6
|
|
- 7
|
|
ignore:
|
|
- goos: darwin
|
|
goarch: arm
|
|
- goos: darwin
|
|
goarch: ppc64le
|
|
- goos: darwin
|
|
goarch: s390x
|
|
- goos: windows
|
|
goarch: ppc64le
|
|
- goos: windows
|
|
goarch: s390x
|
|
- goos: freebsd
|
|
goarch: ppc64le
|
|
- goos: freebsd
|
|
goarch: s390x
|
|
- goos: freebsd
|
|
goarch: arm
|
|
goarm: 5
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- -s -w
|
|
|
|
archives:
|
|
- format_overrides:
|
|
- goos: windows
|
|
format: zip
|
|
replacements:
|
|
darwin: mac
|
|
checksum:
|
|
algorithm: sha512
|
|
|
|
nfpms:
|
|
- id: default
|
|
package_name: xcaddy
|
|
|
|
vendor: Light Code Labs
|
|
homepage: https://caddyserver.com
|
|
maintainer: Matthew Holt <mholt@users.noreply.github.com>
|
|
description: |
|
|
Build Caddy with plugins
|
|
license: Apache 2.0
|
|
|
|
formats:
|
|
- deb
|
|
# - rpm
|
|
|
|
bindir: /usr/bin
|
|
|
|
release:
|
|
github:
|
|
owner: caddyserver
|
|
name: xcaddy
|
|
draft: false
|
|
prerelease: auto
|
|
|
|
changelog:
|
|
sort: asc
|
|
filters:
|
|
exclude:
|
|
- '^readme:'
|
|
- '^chore:'
|
|
- '^ci:'
|
|
- '^docs?:'
|
|
- '^tests?:'
|