summaryrefslogtreecommitdiff
path: root/.github
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
parent7f31a5c3ab25f69e2bfb1a174b0ecd96f1fb42aa (diff)
update workflows, CHANGELOG
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml13
-rw-r--r--.github/workflows/release_dep.yml2
-rw-r--r--.github/workflows/release_grpc.yml9
-rw-r--r--.github/workflows/tests.yml2
4 files changed, 20 insertions, 6 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 }}"
diff --git a/.github/workflows/release_dep.yml b/.github/workflows/release_dep.yml
index f11547c3..fd92eb96 100644
--- a/.github/workflows/release_dep.yml
+++ b/.github/workflows/release_dep.yml
@@ -53,7 +53,7 @@ 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 }}
diff --git a/.github/workflows/release_grpc.yml b/.github/workflows/release_grpc.yml
index 9964b6f6..19e64bde 100644
--- a/.github/workflows/release_grpc.yml
+++ b/.github/workflows/release_grpc.yml
@@ -22,26 +22,31 @@ jobs:
compiler: gcc
archiver: tar
arch: amd64
+ tags: ''
#----------
- os: linux
compiler: gcc
archiver: tar
arch: arm64
+ tags: ''
#----------
- os: freebsd
compiler: gcc
archiver: tar
arch: amd64
+ tags: ''
#----------
- os: darwin
compiler: gcc
archiver: tar
arch: arm64
+ 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
@@ -85,11 +90,11 @@ jobs:
GOOS: ${{ matrix.os }}
GOARCH: ${{ matrix.arch }}
CC: ${{ matrix.compiler }}
- CGO_ENABLED: 0
+ CGO_ENABLED: 1
LDFLAGS: >-
-s
run: |
- go build -trimpath -ldflags "$LDFLAGS" -o "./${{ steps.values.outputs.binary-name }}" protoc_plugins/protoc-gen-php-grpc/main.go
+ go build ${{ matrix.tags }} -trimpath -ldflags "$LDFLAGS" -o "./${{ steps.values.outputs.binary-name }}" protoc_plugins/protoc-gen-php-grpc/main.go
stat "./${{ steps.values.outputs.binary-name }}"
gpg --detach-sign --armor "./${{ steps.values.outputs.binary-name }}"
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 8ac3a953..6eb3b215 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -119,7 +119,7 @@ jobs:
env:
GOOS: ${{ matrix.os }}
GOARCH: amd64
- 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 }}