Skip to content

Commit 8ca1a34

Browse files
committed
Add GitHub Actions CI workflow.
1 parent 90cd52d commit 8ca1a34

3 files changed

Lines changed: 49 additions & 34 deletions

File tree

.github/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SketchUp Ruby API Stubs
22

3-
[![Gem Version](https://badge.fury.io/rb/sketchup-api-stubs.svg)](https://badge.fury.io/rb/sketchup-api-stubs) [![Build status](https://ci.appveyor.com/api/projects/status/6l5tqoawh44lut66/branch/master?svg=true)](https://ci.appveyor.com/project/thomthom/ruby-api-stubs/branch/master)
3+
[![Gem Version](https://badge.fury.io/rb/sketchup-api-stubs.svg)](https://badge.fury.io/rb/sketchup-api-stubs) ![Build status](https://github.com/thomthom/skippy/actions/workflows/rake.yaml/badge.svg?branch=main)
44

55
Auto-generated stubs for the SketchUp Ruby API. Useful for IDE intellisense and auto-complete.
66

.github/workflows/rake.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Rake
2+
3+
on:
4+
push:
5+
branches: [ main, master, dev/github-actions ]
6+
paths-ignore:
7+
- '**.md'
8+
pull_request:
9+
paths-ignore:
10+
- '**.md'
11+
workflow_dispatch:
12+
13+
permissions:
14+
contents: read # to fetch code (actions/checkout)
15+
16+
jobs:
17+
rake:
18+
name: >-
19+
OS ${{ matrix.os }}, Ruby ${{ matrix.ruby }}
20+
env:
21+
CI: true
22+
23+
runs-on: ${{ matrix.os }}
24+
if: |
25+
!( contains(github.event.pull_request.title, '[ci skip]')
26+
|| contains(github.event.pull_request.title, '[skip ci]'))
27+
strategy:
28+
fail-fast: false
29+
matrix:
30+
os: [ macos-12, windows-2022 ]
31+
ruby: [ 2.7 ]
32+
33+
steps:
34+
- name: Checkout source
35+
uses: actions/checkout@v3
36+
with:
37+
submodules: recursive
38+
39+
- name: Setup Ruby
40+
uses: ruby/setup-ruby-pkgs@v1
41+
with:
42+
ruby-version: ${{ matrix.ruby }}
43+
bundler-cache: true
44+
timeout-minutes: 10
45+
46+
- name: Run rake
47+
timeout-minutes: 10
48+
run: bundle exec rake

appveyor.yml

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

0 commit comments

Comments
 (0)