Files
ortools-clone/.github/workflows/docker_bazel.yml
Mizux Seiha 477b1256ed ci(bazel): allow alpine to fail.
note: no answer from bazel team why it fail on alpine
2020-05-20 10:13:14 +02:00

29 lines
758 B
YAML

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: [archlinux, centos, debian, fedora, opensuse, ubuntu]
allow_failure: [false]
include:
- distro: alpine
allow_failure: true
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