-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (47 loc) · 947 Bytes
/
ci.yml
File metadata and controls
47 lines (47 loc) · 947 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: ci
on:
push:
branches:
- master
pull_request:
branches:
- '**'
jobs:
test:
strategy:
fail-fast: true
matrix:
ruby:
- '3.5.0-preview1'
- '3.4'
- '3.3'
- '3.2'
- '3.1'
- '3.0'
os:
- ubuntu
- macos
include:
- ruby: head
os: ubuntu
experimental: true
- ruby: head
os: macos
experimental: true
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: false
- name: Generate Makefile
run: ruby ext/arraybuffer/extconf.rb
- name: Compile gem
run: make
- name: Which bundler?
run: bundle -v
- name: Bundle install
run: bundle install
- name: Run rspec
run: bundle exec rspec -I.