Skip to content

Commit 6722fe6

Browse files
authored
Merge pull request #348 from wordpress-mobile/ci-speedup
Speed up Build & Test on CI
2 parents db3d737 + 310838c commit 6722fe6

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.buildkite/gem-push.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
#!/bin/bash -eu
22

3+
GEM_NAME="fastlane-plugin-wpmreleasetoolkit"
4+
35
echo "--- :hammer: Build Gemspec"
4-
gem build fastlane-plugin-wpmreleasetoolkit.gemspec
6+
gem build "$GEM_NAME.gemspec" -o "$GEM_NAME.gem"
57

68
echo "--- :sleuth_or_spy: Validate Gem Install"
7-
gem install --user-install fastlane-plugin-wpmreleasetoolkit-*.gem
9+
gem install --user-install "$GEM_NAME.gem"
810

911
echo "--- :rubygems: Gem Push"
1012
echo ":rubygems_api_key: ${RUBYGEMS_API_KEY}" >>".gem-credentials"
1113
chmod 600 ".gem-credentials"
12-
gem push --config-file ".gem-credentials" fastlane-plugin-wpmreleasetoolkit-*.gem
14+
gem push --config-file ".gem-credentials" "$GEM_NAME.gem"

.buildkite/pipeline.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ steps:
2424
- label: "🧪 Build and Test"
2525
key: test
2626
command: |
27-
# We only need this for tasks running on a Mac
28-
brew install pkg-config git-lfs libxml2 imagemagick@6
29-
3027
echo "--- :git: Setting up git-lfs"
28+
brew install git-lfs
3129
git-lfs install
3230
3331
echo "--- :rubygems: Setting up Gems"

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ _None_
1818

1919
### Internal Changes
2020

21-
_None_
21+
* Speed up our CI by removing now-useless installation of ImageMagick on CI to run the "Build and Test" step. [#348]
2222

2323
## 4.0.0
2424

0 commit comments

Comments
 (0)