Merge pull request #177 from fey/176_fix_for_linux_mint_22 #93
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, pull_request] | |
jobs: | |
tests-on-x86-mac: | |
runs-on: macos-13 | |
strategy: | |
matrix: | |
ruby-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: Install dependencies | |
run: bundle install | |
- name: Run tests with Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }} | |
run: bundle exec rake | |
tests-on-x86-docker: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby-version: ['3.2'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Ruby ${{ matrix.ruby-version }} on ubuntu | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: Install dependencies | |
run: bundle install | |
- name: Run tests on docker(x86) | |
run: bundle exec rake | |
tests-on-arm: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby-version: ['3.2'] | |
steps: | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
with: | |
platforms: arm64 | |
- uses: actions/checkout@v4 | |
- name: Install Ruby ${{ matrix.ruby-version }} on ubuntu | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
- name: Run tests on docker(arm64) | |
env: | |
ARM: 1 | |
COMPOSE_FILE: docker-compose-arm.yml | |
run: | | |
set -xeu | |
sudo apt update | |
sudo apt-get install -y docker-compose | |
bundle install | |
bundle exec rake | |