Skip to content

Commit

Permalink
feat: build + sign macos arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterSchafer committed Oct 2, 2023
1 parent 953236d commit 8ce0060
Showing 1 changed file with 30 additions and 3 deletions.
33 changes: 30 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,17 @@ workflows:
requires:
- prepare-build

- build-artifact:
name: build macOS arm64
go_target_os: darwin
go_os: darwin
go_arch: arm64
go_download_base_url: << pipeline.parameters.go_download_base_url >>
executor: macos-arm64
install_deps_extension: macos-build
requires:
- prepare-build

- build-artifact:
name: build windows amd64
go_target_os: windows
Expand Down Expand Up @@ -495,17 +506,17 @@ workflows:
dont_skip_tests: 0

- acceptance-tests:
name: acceptance-tests macOS amd64
name: acceptance-tests macOS arm64
context:
- nodejs-install
- team_hammerhead-cli
filters:
branches:
ignore: master
requires:
- build macOS amd64
- build macOS arm64
executor: macos-arm64
test_snyk_command: ./binary-releases/snyk-macos
test_snyk_command: ./binary-releases/snyk-macos-arm64
install_deps_extension: macos-full

- acceptance-tests:
Expand Down Expand Up @@ -555,11 +566,27 @@ workflows:
- master
- '/.*e2e.*/'

- sign:
name: sign macos arm64
context: snyk-macos-signing
requires:
- build macOS arm64
go_os: darwin
go_arch: arm64
executor: macos-arm64
install_deps_extension: noop
filters:
branches:
only:
- master
- '/.*e2e.*/'

- create_deployment_artifacts:
name: create deployment artifacts
context: snyk-cli-pgp-signing
requires:
- sign macos amd64
- sign macos arm64
- sign windows amd64
- build alpine amd64
- build linux amd64
Expand Down

0 comments on commit 8ce0060

Please sign in to comment.