-
Notifications
You must be signed in to change notification settings - Fork 287
46 lines (37 loc) · 998 Bytes
/
ci.yml
File metadata and controls
46 lines (37 loc) · 998 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
name: Rugged CI
on:
pull_request:
push:
branches:
- master
- maint/*
jobs:
build:
strategy:
fail-fast: false
matrix:
ruby: [ '~> 2.4', '~> 2.5', '~> 2.6' ]
os: [ ubuntu-18.04, macOS-10.14 ]
runs-on: ${{ matrix.os }}
name: ${{ matrix.ruby }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- name: Update submodules
run: git submodule init && git submodule update
- name: Install Linux packages
if: runner.os == 'Linux'
run: |
sudo apt update
sudo apt install -y cmake libssh2-1-dev openssh-client openssh-server
- name: Install macOS packages
if: runner.os == 'macOS'
run: ./vendor/libgit2/azure-pipelines/setup-osx.sh
- name: Set up Ruby
uses: actions/setup-ruby@v1
with:
version: ${{ matrix.ruby }}
- name: run build
run: |
gem install bundler
bundle install --path vendor
./script/travisbuild