Skip to content

Commit d41ec95

Browse files
committed
Move CI to Buildkite
1 parent d558c50 commit d41ec95

File tree

3 files changed

+47
-39
lines changed

3 files changed

+47
-39
lines changed

.buildkite/pipeline.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
steps:
2+
- label: ":ruby: Ruby {{matrix.ruby}}"
3+
image: "ruby:{{matrix.ruby}}"
4+
commands:
5+
- bundle install
6+
- bundle exec rake
7+
matrix:
8+
setup:
9+
ruby:
10+
- "3.3"
11+
- "3.4"
12+
13+
- label: ":ruby: Ruby head"
14+
image: "rubylang/ruby:master-dev"
15+
commands:
16+
- apt-get update && apt-get install -y libyaml-dev
17+
- bundle install
18+
- bundle exec rake

.github/workflows/docs.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: YARD Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Set up Ruby
17+
uses: ruby/setup-ruby@v1
18+
with:
19+
ruby-version: head
20+
bundler-cache: true
21+
22+
- name: Generate YARD docs
23+
run: bundle exec yard doc --no-private
24+
25+
- name: Deploy to GitHub Pages
26+
uses: peaceiris/actions-gh-pages@v4
27+
with:
28+
github_token: ${{ secrets.GITHUB_TOKEN }}
29+
publish_dir: doc

.github/workflows/main.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)