Skip to content
Merged

Dev #218

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*.txt text
*.h text
*.c text
*.rb text
*.yml text
*.vcproj text eol=crlf
*.sh text eol=lf
78 changes: 39 additions & 39 deletions .github/workflows/mri.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: >-
${{ matrix.os }} ${{ matrix.ruby }}${{ matrix.yjit }}
env:
TESTOPTS: -v
runs-on: ${{ matrix.os }}
if: |
!( contains(github.event.pull_request.title, '[ci skip]')
|| contains(github.event.pull_request.title, '[skip ci]'))
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
ruby: ['3.0', '3.1', '3.2', '3.3']
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby-pkgs@v1
with:
ruby-version: ${{ matrix.ruby }}
apt-get: libxml2-dev
# brew: libxml2
mingw: libxml2
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
timeout-minutes: 10
- name: Build
run: bundle exec rake compile
- name: Test
run: bundle exec rake test
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
name: >-
${{ matrix.os }} ${{ matrix.ruby }}${{ matrix.yjit }}
env:
TESTOPTS: -v

runs-on: ${{ matrix.os }}
if: |
!( contains(github.event.pull_request.title, '[ci skip]')
|| contains(github.event.pull_request.title, '[skip ci]'))
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
ruby: ['3.2', '3.3', '3.4']
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby-pkgs@v1
with:
ruby-version: ${{ matrix.ruby }}
apt-get: libxml2-dev
# brew: libxml2
mingw: libxml2
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
timeout-minutes: 10
- name: Build
run: bundle exec rake compile
- name: Test
run: bundle exec rake test
Loading