Merge pull request #33 from ksss/ruby-3.2 #61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
ubuntu-latest-gcc: | |
strategy: | |
matrix: | |
mruby-version: | |
- 2.1.2 | |
include: | |
- mruby-version: 3.0.0 | |
disable-presym: 'true' | |
- mruby-version: 3.0.0 | |
disable-presym: 'false' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2' | |
- name: Build and test | |
env: | |
CC: gcc | |
CXX: g++ | |
MRUBY_VERSION: ${{ matrix.mruby-version }} | |
DISABLE_PRESYM: ${{ matrix.disable-presym }} | |
run: rake test | |
ubuntu-latest-clang: | |
strategy: | |
matrix: | |
mruby-version: | |
- 2.1.2 | |
include: | |
- mruby-version: 3.0.0 | |
disable-presym: 'true' | |
- mruby-version: 3.0.0 | |
disable-presym: 'false' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2' | |
- name: Build and test | |
env: | |
CC: clang | |
CXX: clang++ | |
MRUBY_VERSION: ${{ matrix.mruby-version }} | |
DISABLE_PRESYM: ${{ matrix.disable-presym }} | |
run: rake test | |
ubuntu-latest-mingw: | |
strategy: | |
matrix: | |
mruby-version: | |
- 2.1.2 | |
include: | |
- mruby-version: 3.0.0 | |
disable-presym: 'true' | |
- mruby-version: 3.0.0 | |
disable-presym: 'false' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2' | |
- name: apt | |
run: sudo apt install mingw-w64 | |
- name: Build and test | |
env: | |
TARGET: windows-x86_64 | |
MRUBY_VERSION: ${{ matrix.mruby-version }} | |
DISABLE_PRESYM: ${{ matrix.disable-presym }} | |
run: rake test | |
windows-mingw: | |
strategy: | |
matrix: | |
mruby-version: | |
- 2.1.2 | |
include: | |
- mruby-version: 3.0.0 | |
disable-presym: 'true' | |
- mruby-version: 3.0.0 | |
disable-presym: 'false' | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2' | |
- name: Build and test | |
env: | |
CFLAGS: -g -O1 -Wall -Wundef | |
MRUBY_VERSION: ${{ matrix.mruby-version }} | |
DISABLE_PRESYM: ${{ matrix.disable-presym }} | |
run: rake test |