From 8ce0060a062ab77e7e245e8c7819b9fcfcb3b61a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Scha=CC=88fer?= <101886095+PeterSchafer@users.noreply.github.com> Date: Mon, 2 Oct 2023 15:44:54 +0200 Subject: [PATCH] feat: build + sign macos arm64 --- .circleci/config.yml | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index caa25deff5..ac4f7ffb0a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -495,7 +506,7 @@ workflows: dont_skip_tests: 0 - acceptance-tests: - name: acceptance-tests macOS amd64 + name: acceptance-tests macOS arm64 context: - nodejs-install - team_hammerhead-cli @@ -503,9 +514,9 @@ workflows: 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: @@ -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