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 53 54 55 56 57 58
|
---
name: daily
on:
schedule:
- cron: "0 0 * * *"
jobs:
build_head_images:
container: deividrodriguez/byebug:3.2.9-gcc
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
compiler: [clang, gcc]
steps:
- uses: actions/checkout@v5
- name: Install Docker client
run: |
apk add curl
curl -L -o /tmp/docker.tgz https://download.docker.com/linux/static/stable/x86_64/docker-19.03.5.tgz
tar -xz --strip-components 1 -C /usr/bin -f /tmp/docker.tgz
- name: Setup environment
run: bin/setup.sh
- name: Build and push docker image
run: bin/rake docker:build_and_push_head[${{ matrix.compiler }}]
env:
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
continue-on-error: true
test_head_images:
container: deividrodriguez/byebug:head-${{ matrix.compiler }}
needs: build_head_images
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
compiler: [clang, gcc]
steps:
- name: Run CI checks
run: |
bin/setup.sh
bin/rake
timeout-minutes: 10
|