Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add M1 pipeline on Buildkite #672

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
igor-makarov marked this conversation as resolved.
Show resolved Hide resolved
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
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ begin
end

task :all do
title 'Running Unit Tests'
sh "bundle exec bacon #{specs('**')}"

title 'Checking code style...'
Rake::Task['rubocop'].invoke if RUBY_VERSION >= '1.9.3'

title 'Running Unit Tests'
sh "bundle exec bacon #{specs('**')}"
end
end

Expand Down