Switch release CI to build on Linux (#827)
Also disabled .deb generation since it doesn't add much value in addition to the binary builds.
This commit is contained in:
@@ -12,7 +12,7 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: macos-12
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Fetch all tags
|
- name: Fetch all tags
|
||||||
|
|||||||
@@ -3,17 +3,6 @@ before:
|
|||||||
- go mod tidy
|
- go mod tidy
|
||||||
- go generate ./...
|
- go generate ./...
|
||||||
builds:
|
builds:
|
||||||
# darwin build requires CGO, declaring it separately
|
|
||||||
- id: darwin
|
|
||||||
env:
|
|
||||||
- CGO_ENABLED=1
|
|
||||||
main: ./cmd/server
|
|
||||||
binary: livekit-server
|
|
||||||
goarch:
|
|
||||||
- amd64
|
|
||||||
- arm64
|
|
||||||
goos:
|
|
||||||
- darwin
|
|
||||||
- id: livekit
|
- id: livekit
|
||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
@@ -32,24 +21,8 @@ archives:
|
|||||||
- format_overrides:
|
- format_overrides:
|
||||||
- goos: windows
|
- goos: windows
|
||||||
format: zip
|
format: zip
|
||||||
replacements:
|
|
||||||
darwin: mac
|
|
||||||
files:
|
files:
|
||||||
- LICENSE
|
- LICENSE
|
||||||
nfpms:
|
|
||||||
- package_name: livekit
|
|
||||||
vendor: LiveKit
|
|
||||||
homepage: https://livekit.io
|
|
||||||
description: |-
|
|
||||||
LiveKit is a high-performance WebRTC server. It provides software components for building multi-user, real-time, media applications.
|
|
||||||
license: Apache 2.0
|
|
||||||
|
|
||||||
formats:
|
|
||||||
- deb
|
|
||||||
- rpm
|
|
||||||
|
|
||||||
recommends:
|
|
||||||
- redis-server
|
|
||||||
release:
|
release:
|
||||||
github:
|
github:
|
||||||
owner: livekit
|
owner: livekit
|
||||||
|
|||||||
Reference in New Issue
Block a user