forked from masamitsu-murase/seven_zip_ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (29 loc) · 997 Bytes
/
Copy pathci.yml
File metadata and controls
31 lines (29 loc) · 997 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
name: Rspec
on:
push:
branches: [ master, reconstruct_ci ]
pull_request:
branches: [ master ]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos, windows]
# It seems that Ruby 2.4 or this gem has a bug related to this gem.
ruby: [2.1, 2.2, 2.3, 2.5, 2.6, 2.7, head]
runs-on: ${{ matrix.os }}-latest
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.os == 'macos' || matrix.ruby == 'debug' }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
# - run: sudo apt-get install p7zip-full
# if: ${{ matrix.os == 'ubuntu' }}
# - run: brew update && brew tap wk8/p7zip9.20 && brew install p7zip920
# if: ${{ matrix.os == 'macos' }}
- run: gem update bundler
- run: bundle install
- run: bundle exec rake build_local
- run: bundle exec rspec spec/seven_zip_ruby_spec.rb