Skip to content

Tag builds done through alr build with unique build string #1251

Tag builds done through alr build with unique build string

Tag builds done through alr build with unique build string #1251

Workflow file for this run

name: CI Docker
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