24 lines
750 B
YAML
24 lines
750 B
YAML
# ref: https://github.com/actions/runner-images
|
|
name: amd64 Docker Bazel
|
|
|
|
on: [push, pull_request, workflow_dispatch]
|
|
|
|
jobs:
|
|
bazel:
|
|
strategy:
|
|
matrix:
|
|
distro: [alpine, archlinux, centos, debian, fedora, opensuse, ubuntu]
|
|
fail-fast: false
|
|
name: ${{ matrix.distro }} • Bazel • C++
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Build env image
|
|
run: make --directory=bazel ${{ matrix.distro }}_env
|
|
- name: Build devel image
|
|
run: make --directory=bazel ${{ matrix.distro }}_devel
|
|
- name: Build project
|
|
run: make --directory=bazel ${{ matrix.distro }}_build
|
|
- name: Test project
|
|
run: make --directory=bazel ${{ matrix.distro }}_test
|