Skip to content

install GCC to CI

install GCC to CI #167

Workflow file for this run

name: Ruby
on:
push:
branches:
- "**"
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
strategy:
matrix:
ruby:
- "3.4"
- "3.3"
- "3.2"
- "3.1"
os:
- ubuntu-latest
- macos-latest
steps:
- name: Set up GCC
if: ${{ matrix.os }} == 'ubuntu-latest'
uses: egor-tensin/setup-gcc@v1
with:
version: latest
platform: x64
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run the default task
run: bundle exec rake