Skip to content

Commit f95165c

Browse files
committed
fixup
1 parent a817dc8 commit f95165c

34 files changed

+330
-75
lines changed

.github/workflows/aarch64_toolchain.yml

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: aarch64 Toolchain
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:

.github/workflows/amd64_cmake_glop_cpp.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
# ref: https://github.com/actions/runner-images
12
name: amd64 CMake Glop C++
23

34
on: [push, pull_request, workflow_dispatch]
45

6+
concurrency:
7+
group: ${{github.workflow}}-${{github.ref}}
8+
cancel-in-progress: true
9+
510
jobs:
611
docker:
712
name: amd64•Docker•CMake•Glop

.github/workflows/amd64_docker_bazel.yml

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: amd64 Docker Bazel
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
bazel:
812
strategy:

.github/workflows/amd64_docker_cmake.yml

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: amd64 Docker 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
cmake:
812
strategy:

.github/workflows/amd64_freebsd_cmake.yml

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ 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
# Only macos-12 runner provide virtualisation with vagrant/virtualbox installed.
610
# ref: https://github.com/actions/runner-images/tree/main/images/macos
711
# ref: https://app.vagrantup.com/generic/boxes/freebsd13

.github/workflows/amd64_linux_bazel.yml

+10
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: amd64 Linux Bazel
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:
@@ -61,3 +65,9 @@ jobs:
6165
-c opt
6266
--test_output=errors
6367
//ortools/... //examples/...
68+
69+
amd64_linux_bazel:
70+
runs-on: ubuntu-latest
71+
needs: native
72+
steps:
73+
- uses: actions/checkout@v4

.github/workflows/amd64_linux_cmake_coinor_off.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: amd64 Linux CMake CoinOR OFF
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:
@@ -15,7 +19,7 @@ jobs:
1519
{language: 'Python', args: '-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF -DBUILD_PYTHON=ON'},
1620
]
1721
fail-fast: false
18-
name: amd64•Linux•CMake•${{matrix.cmake.language}}•CoinOR OFF
22+
name: amd64•Linux•CMake•${{matrix.cmake.language}}•CoinOR=OFF
1923
runs-on: ubuntu-latest
2024
steps:
2125
- uses: actions/checkout@v4

.github/workflows/amd64_linux_cmake_cpp.yml

+20-10
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,36 @@ name: amd64 Linux CMake C++
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: amd64•Linux•${{matrix.cmake.generator}}•C++
14+
matrix:
15+
cmake: [
16+
{name: "Make", generator: "Unix Makefiles", config: Release},
17+
{name: "Ninja", generator: "Ninja", config: Release},
18+
{name: "Ninja Multi", generator: "Ninja Multi-Config", config: Release},
19+
]
20+
fail-fast: false
21+
name: amd64•Linux•CMake(${{matrix.cmake.name}})•C++
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
3034
-G "${{matrix.cmake.generator}}"
31-
-DCMAKE_BUILD_TYPE="$BUILD_TYPE"
35+
-DCMAKE_BUILD_TYPE=${{matrix.cmake.config}}
3236
-DBUILD_DEPS=ON
3337
-DCMAKE_INSTALL_PREFIX=install
3438
- name: Build
@@ -50,3 +54,9 @@ jobs:
5054
--config ${{matrix.cmake.config}}
5155
--target install
5256
-v
57+
58+
amd64_linux_cmake_cpp:
59+
runs-on: ubuntu-latest
60+
needs: native
61+
steps:
62+
- uses: actions/checkout@v4

.github/workflows/amd64_linux_cmake_dotnet.yml

+11-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: amd64 Linux CMake .Net
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:
@@ -20,7 +24,7 @@ jobs:
2024
dotnet-version: 6.0.x
2125
- name: Check dotnet
2226
run: dotnet --info
23-
- name: Check cmake
27+
- name: Check CMake
2428
run: cmake --version
2529
- name: Configure
2630
run: >
@@ -48,4 +52,9 @@ jobs:
4852
--config Release
4953
--target install
5054
-v
51-
-- DESTDIR=install
55+
56+
amd64_linux_cmake_dotnet:
57+
runs-on: ubuntu-latest
58+
needs: native
59+
steps:
60+
- uses: actions/checkout@v4

.github/workflows/amd64_linux_cmake_glpk_on.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ name: amd64 Linux CMake GLPK ON
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:
9-
name: amd64•Linux•CMake•GLPK ON
13+
name: amd64•Linux•CMake•GLPK=ON
1014
runs-on: ubuntu-latest
1115
steps:
1216
- uses: actions/checkout@v4

