forked from google/or-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1.08 KB
/
amd64_docker_bazel.yml
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
26
27
28
29
30
31
32
33
34
35
36
37
# ref: https://github.com/docker-library/official-images
name: amd64 Docker Bazel
on: [push, pull_request, workflow_dispatch]
jobs:
bazel:
strategy:
matrix:
platform: [amd64] # arm64 riscv64
distro: [
almalinux,
# alpine,
archlinux,
debian,
fedora,
opensuse,
rockylinux,
ubuntu
]
fail-fast: false
name: ${{ matrix.platform }} • ${{ matrix.distro }} • Bazel
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check docker
run: |
docker info
docker buildx ls
- name: Build env image
run: make --directory=bazel ${{ matrix.platform }}_${{ matrix.distro }}_env
- name: Build devel image
run: make --directory=bazel ${{ matrix.platform }}_${{ matrix.distro }}_devel
- name: Build project
run: make --directory=bazel ${{ matrix.platform }}_${{ matrix.distro }}_build
- name: Test project
run: make --directory=bazel ${{ matrix.platform }}_${{ matrix.distro }}_test