Skip to content

Commit a817dc8

Browse files
committed
ci: cleanup workflows
1 parent 8ad77ac commit a817dc8

33 files changed

+210
-207
lines changed

.github/workflows/aarch64_toolchain.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
matrix:
1111
targets: [aarch64, aarch64be]
1212
fail-fast: false
13-
name: LinuxToolchain ${{ matrix.targets }}
13+
name: LinuxToolchain ${{matrix.targets}}
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
1717
- name: Build env stage
18-
run: make --directory=cmake toolchain_${{ matrix.targets }}_env
18+
run: make --directory=cmake toolchain_${{matrix.targets}}_env
1919
- name: Build devel stage
20-
run: make --directory=cmake toolchain_${{ matrix.targets }}_devel
20+
run: make --directory=cmake toolchain_${{matrix.targets}}_devel
2121
- name: Build build stage
22-
run: make --directory=cmake toolchain_${{ matrix.targets }}_build
22+
run: make --directory=cmake toolchain_${{matrix.targets}}_build
2323
- name: Build Test stage
24-
run: make --directory=cmake toolchain_${{ matrix.targets }}_test
24+
run: make --directory=cmake toolchain_${{matrix.targets}}_test

.github/workflows/amd64_cmake_glop_cpp.yml

+13-9
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request, workflow_dispatch]
44

55
jobs:
66
docker:
7-
name: DockerCMakeGlop
7+
name: amd64•DockerCMakeGlop
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
@@ -31,6 +31,7 @@ jobs:
3131
matrix:
3232
cmake: [
3333
{
34+
platform: amd64,
3435
runner: "ubuntu-latest",
3536
generator: "Unix Makefiles",
3637
config: Release,
@@ -39,6 +40,7 @@ jobs:
3940
install_target: install
4041
},
4142
{
43+
platform: amd64,
4244
runner: "macos-13", # last macos intel based runner
4345
generator: "Xcode",
4446
config: Release,
@@ -47,6 +49,7 @@ jobs:
4749
install_target: install
4850
},
4951
{
52+
platform: arm64,
5053
runner: "macos-latest", # macos arm64 based runner
5154
generator: "Xcode",
5255
config: Release,
@@ -55,6 +58,7 @@ jobs:
5558
install_target: install
5659
},
5760
{
61+
platform: amd64,
5862
runner: "windows-latest",
5963
generator: "Visual Studio 17 2022",
6064
config: Release,
@@ -64,29 +68,29 @@ jobs:
6468
},
6569
]
6670
fail-fast: false
67-
name: ${{ matrix.cmake.runner }} • CMakeGlop
68-
runs-on: ${{ matrix.cmake.runner }}
71+
name: ${{matrix.cmake.platform}}•${{matrix.cmake.runner}}•CMakeGlop
72+
runs-on: ${{matrix.cmake.runner}}
6973
steps:
7074
- uses: actions/checkout@v4
7175
- name: Check cmake
7276
run: cmake --version
7377
- name: Configure
7478
run: >
7579
cmake -S. -Bbuild
76-
-G "${{ matrix.cmake.generator }}"
77-
-DCMAKE_BUILD_TYPE=${{ matrix.cmake.config }}
80+
-G "${{matrix.cmake.generator}}"
81+
-DCMAKE_BUILD_TYPE=${{matrix.cmake.config}}
7882
-DBUILD_DEPS=ON
7983
-DBUILD_CXX=OFF -DBUILD_GLOP=ON
8084
-DCMAKE_INSTALL_PREFIX=install
8185
- name: Build
8286
run: >
8387
cmake --build build
84-
--config ${{ matrix.cmake.config }}
85-
--target ${{ matrix.cmake.build_target }}
88+
--config ${{matrix.cmake.config}}
89+
--target ${{matrix.cmake.build_target}}
8690
-v -j2
8791
- name: Install
8892
run: >
8993
cmake --build build
90-
--config ${{ matrix.cmake.config }}
91-
--target ${{ matrix.cmake.install_target }}
94+
--config ${{matrix.cmake.config}}
95+
--target ${{matrix.cmake.install_target}}
9296
-v

