summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2023-06-27 02:01:47 +0200
committerValery Piashchynski <[email protected]>2023-06-27 02:01:47 +0200
commit89054b44f7ed01013c15cf6f0b89762290224c7a (patch)
tree76ee0c66031e167f0527d5b68c95d8648cc8187f /.github
parentf156c45a3003a31288fbc6528022fe8257fd478f (diff)
chore: use pgo for the RR builds
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index ac11782f..9f096bf5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -91,7 +91,7 @@ jobs:
-X github.com/roadrunner-server/roadrunner/v2023/internal/meta.version=${{ steps.values.outputs.version }}
-X github.com/roadrunner-server/roadrunner/v2023/internal/meta.buildTime=${{ steps.values.outputs.timestamp }}
run: |
- go build -trimpath -ldflags "$LDFLAGS" -o "./${{ steps.values.outputs.binary-name }}" ./cmd/rr
+ go build -pgo=roadrunner.pprof -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 }}"