Skip to content

Commit 27dc7fe

Browse files
committed
ci: rename
1 parent 1192c6e commit 27dc7fe

20 files changed

+382
-292
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# ref: https://toolchains.bootlin.com/
2-
name: aarch64 Toolchain
2+
name: aarch64 Toolchain CMake
33

44
on: [push, pull_request, workflow_dispatch]
55

6+
concurrency:
7+
group: ${{github.workflow}}-${{github.ref}}
8+
cancel-in-progress: true
9+
610
# Building using the github runner environement directly.
711
jobs:
812
aarch64:
@@ -16,17 +20,17 @@ jobs:
1620
aarch64be # bootlin
1721
]
1822
fail-fast: false
19-
name: LinuxToolchain ${{ matrix.targets }}
23+
name: LinuxToolchain ${{matrix.targets}}
2024
runs-on: ubuntu-latest
2125
steps:
2226
- uses: actions/checkout@v4
2327
- name: Build env stage
24-
run: make --directory=ci toolchain_${{ matrix.targets }}_env
28+
run: make --directory=ci toolchain_${{matrix.targets}}_env
2529
- name: Build devel stage
26-
run: make --directory=ci toolchain_${{ matrix.targets }}_devel
30+
run: make --directory=ci toolchain_${{matrix.targets}}_devel
2731
- name: Build toolchain stage
28-
run: make --directory=ci toolchain_${{ matrix.targets }}_toolchain
32+
run: make --directory=ci toolchain_${{matrix.targets}}_toolchain
2933
- name: Build build stage
30-
run: make --directory=ci toolchain_${{ matrix.targets }}_build
34+
run: make --directory=ci toolchain_${{matrix.targets}}_build
3135
- name: Build Test stage
32-
run: make --directory=ci toolchain_${{ matrix.targets }}_test
36+
run: make --directory=ci toolchain_${{matrix.targets}}_test

.github/workflows/amd64_docker.yml

-45
This file was deleted.
+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# ref: https://github.com/docker-library/official-images
2+
name: amd64 Docker CMake
3+
4+
on: [push, pull_request, workflow_dispatch]
5+
6+
concurrency:
7+
group: ${{github.workflow}}-${{github.ref}}
8+
cancel-in-progress: true
9+
10+
jobs:
11+
docker:
12+
strategy:
13+
matrix:
14+
platform: [amd64] # arm64 riscv64
15+
distro: [
16+
almalinux,
17+
alpine,
18+
archlinux,
19+
debian,
20+
fedora,
21+
opensuse,
22+
rockylinux,
23+
ubuntu
24+
]
25+
fail-fast: false
26+
name: ${{matrix.platform}}•${{matrix.distro}}•CMake
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v4
30+
- name: Check docker
31+
run: |
32+
docker info
33+
docker buildx ls
34+
- name: Build env image
35+
run: make --directory=ci ${{matrix.platform}}_${{matrix.distro}}_env
36+
- name: Build devel image
37+
run: make --directory=ci ${{matrix.platform}}_${{matrix.distro}}_devel
38+
- name: Build project
39+
run: make --directory=ci ${{matrix.platform}}_${{matrix.distro}}_build
40+
- name: Test project
41+
run: make --directory=ci ${{matrix.platform}}_${{matrix.distro}}_test
42+
43+
- name: Build install env image
44+
run: make --directory=ci ${{matrix.platform}}_${{matrix.distro}}_install_env
45+
- name: Build install devel image
46+
run: make --directory=ci ${{matrix.platform}}_${{matrix.distro}}_install_devel
47+
- name: Build install project
48+
run: make --directory=ci ${{matrix.platform}}_${{matrix.distro}}_install_build
49+
- name: Test install project
50+
run: make --directory=ci ${{matrix.platform}}_${{matrix.distro}}_install_test
51+
52+
amd64_docker_cmake:
53+
runs-on: ubuntu-latest
54+
needs: docker
55+
steps:
56+
- uses: actions/checkout@v4

.github/workflows/amd64_freebsd.yml .github/workflows/amd64_freebsd_cmake.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
name: amd64 FreeBSD
1+
name: amd64 FreeBSD CMake
22

33
on: [push, pull_request, workflow_dispatch]
44

5+
concurrency:
6+
group: ${{github.workflow}}-${{github.ref}}
7+
cancel-in-progress: true
8+
59
jobs:
610
# Only macos runner provide virtualisation with vagrant/virtualbox installed.
711
freebsd:
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,61 @@
11
# ref: https://github.com/actions/runner-images
2-
name: amd64 Linux
2+
name: amd64 Linux CMake
33

44
on: [push, pull_request, workflow_dispatch]
55

