bazel(ci): Add almalinux and rockylinux, remove centos
This commit is contained in:
28
.github/workflows/amd64_docker_bazel.yml
vendored
28
.github/workflows/amd64_docker_bazel.yml
vendored
@@ -1,4 +1,4 @@
|
||||
# ref: https://github.com/actions/runner-images
|
||||
# ref: https://github.com/docker-library/official-images
|
||||
name: amd64 Docker Bazel
|
||||
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
@@ -7,17 +7,31 @@ jobs:
|
||||
bazel:
|
||||
strategy:
|
||||
matrix:
|
||||
distro: [archlinux, debian, fedora, opensuse, ubuntu]
|
||||
platform: [amd64] # arm64 riscv64
|
||||
distro: [
|
||||
almalinux,
|
||||
# alpine,
|
||||
archlinux,
|
||||
debian,
|
||||
fedora,
|
||||
opensuse,
|
||||
rockylinux,
|
||||
ubuntu
|
||||
]
|
||||
fail-fast: false
|
||||
name: ${{ matrix.distro }} • Bazel • C++
|
||||
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.distro }}_env
|
||||
run: make --directory=bazel ${{ matrix.platform }}_${{ matrix.distro }}_env
|
||||
- name: Build devel image
|
||||
run: make --directory=bazel ${{ matrix.distro }}_devel
|
||||
run: make --directory=bazel ${{ matrix.platform }}_${{ matrix.distro }}_devel
|
||||
- name: Build project
|
||||
run: make --directory=bazel ${{ matrix.distro }}_build
|
||||
run: make --directory=bazel ${{ matrix.platform }}_${{ matrix.distro }}_build
|
||||
- name: Test project
|
||||
run: make --directory=bazel ${{ matrix.distro }}_test
|
||||
run: make --directory=bazel ${{ matrix.platform }}_${{ matrix.distro }}_test
|
||||
|
||||
Reference in New Issue
Block a user