Skip to content

Commit

Permalink
chore: "makefile help" output, but still support building based on ar…
Browse files Browse the repository at this point in the history
…ch for CI (#9579)

(cherry picked from commit 82bdbce)
  • Loading branch information
sspaink authored and reimda committed Oct 6, 2021
1 parent 0b34176 commit dac7802
Show file tree
Hide file tree
Showing 3 changed files with 179 additions and 217 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,19 +123,19 @@ commands:
- when:
condition: << parameters.release >>
steps:
- run: 'mips=1 mipsel=1 arm64=1 amd64=1 static=1 armel=1 armhf=1 s390x=1 ppc641e=1 i386=1 windows=1 darwin=1 make package'
- run: 'make package'
- when:
condition: << parameters.nightly >>
steps:
- run: 'mips=1 mipsel=1 arm64=1 amd64=1 static=1 armel=1 armhf=1 s390x=1 ppc641e=1 i386=1 windows=1 darwin=1 NIGHTLY=1 make package'
- run: 'make package'
- run: 'make upload-nightly'
- unless:
condition:
or:
- << parameters.nightly >>
- << parameters.release >>
steps:
- run: '<< parameters.type >>=1 make package'
- run: 'make package include_packages="$(make << parameters.type >>)"'
- store_artifacts:
path: './build/dist'
destination: 'build/dist'
Expand Down Expand Up @@ -215,11 +215,11 @@ jobs:
steps:
- package-build:
type: i386
ppc641e-package:
executor: go-1_17
ppc64le-package:
executor: go-1_16
steps:
- package-build:
type: ppc641e
type: ppc64le
s390x-package:
executor: go-1_17
steps:
Expand Down Expand Up @@ -391,7 +391,7 @@ workflows:
- 'i386-package':
requires:
- 'test-awaiter'
- 'ppc641e-package':
- 'ppc64le-package':
requires:
- 'test-awaiter'
- 's390x-package':
Expand Down Expand Up @@ -421,7 +421,7 @@ workflows:
- 'share-artifacts':
requires:
- 'i386-package'
- 'ppc641e-package'
- 'ppc64le-package'
- 's390x-package'
- 'armel-package'
- 'amd64-package'
Expand Down
Loading

0 comments on commit dac7802

Please sign in to comment.