Files
ortools-clone/.github/workflows/bazel_docker.yml
2022-04-13 13:31:42 +02:00

26 lines
692 B
YAML

name: Bazel Docker
on: [push, pull_request]
jobs:
bazel:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.allow_failure }}
strategy:
matrix:
distro: [alpine, archlinux, centos, debian, fedora, opensuse, ubuntu]
allow_failure: [false]
fail-fast: 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