Merge pull request #144 from jhawthorn/memory_leak_fixes #603
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: | |
- main | |
tags: | |
- v* | |
pull_request: | |
jobs: | |
build: | |
name: ${{ format('Build ({0}, {1}, {2})', matrix.mysql, matrix.distribution, matrix.ruby) }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
mysql: ["5.7", "8"] | |
distribution: ["debian:buster", "ubuntu:focal", "ubuntu:bionic"] | |
ruby: ["3.2"] | |
include: | |
- mysql: "5.7" | |
distribution: "debian:buster" | |
ruby: "1.9" | |
- mysql: "5.7" | |
distribution: "debian:buster" | |
ruby: "2.8" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: docker login | |
run: echo $GITHUB_TOKEN | docker login ghcr.io --username trilogy --password-stdin | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run tests | |
env: | |
MYSQL_VERSION: ${{ matrix.mysql }} | |
DISTRIBUTION: ${{ matrix.distribution }} | |
RUBY_VERSION: ${{ matrix.ruby }} | |
run: script/cibuild |