Skip to content

Commit

Permalink
add M1 pipeline on Buildkite
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-makarov committed Jan 24, 2021
1 parent c73c1f8 commit 8b6961a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
steps:
- label: ":hammer: Specs"
agents:
m1: true
commands:
- echo "--- Initialize git"
- git submodule update --init
- ./.github/scripts/setup_test_repo.sh
- echo "--- Bundler"
- gem install bundler:1.17.3
- bundle config path vendor/bundle
- bundle install --jobs 4 --retry 3 --without debugging documentation
- echo "+++ Run Specs"
- bundle exec rake spec
1 change: 1 addition & 0 deletions .github/scripts/setup_test_repo.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
cd spec/fixtures/spec-repos/test_repo
rm -rf .git || true
git init
git remote add origin https://bitbucket.com/test/test_repo.git
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ coverage/
.idea/
documentation/
.bundle/
vendor/bundle

# trunk source
spec/fixtures/spec-repos/trunk/**/*.etag
Expand Down

0 comments on commit 8b6961a

Please sign in to comment.