.github/workflows/amd64_docker_bazel.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ jobs:
77
bazel:
88
strategy:
99
matrix:
10-
platform: [amd64] # arm64 riscv64
1110
distro: [
1211
almalinux,
1312
# alpine,
@@ -19,7 +18,7 @@ jobs:
1918
ubuntu
2019
]
2120
fail-fast: false
22-
name: ${{ matrix.platform }} • ${{ matrix.distro }} • Bazel
21+
name: amd64•${{matrix.distro}}•Bazel
2322
runs-on: ubuntu-latest
2423
steps:
2524
- uses: actions/checkout@v4
@@ -28,10 +27,10 @@ jobs:
2827
docker info
2928
docker buildx ls
3029
- name: Build env image
31-
run: make --directory=bazel ${{ matrix.platform }}_${{ matrix.distro }}_env
30+
run: make --directory=bazel amd64_${{matrix.distro}}_env
3231
- name: Build devel image
33-
run: make --directory=bazel ${{ matrix.platform }}_${{ matrix.distro }}_devel
32+
run: make --directory=bazel amd64_${{matrix.distro}}_devel
3433
- name: Build project
35-
run: make --directory=bazel ${{ matrix.platform }}_${{ matrix.distro }}_build
34+
run: make --directory=bazel amd64_${{matrix.distro}}_build
3635
- name: Test project
37-
run: make --directory=bazel ${{ matrix.platform }}_${{ matrix.distro }}_test
36+
run: make --directory=bazel amd64_${{matrix.distro}}_test

.github/workflows/amd64_docker_cmake.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@ jobs:
1010
distro: [almalinux, alpine, archlinux, debian, fedora, opensuse, rockylinux, ubuntu]
1111
lang: [cpp, python, dotnet, java]
1212
fail-fast: false
13-
name: ${{ matrix.distro }} • CMake${{ matrix.lang }}
13+
name: amd64•${{matrix.distro}}•CMake${{matrix.lang}}
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
1717
- name: Build base image
18-
run: make --directory=cmake ${{ matrix.distro }}_base
18+
run: make --directory=cmake amd64_${{matrix.distro}}_base
1919
- name: Build env image
20-
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_env
20+
run: make --directory=cmake amd64_${{matrix.distro}}_${{matrix.lang}}_env
2121
- name: Build devel image
22-
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_devel
22+
run: make --directory=cmake amd64_${{matrix.distro}}_${{matrix.lang}}_devel
2323
- name: Build project
24-
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_build
24+
run: make --directory=cmake amd64_${{matrix.distro}}_${{matrix.lang}}_build
2525
- name: Test project
26-
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_test
26+
run: make --directory=cmake amd64_${{matrix.distro}}_${{matrix.lang}}_test
2727

2828
- name: Build install env image
29-
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_env
29+
run: make --directory=cmake amd64_${{matrix.distro}}_${{matrix.lang}}_install_env
3030
- name: Build install devel image
31-
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_devel
31+
run: make --directory=cmake amd64_${{matrix.distro}}_${{matrix.lang}}_install_devel
3232
- name: Build install project
33-
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_build
33+
run: make --directory=cmake amd64_${{matrix.distro}}_${{matrix.lang}}_install_build
3434
- name: Test install project
35-
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}_install_test
35+
run: make --directory=cmake amd64_${{matrix.distro}}_${{matrix.lang}}_install_test

.github/workflows/amd64_freebsd_cmake.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- distro: freebsd
2121
lang: java
2222
allow_failure: true
23-
name: FreeBSDCMake${{ matrix.lang }}
23+
name: amd64•FreeBSDCMake${{matrix.lang}}
2424
runs-on: macos-12
2525
steps:
2626
- uses: actions/checkout@v4
@@ -29,4 +29,4 @@ jobs:
2929
- name: VirtualBox version
3030
run: virtualbox -h
3131
- name: Build
32-
run: make --directory=cmake ${{ matrix.distro }}_${{ matrix.lang }}
32+
run: make --directory=cmake ${{matrix.distro}}_${{matrix.lang}}

.github/workflows/amd64_linux_bazel.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
#{version: '3.13'},
1616
]
1717
fail-fast: false
18-
name: LinuxBazelPython-${{ matrix.python.version }}
18+
name: amd64•LinuxBazelPython-${{matrix.python.version}}
1919
runs-on: ubuntu-latest
2020
env:
2121
CC: gcc-12
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup Python
3030
uses: actions/setup-python@v5
3131
with:
32-
python-version: ${{ matrix.python.version }}
32+
python-version: ${{matrix.python.version}}
3333
- name: Check Python
3434
run: python --version
3535
- name: Install Bazel
@@ -43,11 +43,11 @@ jobs:
4343
run: bazel version
4444
- name: Change Python in .bazelrc
4545
run: |
46-
sed -i -e 's/\(python_version=\)3.[0-9]\+/\1${{ matrix.python.version }}/g' .bazelrc
46+
sed -i -e 's/\(python_version=\)3.[0-9]\+/\1${{matrix.python.version}}/g' .bazelrc
4747
cat .bazelrc
4848
- name: Change Python in .bazelrc
4949
run: |
50-
sed -i -e 's/\(DEFAULT_PYTHON =\) "3.[0-9]\+"/\1 "${{ matrix.python.version }}"/g' MODULE.bazel
50+
sed -i -e 's/\(DEFAULT_PYTHON =\) "3.[0-9]\+"/\1 "${{matrix.python.version}}"/g' MODULE.bazel
5151
cat MODULE.bazel
5252
- name: Build
5353
run: >

.github/workflows/amd64_linux_cmake_coinor_off.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
{language: 'Python', args: '-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF -DBUILD_PYTHON=ON'},
1616
]
1717
fail-fast: false
18-
name: LinuxCMake${{ matrix.cmake.language }} • CoinOR OFF
18+
name: amd64•LinuxCMake${{matrix.cmake.language}}•CoinOR OFF
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v4
@@ -48,7 +48,7 @@ jobs:
4848
-DCMAKE_BUILD_TYPE=Release
4949
-DBUILD_DEPS=ON
5050
-DUSE_COINOR=OFF
51-
${{ matrix.cmake.args }}
51+
${{matrix.cmake.args}}
5252
- name: Build
5353
run: >
5454
cmake --build build

.github/workflows/amd64_linux_cmake_cpp.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
{generator: "Ninja Multi-Config", config: "Release"},
1515
]
1616
fail-fast: false
17-
name: Linux${{ matrix.cmake.generator }} • C++
17+
name: amd64•Linux${{matrix.cmake.generator}}•C++
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4
@@ -27,26 +27,26 @@ jobs:
2727
- name: Configure
2828
run: >
2929
cmake -S. -Bbuild
30-
-G "${{ matrix.cmake.generator }}"
30+
-G "${{matrix.cmake.generator}}"
3131
-DCMAKE_BUILD_TYPE="$BUILD_TYPE"
3232
-DBUILD_DEPS=ON
3333
-DCMAKE_INSTALL_PREFIX=install
3434
- name: Build
3535
run: >
3636
cmake --build build
37-
--config ${{ matrix.cmake.config }}
37+
--config ${{matrix.cmake.config}}
3838
--target all
3939
-v -j2
4040
- name: Test
4141
run: >
4242
CTEST_OUTPUT_ON_FAILURE=1
4343
cmake --build build
44-
--config ${{ matrix.cmake.config }}
44+
--config ${{matrix.cmake.config}}
4545
--target test
4646
-v
4747
- name: Install
4848
run: >
4949
cmake --build build
50-
--config ${{ matrix.cmake.config }}
50+
--config ${{matrix.cmake.config}}
5151
--target install
5252
-v

.github/workflows/amd64_linux_cmake_dotnet.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on: [push, pull_request, workflow_dispatch]
66
# Building using the github runner environement directly.
77
jobs:
88
native:
9-
name: LinuxCMake.Net
9+
name: amd64•LinuxCMake.Net
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4