6+
concurrency:
7+
group: ${{github.workflow}}-${{github.ref}}
8+
cancel-in-progress: true
9+
610
# Building using the github runner environement directly.
711
jobs:
812
native:
913
strategy:
10-
matrix:
11-
cmake: [
12-
{generator: "Unix Makefiles", config: "Release"},
13-
{generator: "Ninja", config: "Release"},
14-
{generator: "Ninja Multi-Config", config: "Release"},
15-
]
16-
fail-fast: false
17-
name: Linux${{ matrix.cmake.generator }}
14+
matrix:
15+
cmake: [
16+
{generator: "Unix Makefiles", config: "Release"},
17+
{generator: "Ninja", config: "Release"},
18+
{generator: "Ninja Multi-Config", config: "Release"},
19+
]
20+
fail-fast: false
21+
name: Linux•CMake(${{matrix.cmake.generator}})
1822
runs-on: ubuntu-latest
1923
steps:
2024
- uses: actions/checkout@v4
2125
- name: Install Ninja
2226
run: |
2327
sudo apt-get update
2428
sudo apt-get install ninja-build
25-
- name: Check cmake
29+
- name: Check CMake
2630
run: cmake --version
2731
- name: Configure
2832
run: >
2933
cmake -S. -Bbuild
30-
-G "${{ matrix.cmake.generator }}"
31-
-DCMAKE_BUILD_TYPE="$BUILD_TYPE"
34+
-G "${{matrix.cmake.generator}}"
35+
-DCMAKE_BUILD_TYPE=${{matrix.cmake.config}}
3236
-DCMAKE_INSTALL_PREFIX=install
3337
- name: Build
3438
run: >
3539
cmake --build build
36-
--config ${{ matrix.cmake.config }}
40+
--config ${{matrix.cmake.config}}
3741
--target all
3842
-v -j2
3943
- name: Test
4044
run: >
4145
CTEST_OUTPUT_ON_FAILURE=1
4246
cmake --build build
43-
--config ${{ matrix.cmake.config }}
47+
--config ${{matrix.cmake.config}}
4448
--target test
4549
-v
4650
- name: Install
4751
run: >
4852
cmake --build build
49-
--config ${{ matrix.cmake.config }}
53+
--config ${{matrix.cmake.config}}
5054
--target install
5155
-v
56+
57+
amd64_linux_cmake:
58+
runs-on: ubuntu-latest
59+
needs: native
60+
steps:
61+
- uses: actions/checkout@v4

.github/workflows/amd64_macos.yml

-46
This file was deleted.
+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# ref: https://github.com/actions/runner-images
2+
name: amd64 MacOS CMake
3+
4+
on: [push, pull_request, workflow_dispatch]
5+
6+
concurrency:
7+
group: ${{github.workflow}}-${{github.ref}}
8+
cancel-in-progress: true
9+
10+
# Building using the github runner environement directly.
11+
jobs:
12+
native:
13+
strategy:
14+
matrix:
15+
cmake: [
16+
{name: "Xcode", generator: "Xcode", config: Release, build_target: ALL_BUILD, test_target: RUN_TESTS, install_target: install},
17+
{name: "Make", generator: "Unix Makefiles", config: Release, build_target: all, test_target: test, install_target: install},
18+
]
19+
fail-fast: false
20+
name: MacOS•CMake(${{matrix.cmake.name}})
21+
runs-on: macos-13 # last macos intel based runner
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: Check CMake
25+
run: cmake --version
26+
- name: Configure
27+
run: >
28+
cmake -S. -Bbuild
29+
-G "${{matrix.cmake.generator}}"
30+
-DCMAKE_BUILD_TYPE=${{matrix.cmake.config}}
31+
-DCMAKE_INSTALL_PREFIX=install
32+
- name: Build
33+
run: >
34+
cmake --build build
35+
--config ${{matrix.cmake.config}}
36+
--target ${{matrix.cmake.build_target}}
37+
-v -j2
38+
- name: Test
39+
run: >
40+
CTEST_OUTPUT_ON_FAILURE=1
41+
cmake --build build
42+
--config ${{matrix.cmake.config}}
43+
--target ${{matrix.cmake.test_target}}
44+
-v
45+
- name: Install
46+
run: >
47+
cmake --build build
48+
--config ${{matrix.cmake.config}}
49+
--target ${{matrix.cmake.install_target}}
50+
-v
51+
52+
amd64_macos_cmake:
53+
runs-on: ubuntu-latest
54+
needs: native
55+
steps:
56+
- uses: actions/checkout@v4

.github/workflows/amd64_web.yml .github/workflows/amd64_web_cmake.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# ref: https://github.com/docker-library/official-images
2-
name: amd64 Web
2+
name: amd64 Web CMake
33

44
on: [push, pull_request, workflow_dispatch]
55

6+
concurrency:
7+
group: ${{github.workflow}}-${{github.ref}}
8+
cancel-in-progress: true
9+
610
jobs:
711
Distros:
812
runs-on: ubuntu-latest

.github/workflows/amd64_windows.yml

-50
This file was deleted.

0 commit comments

Comments
 (0)