Skip to content

Commit c3d1cba

Browse files
committed
add M1 pipeline on Buildkite
1 parent c73c1f8 commit c3d1cba

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

.buildkite/pipeline.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
steps:
2+
- label: ":hammer: Specs"
3+
commands:
4+
- echo "--- Initialize git"
5+
- git submodule update --init
6+
- ./.github/scripts/setup_test_repo.sh
7+
- echo "--- Bundler"
8+
- gem install bundler:1.17.3
9+
- bundle config path vendor/bundle
10+
- bundle install --jobs 4 --retry 3 --without debugging documentation
11+
- echo "+++ Run Specs"
12+
- bundle exec rake spec

.github/scripts/setup_test_repo.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/sh
22
cd spec/fixtures/spec-repos/test_repo
3+
rm -rf .git || true
34
git init
45
git remote add origin https://bitbucket.com/test/test_repo.git

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ coverage/
1313
.idea/
1414
documentation/
1515
.bundle/
16+
vendor/bundle
1617

1718
# trunk source
1819
spec/fixtures/spec-repos/trunk/**/*.etag

0 commit comments

Comments
 (0)