summaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2022-07-26 01:31:52 +0200
committerValery Piashchynski <[email protected]>2022-07-26 01:31:52 +0200
commit71c427d90f161cb8b00b448bf233987bfa2cee4c (patch)
tree38574861df4847359949cba9f82050a2d3dffa32 /.github/workflows/release.yml
parent7f31a5c3ab25f69e2bfb1a174b0ecd96f1fb42aa (diff)
update workflows, CHANGELOG
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml13
1 files changed, 11 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 8f77f64b..30faad75 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -22,22 +22,31 @@ jobs:
compiler: gcc
archiver: tar
arch: amd64
+ tags: ''
+ # -----
- os: linux
compiler: gcc
archiver: tar
arch: arm64
+ tags: ''
+ # -----
- os: darwin
compiler: gcc
archiver: tar
arch: arm64
+ tags: ''
+ # -----
- os: freebsd
compiler: gcc
archiver: tar
arch: amd64
+ tags: ''
+ # -----
- os: ''
compiler: musl-gcc # more info: <https://musl.libc.org/>
archiver: zip
arch: amd64
+ tags: -tags musl
steps:
- name: Set up Go
uses: actions/setup-go@v3
@@ -81,13 +90,13 @@ jobs:
CC: ${{ matrix.compiler }}
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
GPG_PASS: ${{secrets.GPG_PASS}}
- CGO_ENABLED: 0
+ CGO_ENABLED: 1
LDFLAGS: >-
-s
-X github.com/roadrunner-server/roadrunner/v2/internal/meta.version=${{ steps.values.outputs.version }}
-X github.com/roadrunner-server/roadrunner/v2/internal/meta.buildTime=${{ steps.values.outputs.timestamp }}
run: |
- go build -trimpath -ldflags "$LDFLAGS" -o "./${{ steps.values.outputs.binary-name }}" ./cmd/rr
+ go build ${{ matrix.tags }} -trimpath -ldflags "$LDFLAGS" -o "./${{ steps.values.outputs.binary-name }}" ./cmd/rr
stat "./${{ steps.values.outputs.binary-name }}"
gpg --detach-sign --armor "./${{ steps.values.outputs.binary-name }}"