-
Notifications
You must be signed in to change notification settings - Fork 10
56 lines (51 loc) · 1.73 KB
/
amd64_docker_cmake.yml
File metadata and controls
56 lines (51 loc) · 1.73 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# 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:
docker:
strategy:
matrix:
platform: [amd64] # arm64 riscv64
distro: [
almalinux,
alpine,
archlinux,
debian,
fedora,
opensuse,
rockylinux,
ubuntu
]
fail-fast: false
name: ${{matrix.platform}}•${{matrix.distro}}•CMake
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Check docker
run: |
docker info
docker buildx ls
- name: Build env image
run: make --directory=ci ${{matrix.platform}}_${{matrix.distro}}_env
- name: Build devel image
run: make --directory=ci ${{matrix.platform}}_${{matrix.distro}}_devel
- name: Build project
run: make --directory=ci ${{matrix.platform}}_${{matrix.distro}}_build
- name: Test project
run: make --directory=ci ${{matrix.platform}}_${{matrix.distro}}_test
- name: Build install env image
run: make --directory=ci ${{matrix.platform}}_${{matrix.distro}}_install_env
- name: Build install devel image
run: make --directory=ci ${{matrix.platform}}_${{matrix.distro}}_install_devel
- name: Build install project
run: make --directory=ci ${{matrix.platform}}_${{matrix.distro}}_install_build
- name: Test install project
run: make --directory=ci ${{matrix.platform}}_${{matrix.distro}}_install_test
amd64_docker_cmake:
runs-on: ubuntu-latest
needs: docker
steps:
- uses: actions/checkout@v6