-
-
Notifications
You must be signed in to change notification settings - Fork 49
47 lines (39 loc) · 1.27 KB
/
ci-docker.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
name: CI Docker
# Check builds on supported Linux distributions
on:
pull_request:
paths-ignore:
- 'doc/**'
- '**.md'
- '**.rst'
- '**.txt'
jobs:
build:
name: CI on ${{ matrix.tag }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
tag: # Those are our ghcr.io/alire-project/docker/gnat:tag machines
- centos-stream-fsf-latest # Test unsupported package manager
- debian-stable # Test current stable Debian compiler
- fedora-latest # Test current Fedora compiler
- ubuntu-lts # Test current LTS Ubuntu compiler
- arch-rolling # Test Arch compiler (closest to FSF?)
steps:
- name: Check out repository
uses: actions/checkout@v2
with:
submodules: true
- name: Run test script (${{ matrix.tag }})
uses: mosteo-actions/docker-run@v1
with:
image: ghcr.io/alire-project/docker/gnat:${{matrix.tag}}
command: scripts/ci-github.sh
params: -v${PWD}:/alire -w /alire
- name: Upload logs (if failed)
if: failure()
uses: actions/upload-artifact@master
with:
name: e3-log-docker-${{ matrix.tag }}.zip
path: testsuite/out