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:
David Zhao
2022-07-11 15:26:58 -07:00
committed by GitHub
parent 4280a5993b
commit 4cbdeb15b0
2 changed files with 1 additions and 28 deletions

View File

@@ -12,7 +12,7 @@ permissions:
jobs:
release:
runs-on: macos-12
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Fetch all tags

View File

@@ -3,17 +3,6 @@ before:
- go mod tidy
- go generate ./...
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
env:
- CGO_ENABLED=0
@@ -32,24 +21,8 @@ archives:
- format_overrides:
- goos: windows
format: zip
replacements:
darwin: mac
files:
- 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:
github:
owner: livekit