workflows: build all packages with full ldflags
test / test (push) Successful in 20s
Details
test / test (push) Successful in 20s
Details
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
parent
d7df24c999
commit
aa067436a7
|
@ -30,8 +30,14 @@ jobs:
|
||||||
|
|
||||||
- name: Build for Linux
|
- name: Build for Linux
|
||||||
run: >-
|
run: >-
|
||||||
sh -c "go build -v -ldflags '-s -w -X main.Version=${{ github.ref_name }}' -o bin/fortify &&
|
go build -v -ldflags '-s -w
|
||||||
sha256sum --tag -b bin/fortify > bin/fortify.sha256"
|
-X git.ophivana.moe/security/fortify/internal.Version=${{ github.ref_name }}
|
||||||
|
-X git.ophivana.moe/security/fortify/internal.Fsu=/usr/bin/fsu
|
||||||
|
-X git.ophivana.moe/security/fortify/internal.Fshim=/usr/libexec/fortify/fshim
|
||||||
|
-X git.ophivana.moe/security/fortify/internal.Finit=/usr/libexec/fortify/finit
|
||||||
|
-X main.Fmain=/usr/bin/fortify'
|
||||||
|
-o bin/ ./... &&
|
||||||
|
(cd bin && sha512sum --tag -b * > sha512sums)
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
id: use-go-action
|
id: use-go-action
|
||||||
|
|
|
@ -33,5 +33,11 @@ jobs:
|
||||||
|
|
||||||
- name: Build for Linux
|
- name: Build for Linux
|
||||||
run: >-
|
run: >-
|
||||||
sh -c "go build -v -ldflags '-s -w -X main.Version=${{ github.ref_name }}' -o bin/fortify &&
|
go build -v -ldflags '-s -w
|
||||||
sha256sum --tag -b bin/fortify > bin/fortify.sha256"
|
-X git.ophivana.moe/security/fortify/internal.Version=${{ github.ref_name }}
|
||||||
|
-X git.ophivana.moe/security/fortify/internal.Fsu=/usr/bin/fsu
|
||||||
|
-X git.ophivana.moe/security/fortify/internal.Fshim=/usr/libexec/fortify/fshim
|
||||||
|
-X git.ophivana.moe/security/fortify/internal.Finit=/usr/libexec/fortify/finit
|
||||||
|
-X main.Fmain=/usr/bin/fortify'
|
||||||
|
-o bin/ ./... &&
|
||||||
|
(cd bin && sha512sum --tag -b * > sha512sums)
|
||||||
|
|
Loading…
Reference in New Issue