Load configuration earlier from proper location #1227
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |