-
Notifications
You must be signed in to change notification settings - Fork 2.1k
35 lines (32 loc) · 1.47 KB
/
amd64_docker_cmake.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
# ref: https://github.com/docker-library/official-images
name: amd64 Docker CMake
on: [push, pull_request, workflow_dispatch]
jobs:
cmake:
strategy:
matrix:
distro: [almalinux, alpine, archlinux, debian, fedora, opensuse, rockylinux, ubuntu]
lang: [cpp, python, dotnet, java]
fail-fast: false
name: ${{ matrix.distro }} • CMake • ${{ matrix.lang }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build base image
run: make --directory=cmake ${{ matrix.distro }}_base
- name: Build env image
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_env
- name: Build devel image
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_devel
- name: Build project
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_build
- name: Test project
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_test
- name: Build install env image
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_env
- name: Build install devel image
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_devel
- name: Build install project
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_build
- name: Test install project
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_test