|
1 | | -name: CI |
2 | | - |
3 | | -on: |
4 | | - push: |
5 | | - branches: [ master ] |
6 | | - pull_request: |
7 | | - branches: [ master ] |
8 | | - |
9 | | -jobs: |
10 | | - build: |
11 | | - name: >- |
12 | | - ${{ matrix.os }} ${{ matrix.ruby }}${{ matrix.yjit }} |
13 | | - env: |
14 | | - TESTOPTS: -v |
15 | | - |
16 | | - runs-on: ${{ matrix.os }} |
17 | | - if: | |
18 | | - !( contains(github.event.pull_request.title, '[ci skip]') |
19 | | - || contains(github.event.pull_request.title, '[skip ci]')) |
20 | | - strategy: |
21 | | - fail-fast: false |
22 | | - matrix: |
23 | | - os: [ubuntu-latest, macos-latest, windows-latest] |
24 | | - ruby: ['3.0', '3.1', '3.2', '3.3'] |
25 | | - steps: |
26 | | - - uses: actions/checkout@v3 |
27 | | - - name: Set up Ruby |
28 | | - uses: ruby/setup-ruby-pkgs@v1 |
29 | | - with: |
30 | | - ruby-version: ${{ matrix.ruby }} |
31 | | - apt-get: libxml2-dev |
32 | | - # brew: libxml2 |
33 | | - mingw: libxml2 |
34 | | - bundler-cache: true # runs 'bundle install' and caches installed gems automatically |
35 | | - timeout-minutes: 10 |
36 | | - - name: Build |
37 | | - run: bundle exec rake compile |
38 | | - - name: Test |
39 | | - run: bundle exec rake test |
| 1 | +name: CI |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + branches: [ master ] |
| 6 | + pull_request: |
| 7 | + branches: [ master ] |
| 8 | + |
| 9 | +jobs: |
| 10 | + build: |
| 11 | + name: >- |
| 12 | + ${{ matrix.os }} ${{ matrix.ruby }}${{ matrix.yjit }} |
| 13 | + env: |
| 14 | + TESTOPTS: -v |
| 15 | + |
| 16 | + runs-on: ${{ matrix.os }} |
| 17 | + if: | |
| 18 | + !( contains(github.event.pull_request.title, '[ci skip]') |
| 19 | + || contains(github.event.pull_request.title, '[skip ci]')) |
| 20 | + strategy: |
| 21 | + fail-fast: false |
| 22 | + matrix: |
| 23 | + os: [ubuntu-latest, macos-latest, windows-latest] |
| 24 | + ruby: ['3.2', '3.3', '3.4'] |
| 25 | + steps: |
| 26 | + - uses: actions/checkout@v4 |
| 27 | + - name: Set up Ruby |
| 28 | + uses: ruby/setup-ruby-pkgs@v1 |
| 29 | + with: |
| 30 | + ruby-version: ${{ matrix.ruby }} |
| 31 | + apt-get: libxml2-dev |
| 32 | + # brew: libxml2 |
| 33 | + mingw: libxml2 |
| 34 | + bundler-cache: true # runs 'bundle install' and caches installed gems automatically |
| 35 | + timeout-minutes: 10 |
| 36 | + - name: Build |
| 37 | + run: bundle exec rake compile |
| 38 | + - name: Test |
| 39 | + run: bundle exec rake test |
0 commit comments