File: daily.yml

package info (click to toggle)
ruby-byebug 13.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,288 kB
  • sloc: ruby: 9,013; ansic: 1,692; makefile: 4; sh: 4
file content (58 lines) | stat: -rw-r--r-- 1,167 bytes parent folder | download
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