docker_bazel.yml 694 Bytes
Newer Older
Valentin Platzgummer's avatar
Valentin Platzgummer committed
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
name: Docker Bazel

on: [push, pull_request]

jobs:
  Distros:
    runs-on: ubuntu-latest
    continue-on-error: ${{ matrix.allow_failure }}
    strategy:
      fail-fast: false
      matrix:
        distro: [alpine, archlinux, centos, debian, fedora, opensuse, ubuntu]
        allow_failure: [false]
    env:
      DISTRO: ${{ matrix.distro }}
    steps:
    - uses: actions/checkout@v2
    - name: Build env image
      run: make --directory=bazel ${DISTRO}_env
    - name: Build devel image
      run: make --directory=bazel ${DISTRO}_devel
    - name: Build project
      run: make --directory=bazel ${DISTRO}_build
    - name: Test project
      run: make --directory=bazel ${DISTRO}_test