1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
---
name: ubuntu
on:
pull_request:
push:
branches:
- main
jobs:
configure:
runs-on: ubuntu-24.04
outputs:
uid_gid: ${{ steps.get-user.outputs.uid_gid }}
steps:
- id: get-user
run: echo "uid_gid=$(id -u):$(id -g)" >> $GITHUB_OUTPUT
test:
needs: configure
name: Ruby ${{ matrix.version.name }} (${{ matrix.compiler }})
container:
image: deividrodriguez/byebug:${{ matrix.version.value }}-${{ matrix.compiler }}
options: --user ${{ needs.configure.outputs.uid_gid }}
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
version:
- { name: 3.2, value: 3.2.9 }
- { name: 3.3, value: 3.3.9 }
compiler: [clang, gcc]
steps:
- uses: actions/checkout@v5
- name: Run CI checks
run: |
bin/setup.sh
bin/rake
timeout-minutes: 10
|