.github/workflows/amd64_linux_cmake_java.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: amd64 Linux CMake Java
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:
@@ -16,7 +20,7 @@ jobs:
1620
swig -version
1721
- name: Check java
1822
run: java -version
19-
- name: Check cmake
23+
- name: Check CMake
2024
run: cmake --version
2125
- name: Configure
2226
run: >
@@ -44,3 +48,9 @@ jobs:
4448
--config Release
4549
--target install
4650
-v
51+
52+
amd64_linux_cmake_java:
53+
runs-on: ubuntu-latest
54+
needs: native
55+
steps:
56+
- uses: actions/checkout@v4

.github/workflows/amd64_linux_cmake_no_lp_parser.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ name: amd64 Linux CMake C++ LP_PARSER OFF
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:
9-
name: amd64•Linux•CMake•LP_PARSER OFF
13+
name: amd64•Linux•CMake•LP_PARSER=OFF
1014
runs-on: ubuntu-latest
1115
steps:
1216
- uses: actions/checkout@v4

.github/workflows/amd64_linux_cmake_python.yml

+18-8
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,19 @@ name: amd64 Linux CMake Python
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:
1014
matrix:
1115
cmake: [
12-
{generator: "Ninja", config: Release, build_target: all, test_target: test, install_target: install},
13-
{generator: "Ninja Multi-Config", config: Release, build_target: all, test_target: test, install_target: install},
14-
{generator: "Unix Makefiles", config: Release, build_target: all, test_target: test, install_target: install},
16+
{name: "Make", generator: "Unix Makefiles", config: Release},
17+
{name: "Ninja", generator: "Ninja", config: Release},
18+
{name: "Ninja Multi", generator: "Ninja Multi-Config", config: Release},
1519
]
1620
python: [
1721
{version: "3.9"},
@@ -21,7 +25,7 @@ jobs:
2125
{version: "3.13"},
2226
]
2327
fail-fast: false
24-
name: amd64•Linux•${{matrix.cmake.generator}}•Python-${{matrix.python.version}}
28+
name: amd64•Linux•CMake(${{matrix.cmake.name}})•Python-${{matrix.python.version}}
2529
runs-on: ubuntu-latest
2630
steps:
2731
- uses: actions/checkout@v4
@@ -39,7 +43,7 @@ jobs:
3943
python-version: ${{matrix.python.version}}
4044
- name: Update Path
4145
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
42-
- name: Check cmake
46+
- name: Check CMake
4347
run: cmake --version
4448
- name: Configure
4549
run: >
@@ -53,18 +57,24 @@ jobs:
5357
run: >
5458
cmake --build build
5559
--config ${{matrix.cmake.config}}
56-
--target ${{matrix.cmake.build_target}}
60+
--target all
5761
-v -j2
5862
- name: Test
5963
run: >
6064
CTEST_OUTPUT_ON_FAILURE=1
6165
cmake --build build
6266
--config ${{matrix.cmake.config}}
63-
--target ${{matrix.cmake.test_target}}
67+
--target test
6468
-v
6569
- name: Install
6670
run: >
6771
cmake --build build
6872
--config ${{matrix.cmake.config}}
69-
--target ${{matrix.cmake.install_target}}
73+
--target install
7074
-v
75+
76+
amd64_linux_cmake_python:
77+
runs-on: ubuntu-latest
78+
needs: native
79+
steps:
80+
- uses: actions/checkout@v4

.github/workflows/amd64_linux_cmake_scip_off.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: amd64 Linux CMake SCIP OFF
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:
@@ -15,7 +19,7 @@ jobs:
1519
{language: 'Python', args: '-DBUILD_CXX_SAMPLES=OFF -DBUILD_CXX_EXAMPLES=OFF -DBUILD_PYTHON=ON'},
1620
]
1721
fail-fast: false
18-
name: amd64•Linux•CMake•${{matrix.cmake.language}}•SCIP OFF
22+
name: amd64•Linux•CMake•${{matrix.cmake.language}}•SCIP=OFF
1923
runs-on: ubuntu-latest
2024
steps:
2125
- uses: actions/checkout@v4

.github/workflows/amd64_linux_cmake_system_deps.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,18 @@ name: amd64 Linux CMake System Dependencies
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
native:
812
strategy:
913
matrix:
1014
distro: [system_deps]
1115
lang: [cpp, python, dotnet, java]
1216
fail-fast: false
13-
name: amd64•Archlinux•CMake•${{matrix.lang}}•BUILD_DEPS OFF
17+
name: amd64•Archlinux•CMake•${{matrix.lang}}•BUILD_DEPS=OFF
1418
runs-on: ubuntu-latest
1519
steps:
1620
- uses: actions/checkout@v4

.github/workflows/amd64_macos_bazel.yml

+10
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: amd64 MacOS Bazel
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:
@@ -54,3 +58,9 @@ jobs:
5458
-c opt
5559
--test_output=errors
5660
//ortools/... //examples/...
61+
62+
amd64_macos_bazel:
63+
runs-on: ubuntu-latest
64+
needs: native
65+
steps:
66+
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)