Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
ci(release): add correct compiling option for each architecture
Browse files Browse the repository at this point in the history
Signed-off-by: Vasek - Tom C <[email protected]>
  • Loading branch information
TomChv committed Jul 8, 2022
1 parent 5c2b687 commit f1c01ea
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
release:
name: "Release dagger LSP"
runs-on: ubuntu-latest
container: goreleaser/goreleaser-cross
steps:
- name: "Check out"
uses: actions/checkout@v2
Expand Down
43 changes: 41 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,51 @@
project_name: daggerlsp

builds:
- env:
- id: darwin-amd64
env:
- CGO_ENABLED=1
- CC=o64-clang
- CCX=o64-clang++
goos:
- darwin
goarch:
- amd64
- id: darwin-arm64
env:
- CGO_ENABLED=1
- CC=oa64-clang
- CCX=oa64-clang++
goos:
- darwin
goarch:
- arm64
- id: linux-arm64
env:
- CGO_ENABLED=1
- CC=aarch64-linux-gnu-gcc
- CCX=aarch64-linux-gnu-g++
goos:
- linux
goarch:
- arm64
- id: linux-amd64
env:
- CGO_ENABLED=1
- CC=gcc
- CCX=g++
goos:
- linux
goarch:
- amd64
- id: windows-amd64
env:
- CGO_ENABLED=1
- CC=x86_64-w64-mingw32-gcc
- CCX=x86_64-w64-mingw32-g++
goos:
- windows
- darwin
goarch:
- amd64

checksum:
name_template: 'checksums.txt'
Expand Down

0 comments on commit f1c01ea

Please sign in to comment.