Skip to content

Commit

Permalink
First attempt at having a macOS build in Buildkite
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio committed May 31, 2024
1 parent 977685a commit ac6dd43
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
agents:
queue: mac
env:
IMAGE_ID: $IMAGE_ID

steps:
- label: Test code signing fetching
command: |
npm ci
make package-osx
plugins:
- $CI_TOOLKIT_PLUGIN
- $NVM_PLUGIN
13 changes: 13 additions & 0 deletions .buildkite/shared-pipeline-vars
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

# This file is `source`'d before calling `buildkite-agent pipeline upload`, and can be used
# to set up some variables that will be interpolated in the `.yml` pipeline before uploading it.

# The ~> modifier is not currently used, but we check for it just in case
XCODE_VERSION=$(sed -E -n 's/^(~> )?(.*)/xcode-\2/p' .xcode-version)
CI_TOOLKIT_PLUGIN_VERSION='3.3.0'
NVM_PLUGIN_VERSION='0.3.0'

export IMAGE_ID="$XCODE_VERSION"
export CI_TOOLKIT_PLUGIN="automattic/a8c-ci-toolkit#$CI_TOOLKIT_PLUGIN_VERSION"
export NVM_PLUGIN="automattic/nvm#$NVM_PLUGIN_VERSION"
1 change: 1 addition & 0 deletions .xcode-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
15.4

0 comments on commit ac6dd43

Please sign in to comment.