-
-
Notifications
You must be signed in to change notification settings - Fork 328
61 lines (44 loc) · 1.33 KB
/
daily.yml
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
59
60
61
---
name: daily
on:
schedule:
- cron: "0 0 * * *"
jobs:
build_head_images:
container: deividrodriguez/byebug:2.7.2-readline-gcc
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
line_editor: [libedit, readline]
compiler: [clang, gcc]
steps:
- uses: actions/checkout@v2
- 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.line_editor }},${{ matrix.compiler }}]
env:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
continue-on-error: true
test_head_images:
container: deividrodriguez/byebug:head-${{ matrix.line_editor }}-${{ matrix.compiler }}
needs: build_head_images
runs-on: ubuntu-18.04
strategy:
fail-fast: false
matrix:
line_editor: [libedit, readline]
compiler: [clang, gcc]
steps:
- name: Run CI checks
run: |
bin/setup.sh
bin/rake
timeout-minutes: 15