-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (34 loc) · 1.1 KB
/
ci.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
name: CI
on:
pull_request:
push:
schedule:
- cron: '25 11 * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ABBREV_MATRIX: ['min-stage1']
SUITE_MATRIX: ['bookworm', 'trixie', 'sid']
OWNER_MATRIX: ['rubyonracetracks']
DISTRO_MATRIX: ['debian']
env:
ABBREV: ${{ matrix.ABBREV_MATRIX }}
SUITE: ${{ matrix.SUITE_MATRIX }}
OWNER: ${{ matrix.OWNER_MATRIX }}
DISTRO: ${{ matrix.DISTRO_MATRIX }}
steps:
- uses: actions/checkout@v3
- name: Set the parameters
run: bash ci-parameters.sh
- name: Run the setup script
run: bash setup.sh
- name: Download the Docker image
run: cd tmp/$ABBREV/$SUITE && bash download-image.sh
- name: Create the Docker container from the Docker image
run: cd tmp/$ABBREV/$SUITE && bash container-create.sh
- name: Start the Docker container
run: cd tmp/$ABBREV/$SUITE && bash container-start.sh
- name: Run /usr/local/bin/check in the Docker container
run: cd tmp/$ABBREV/$SUITE && bash container-test.sh