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