Skip to content

Merge pull request #35 from ksss/3.2 #66

Merge pull request #35 from ksss/3.2

Merge pull request #35 from ksss/3.2 #66

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
ubuntu-latest-gcc:
strategy:
matrix:
mruby-version:
- 3.0.0
- 3.1.0
- 3.2.0
disable-presym:
- 'true'
- 'false'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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:
- 3.0.0
- 3.1.0
- 3.2.0
disable-presym:
- 'true'
- 'false'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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:
- 3.0.0
- 3.1.0
- 3.2.0
disable-presym:
- 'true'
- 'false'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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:
- 3.0.0
- 3.1.0
- 3.2.0
disable-presym:
- 'true'
- 'false'
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- 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