-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (38 loc) · 980 Bytes
/
system.yml
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
name: system
concurrency:
group: "${{github.workflow}}-${{github.ref}}"
cancel-in-progress: true
on:
workflow_dispatch:
schedule:
- cron: "0 8 * * 3" # At 08:00 on Wednesday # https://crontab.guru/#0_8_*_*_3
push:
branches:
- main
- v*.*.x
tags:
- v*.*.*
pull_request:
types: [opened, synchronize]
branches:
- '*'
jobs:
system:
strategy:
fail-fast: false
matrix:
ruby: ["2.6", "2.7", "3.0", "3.1"]
runs-on: ["ubuntu-latest", "macos-latest", "windows-latest"]
runs-on: ${{matrix.runs-on}}
steps:
- uses: actions/checkout@v2
- uses: MSP-Greg/setup-ruby-pkgs@v1
with:
working-directory: system
ruby-version: ${{matrix.ruby}}
bundler-cache: true
mingw: "libyaml" # windows
apt-get: "libyaml-dev" # linux
brew: "libyaml" # macos
- run: bundle exec rake compile test
working-directory: system