Skip to content

Commit

Permalink
ci/chore: remove the buildmode specified in CI (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
shenghuang147 authored Aug 12, 2023
1 parent 3ee7b63 commit 4e71d68
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 27 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@ jobs:
strategy:
matrix:
goos: [ linux ]
goarch: [ 386, riscv64, mips64, mips64le, mipsle, mips ]
goarch: [ arm64, 386, riscv64, mips64, mips64le, mipsle, mips ]
include:
# BEGIN Linux ARM 5 6 7 64
- goos: linux
goarch: arm64
buildargs: -buildmode=pie
# BEGIN Linux ARM 5 6 7
- goos: linux
goarch: arm
goarm: 7
Expand All @@ -33,15 +30,12 @@ jobs:
- goos: linux
goarch: amd64
goamd64: v1
buildargs: -buildmode=pie
- goos: linux
goarch: amd64
goamd64: v2
buildargs: -buildmode=pie
- goos: linux
goarch: amd64
goamd64: v3
buildargs: -buildmode=pie
# END Linux AMD64 v1 v2 v3
fail-fast: false

Expand All @@ -52,7 +46,6 @@ jobs:
GOARM: ${{ matrix.goarm }}
GOAMD64: ${{ matrix.goamd64 }}
CGO_ENABLED: 0
BUILD_ARGS: ${{ matrix.buildargs }}

steps:
- name: Checkout codebase
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@ jobs:
strategy:
matrix:
goos: [ linux ]
goarch: [ 386, riscv64, mips64, mips64le, mipsle, mips ]
goarch: [ arm64, 386, riscv64, mips64, mips64le, mipsle, mips ]
include:
# BEGIN Linux ARM 5 6 7 64
- goos: linux
goarch: arm64
buildargs: -buildmode=pie
# BEGIN Linux ARM 5 6 7
- goos: linux
goarch: arm
goarm: 7
Expand All @@ -33,15 +30,12 @@ jobs:
- goos: linux
goarch: amd64
goamd64: v1
buildargs: -buildmode=pie
- goos: linux
goarch: amd64
goamd64: v2
buildargs: -buildmode=pie
- goos: linux
goarch: amd64
goamd64: v3
buildargs: -buildmode=pie
# END Linux AMD64 v1 v2 v3
fail-fast: false

Expand All @@ -52,7 +46,6 @@ jobs:
GOARM: ${{ matrix.goarm }}
GOAMD64: ${{ matrix.goamd64 }}
CGO_ENABLED: 0
BUILD_ARGS: ${{ matrix.buildargs }}

steps:
- name: Checkout codebase
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/seed-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,9 @@ jobs:
strategy:
matrix:
goos: [ linux ]
goarch: [ 386, riscv64, mips64, mips64le, mipsle, mips ]
goarch: [ arm64, 386, riscv64, mips64, mips64le, mipsle, mips ]
include:
# BEGIN Linux ARM 5 6 7 64
- goos: linux
goarch: arm64
buildargs: -buildmode=pie
# BEGIN Linux ARM 5 6 7
- goos: linux
goarch: arm
goarm: 7
Expand All @@ -50,15 +47,12 @@ jobs:
- goos: linux
goarch: amd64
goamd64: v1
buildargs: -buildmode=pie
- goos: linux
goarch: amd64
goamd64: v2
buildargs: -buildmode=pie
- goos: linux
goarch: amd64
goamd64: v3
buildargs: -buildmode=pie
# END Linux AMD64 v1 v2 v3
fail-fast: false

Expand All @@ -69,7 +63,6 @@ jobs:
GOARM: ${{ matrix.goarm }}
GOAMD64: ${{ matrix.goamd64 }}
CGO_ENABLED: 0
BUILD_ARGS: ${{ matrix.buildargs }}

steps:
- name: Checkout codebase
Expand Down

0 comments on commit 4e71d68

Please sign in to comment.