Skip to content

Commit

Permalink
Add Buildkite step to build on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio committed May 31, 2024
1 parent 542a7ec commit 988926c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,27 @@ steps:
echo "--- Build"
make build
- label: Package on macOS
key: package-macos
env:
IMAGE_ID: $IMAGE_ID
plugins:
- $NVM_PLUGIN
# TODO: Download artifacts from "build" step, otherwise we're just wasting time!
command: |
.buildkite/commands/install_node_dependencies.sh
echo "--- Decrypt secrets"
# This comes from 'make decrypt_conf' which we cannot call because it's interactive
openssl aes-256-cbc -d -in ./resources/secrets/config.json.enc -out ./config-local.json -pbkdf2 -k $SECRETS_ENCRYPTION_KEY
echo "--- Build"
make build
echo "--- Package"
make package-osx SKIP_BUILD=true
artifact_paths:
- release/*.dmg
- release/*.dmg.blockmap
- release/latest-mac.yml

# - label: Build
# key: build
# plugins:
Expand Down

0 comments on commit 988926c

Please sign in to comment.