.github/workflows/amd64_linux_cmake_glpk_on.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on: [push, pull_request, workflow_dispatch]
66
# Building using the github runner environement directly.
77
jobs:
88
native:
9-
name: LinuxCMakeGLPK ON
9+
name: amd64•LinuxCMakeGLPK ON
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4

.github/workflows/amd64_linux_cmake_java.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on: [push, pull_request, workflow_dispatch]
66
# Building using the github runner environement directly.
77
jobs:
88
native:
9-
name: LinuxCMakeJava
9+
name: amd64•LinuxCMakeJava
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4

.github/workflows/amd64_linux_cmake_no_lp_parser.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on: [push, pull_request, workflow_dispatch]
66
# Building using the github runner environement directly.
77
jobs:
88
native:
9-
name: LinuxCMakeLP_PARSER OFF
9+
name: amd64•LinuxCMakeLP_PARSER OFF
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4

.github/workflows/amd64_linux_cmake_python.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
{version: "3.13"},
2222
]
2323
fail-fast: false
24-
name: Linux${{ matrix.cmake.generator }} • Python-${{ matrix.python.version }}
24+
name: amd64•Linux${{matrix.cmake.generator}}•Python-${{matrix.python.version}}
2525
runs-on: ubuntu-latest
2626
steps:
2727
- uses: actions/checkout@v4
@@ -36,35 +36,35 @@ jobs:
3636
- name: Setup Python
3737
uses: actions/setup-python@v5
3838
with:
39-
python-version: ${{ matrix.python.version }}
39+
python-version: ${{matrix.python.version}}
4040
- name: Update Path
4141
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
4242
- name: Check cmake
4343
run: cmake --version
4444
- name: Configure
4545
run: >
4646
cmake -S. -Bbuild
47-
-G "${{ matrix.cmake.generator }}"
48-
-DCMAKE_BUILD_TYPE=${{ matrix.cmake.config }}
47+
-G "${{matrix.cmake.generator}}"
48+
-DCMAKE_BUILD_TYPE=${{matrix.cmake.config}}
4949
-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF
5050
-DBUILD_PYTHON=ON
5151
-DCMAKE_INSTALL_PREFIX=install
5252
- name: Build
5353
run: >
5454
cmake --build build
55-
--config ${{ matrix.cmake.config }}
56-
--target ${{ matrix.cmake.build_target }}
55+
--config ${{matrix.cmake.config}}
56+
--target ${{matrix.cmake.build_target}}
5757
-v -j2
5858
- name: Test
5959
run: >
6060
CTEST_OUTPUT_ON_FAILURE=1
6161
cmake --build build
62-
--config ${{ matrix.cmake.config }}
63-
--target ${{ matrix.cmake.test_target }}
62+
--config ${{matrix.cmake.config}}
63+
--target ${{matrix.cmake.test_target}}
6464
-v
6565
- name: Install
6666
run: >
6767
cmake --build build
68-
--config ${{ matrix.cmake.config }}
69-
--target ${{ matrix.cmake.install_target }}
68+
--config ${{matrix.cmake.config}}
69+
--target ${{matrix.cmake.install_target}}
7070
-v

.github/workflows/amd64_linux_cmake_scip_off.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
{language: 'Python', args: '-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF -DBUILD_PYTHON=ON'},
1616
]
1717
fail-fast: false
18-
name: LinuxCMake${{ matrix.cmake.language }} • SCIP OFF
18+
name: amd64•LinuxCMake${{matrix.cmake.language}}•SCIP OFF
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v4
@@ -48,7 +48,7 @@ jobs:
4848
-DCMAKE_BUILD_TYPE=Release
4949
-DBUILD_DEPS=ON
5050
-DUSE_SCIP=OFF
51-
${{ matrix.cmake.args }}
51+
${{matrix.cmake.args}}
5252
- name: Build
5353
run: >
5454
cmake --build build

0 commit comments

Comments
 (0)