Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
328 commits
Select commit Hold shift + click to select a range
8b82db1
Update README.md
Mizux Jun 11, 2025
f8f4651
cmake: Add support for custom protoc executable via OR_TOOLS_PROTOC_E…
clementperon Jun 10, 2025
e25617b
reindent; span
lperron Jun 11, 2025
9ca57ad
[CP-SAT] more precedence handling; minor python improvements
lperron Jun 11, 2025
ef630e7
Merge branch 'main' of github.com:google/or-tools
lperron Jun 11, 2025
afbb563
make: Enable HiGHS support by default
Mizux Jun 11, 2025
4d9ef15
tools/release: Detect /Users path in libortools.dylib (#4674)
Mizux Jun 11, 2025
c1f2d74
dependencies: Fix MACOSX_RPATH usage (#4674)
Mizux Jun 11, 2025
c229e9f
[CP-SAT] improve python layer for += and -= operators
lperron Jun 12, 2025
d1c3c7f
[CP-SAT] more work on precedences
lperron Jun 12, 2025
6270850
bump minizinc challenge tag
lperron Jun 12, 2025
43c874a
fix
lperron Jun 12, 2025
7d58c11
improve python exprs
lperron Jun 12, 2025
b1d5100
improve python exprs
lperron Jun 12, 2025
4953c79
[CP-SAT] more work on precedences
lperron Jun 12, 2025
8abc6da
cleanup python expression code for cp-sat and model-builder
lperron Jun 13, 2025
8ff5dbe
[CP-SAT] split intervals in disjoint sets for scheduling cuts
lperron Jun 13, 2025
63b9ecd
[CP-SAT] tweak and improve code
lperron Jun 13, 2025
8a2a537
cmake: format samples
Mizux Jun 16, 2025
dd9029a
tools/release: Workaround for macos x86_64 python build failure
Mizux Jun 16, 2025
9831cdb
tools/release: add python build log
Mizux Jun 16, 2025
2524635
Fix bz2.dll install path for windows-cpp archive
flomnes Jun 16, 2025
35ee27b
graph: export from google3
Mizux Jun 16, 2025
79b86cc
constraint_solver: export from google3
Mizux Jun 16, 2025
7b67f85
cleanup and formatting
Mizux Jun 16, 2025
3467396
dependencies: bump Protobuf from v31.0 to v31.1
Mizux Jun 17, 2025
ac0fe62
gscip cleanup; linear_solver samples reident
lperron Jun 17, 2025
20f14fa
misc doc change
lperron Jun 17, 2025
1c81bd8
more gscip cleaning
lperron Jun 17, 2025
e3d4f34
[CP-SAT] more work on precedences; and no_overlap_2d
lperron Jun 17, 2025
e76ecdf
minor cleaning
lperron Jun 17, 2025
8049f03
Merge branch 'main' of github.com:google/or-tools
lperron Jun 17, 2025
e995b1a
remove model_builder support for xpress as it is not implemented; mov…
lperron Jun 17, 2025
966a597
graph: fix iterator compatibility since C++17
clementperon Jun 18, 2025
c4b01c1
reorganize gurobi and xpress side loading
lperron Jun 18, 2025
b61ec98
reorganize gurobi and xpress side loading
lperron Jun 18, 2025
91e14de
ortools: utils: keep compatibility with protobuf < 26
clementperon Jun 18, 2025
fa616a6
Merge pull request #4696 from clementperon/fix_compilation_cpp17
lperron Jun 18, 2025
c4fd63c
Merge pull request #4697 from clementperon/fix_compat_protobuf
lperron Jun 18, 2025
f1e9538
cmake: Fix cmake_minimum_required to 3.24 (#4692)
Mizux Jun 18, 2025
3365d16
routing: export from google3
Mizux Jun 16, 2025
3434ae4
tools/release: fixup
Mizux Jun 18, 2025
9888ce3
polish third_party_solvers; speed up cp-sat on no_ovrlap_2d
lperron Jun 19, 2025
6ceb6d4
tools/release: more cleanup
Mizux Jun 19, 2025
7a42226
:wq
lperron Jun 19, 2025
330a0ef
print a solution after a SIGTERM
lperron Jun 20, 2025
c14e54c
[CP-SAT] print a solution after a SIGTERM; improve precedences
lperron Jun 20, 2025
156326d
Merge branch 'v99bugfix' of github.com:google/or-tools into v99bugfix
lperron Jun 20, 2025
6d8c32c
fix
lperron Jun 20, 2025
9541e49
tools/release: fix scripts
Mizux Jun 19, 2025
9fa309b
cmake: Fix cmake_minimum_required to 3.24 (#4692)
Mizux Jun 18, 2025
78b662a
ortools: utils: keep compatibility with protobuf < 26
clementperon Jun 18, 2025
507f1d8
graph: fix iterator compatibility since C++17
clementperon Jun 18, 2025
6c973a4
graph: fix iterator compilation in C++20
Mizux Jun 18, 2025
73bfae5
Fix dockerfile ENV usage
Mizux Jun 23, 2025
333f8c1
ci: Use the default installed maven in windows_cmake_java job
Mizux Jun 23, 2025
fca7bd4
small updates
lperron Jun 23, 2025
0ac20df
[CP-SAT] improve precedences; fix #4693; tweak shared tree workers
lperron Jun 23, 2025
15824de
math_opt: export from google3
Mizux Jun 23, 2025
67aef7f
linear_solver: export from google3
Mizux Jun 23, 2025
b56b419
Update README.md
Mizux Jun 24, 2025
8ed3f8d
[CP-SAT] more tuning on shared tree workers; add parameter to limit l…
lperron Jun 24, 2025
edc06ed
cleanup dockerfile
lperron Jun 24, 2025
8b6100e
Format py files to adopt internal style
gchatelet Jun 23, 2025
478239a
Fix or-tools.code-workspace
Mizux Jun 25, 2025
a62d284
routing: export from google3
Mizux Jun 24, 2025
d013b5a
Merge pull request #4702 from google/update_format
gchatelet Jun 26, 2025
b7f7e9b
cmake: update doxygen-awesome-css from v2.1.0 to v2.3.4
Mizux Jun 26, 2025
d263eea
Fix or-tools.code-workspace
Mizux Jun 25, 2025
52d44af
cmake: update doxygen-awesome-css from v2.1.0 to v2.3.4
Mizux Jun 26, 2025
94308a9
doxygen: force light-mode for doc
Mizux Jun 26, 2025
b644c5f
cmake(ci): Rework Vagrantfile
Mizux Jun 30, 2025
835b3b3
doxygen: force light-mode for doc
Mizux Jun 26, 2025
09e7e95
cmake(ci): Rework Vagrantfile
Mizux Jun 30, 2025
5b1376b
small cleaning
lperron Jul 1, 2025
7088dab
new example
lperron Jul 1, 2025
3b63125
update code
lperron Jul 1, 2025
6c09169
missing files
lperron Jul 1, 2025
ef0a57b
cleanup from google3
Mizux Jul 2, 2025
c9ef874
pdlp: Add README.md
Mizux Jul 2, 2025
0ef0f40
cleanup from google3
Mizux Jul 2, 2025
ce6e365
pdlp: Add README.md
Mizux Jul 2, 2025
bbcb7a8
update README.md
Mizux Jul 2, 2025
6af8bd5
Turn some `.i` files into `.swig`
gchatelet Jul 2, 2025
914025a
Turn some `.i` files into `.swig`
gchatelet Jul 3, 2025
b3e91bf
examples: fix rcpsp_sat.py test
Mizux Jul 4, 2025
527c178
remove deprecated doc generation stuff
Mizux Jul 4, 2025
7acf422
sat: Fix routes_support_graph.proto namespace
Mizux Jul 4, 2025
7c06c55
cmake: set numpy to 2.0.2 as minimum
Mizux Jul 7, 2025
d90690f
math_opt: remove scaler_util (not used)
Mizux Jul 7, 2025
a2c3fa7
remove deprecated doc generation stuff
Mizux Jul 4, 2025
fe33ccf
sat: Fix routes_support_graph.proto namespace
Mizux Jul 4, 2025
7f88299
cmake: set numpy to 2.0.2 as minimum
Mizux Jul 7, 2025
76fff28
ci: disable windows cpp debug build
Mizux Jul 7, 2025
89c59c0
routing: export from google3
Mizux Jul 7, 2025
9991028
ortools: export from google3
Mizux Jul 7, 2025
2f343ee
cpp: Add DoxygenLayout.xml
Mizux Jul 4, 2025
4dd8913
doxygen: Improve C++ ref manual
Mizux Jul 4, 2025
e2a2295
doxygen: update docs
Mizux Jul 8, 2025
a99e559
ortools: cleanup export form google3
Mizux Jul 9, 2025
43aa851
ci: disable windows cpp debug build
Mizux Jul 7, 2025
781ead7
ortools: export from google3
Mizux Jul 7, 2025
3445c92
cpp: Add DoxygenLayout.xml
Mizux Jul 4, 2025
052d57d
doxygen: Improve C++ ref manual
Mizux Jul 4, 2025
24eb888
doxygen: update docs
Mizux Jul 8, 2025
9144637
ortools: cleanup export form google3
Mizux Jul 9, 2025
1d0ff09
ortools: backport from main branch
Mizux Jul 9, 2025
91cbda4
flatzinc: backport from main branch
Mizux Jul 9, 2025
aa6ccca
examples: cleanup
Mizux Jul 9, 2025
1cad6fc
doxygen: add missing ortools deps to c++ doc
Mizux Jul 9, 2025
194bf80
doxygen: add missing ortools deps to c++ doc
Mizux Jul 9, 2025
2f35555
cmake: By default do not use fuzztest unless BUILD_DEPS=ON
Mizux Jul 10, 2025
9141d05
cmake: docs fixup
Mizux Jul 10, 2025
9d3350d
cmake: Rework FindSCIP.cmake
Mizux Jul 10, 2025
14b7d49
glop: Update README.md
Mizux Jul 10, 2025
3aea3a8
Column generation Bin Packing heuristic based on CFT (#4639)
c4v4 Jul 10, 2025
c19897d
cmake: Use Boost repo instead of archive
Mizux Jul 15, 2025
959bb0d
cmake: Use Boost repo instead of archive
Mizux Jul 15, 2025
58f3c54
Add MPConstraint::Clear() to C# wrapper
rs-blade Jul 15, 2025
e5dc796
[CP-SAT] remove the use of python protobufs; use proxies to C++ proto…
lperron Jul 16, 2025
d14aa7a
cleanups
lperron Jul 16, 2025
a42647f
improve 2d packing
lperron Jul 16, 2025
ed8f742
fix python cp-sat under bazel
lperron Jul 16, 2025
442b71c
sort
lperron Jul 16, 2025
2ef89ae
Move the sample bin-packing solver from `algorithms` to `set_cover`, …
dourouc05 Jul 16, 2025
1f042bf
cleanup bin_packing_cft
Mizux Jul 15, 2025
0720713
[CP-SAT] simplify python proto generation workflow
lperron Jul 17, 2025
8ca9d11
Merge branch 'main' of github.com:google/or-tools
lperron Jul 17, 2025
04d0dbc
[CP-SAT] optimize the python layer
lperron Jul 17, 2025
d869a1f
Backport trivial changes
gchatelet Jul 18, 2025
7102b61
Revert CMakeLists.txt change
gchatelet Jul 18, 2025
7db9c0e
Backport string_view_migration.h
gchatelet Jul 18, 2025
33d3bcf
Merge pull request #4734 from google/backport_trivial_changes
gchatelet Jul 18, 2025
46f73b3
Backport trivial changes
gchatelet Jul 18, 2025
924ba73
Fix
gchatelet Jul 18, 2025
8098080
Merge pull request #4735 from google/backport_string_view_migration
gchatelet Jul 21, 2025
3b6336a
cmake: fix build when using -DUSE_SCIP=OFF
Mizux Jul 21, 2025
0e129b5
cmake: fix -DBUILD_CXX=OFF -DBUILD_GLOP=ON build
Mizux Jul 21, 2025
e4a2edc
bazel: sort dependencies logically
Mizux Jul 21, 2025
d344fd2
cmake: fix build when using -DUSE_SCIP=OFF
Mizux Jul 21, 2025
f540e75
cmake: fix -DBUILD_CXX=OFF -DBUILD_GLOP=ON build
Mizux Jul 21, 2025
4dd0267
bazel: sort dependencies logically
Mizux Jul 21, 2025
efa8b07
cmake: fix glopConfig.cmake
Mizux Jul 21, 2025
513ee8b
cmake: fix glopConfig.cmake
Mizux Jul 21, 2025
95e8a33
ci: fix system_deps python jobs not using archlinux's pybind11
Mizux Jul 21, 2025
0ab3f0f
setSolution() from Highs accepts solution hint
pavlomuts Jul 22, 2025
97636fd
test: enable primal only warm starts for Highs LP model solve parameters
pavlomuts Jul 22, 2025
fd1443e
Implement setting of partial solution, activate corresponding tests
pavlomuts Jul 22, 2025
447ce0b
Fix bazel load rules
gchatelet Jul 23, 2025
ff01f2f
Merge pull request #4740 from google/fix_bazel_rules
gchatelet Jul 23, 2025
3f48e2f
tools/docker: backport from main
Mizux Jul 23, 2025
c268b16
tools: backport from main
Mizux Jul 23, 2025
0ea743f
bazel(ci): bazelisk cleanup
Mizux Jul 23, 2025
5b6f33d
cmake: disable fuzztest by default
Mizux Jul 23, 2025
fd1b2cc
ci: remove mvn custom build in cmake windows jobs
Mizux Jul 23, 2025
cddd80e
Backport string_view_migration.h
gchatelet Jul 18, 2025
4151254
sat: backport from main
Mizux Jul 21, 2025
03e2551
set_cover: backport from main
Mizux Jul 21, 2025
a7f49a2
backport from main
Mizux Jul 23, 2025
f0d0fe7
examples: backport from main
Mizux Jul 23, 2025
6a6e57a
ci: fix system_deps python jobs not using archlinux's pybind11 3.0.0
Mizux Jul 21, 2025
5ffb66c
Fix bazel load rules
gchatelet Jul 23, 2025
abe220e
bazel/docker: bump bazelisk to 1.25
Mizux Jul 24, 2025
0a0fd2c
bazel: fixup requirements.txt
Mizux Jul 24, 2025
91e0e8a
ci: bump actions/setup-java to v4
Mizux Jul 24, 2025
6759325
Fix load statements
gchatelet Jul 24, 2025
9969443
Remove duplicated load statement
gchatelet Jul 24, 2025
f1113bc
Fix load statements
gchatelet Jul 24, 2025
f2cf147
[CP-SAT] rewrite and speed up the python layer; extend support for en…
lperron Jul 24, 2025
8b4c79d
[CP-SAT] Python: rewrite support for variable numbers of arguments
lperron Jul 26, 2025
a0e25de
[CP-SAT] extend support for enforcement literals in constraints
lperron Jul 26, 2025
374cc3e
polish code
lperron Jul 27, 2025
99ede3b
[CP-SAT] more polishing on the python API; fix #4733; improve linear2…
lperron Jul 28, 2025
87a66e6
update python typing
lperron Jul 28, 2025
13e2a14
wrap flat matrices
lperron Jul 28, 2025
a3fc200
Merge pull request #4737 from pavlomuts/highs_solution_hint
lperron Jul 29, 2025
9fa9bd4
[CP-SAT] better dtime for scheduling constraints; connect the time li…
lperron Jul 29, 2025
32bd8e0
[CP-SAT] small cleanup, more work on linear2
lperron Jul 31, 2025
b5a2f8a
math_opt: only run SCIP tests if enabled
flokli Aug 1, 2025
9fa0db8
Merge pull request #4745 from flokli/scip-tests
lperron Aug 1, 2025
4ffb359
[Bazel] enable highs for linear_solver by default; better support for…
lperron Aug 5, 2025
3bef66b
bazel: regenerate requirements.txt
Mizux Aug 6, 2025
679b042
bazel: regenerate requirements.txt
Mizux Aug 6, 2025
bcf774e
math_opt: backport from main
Mizux Aug 6, 2025
5d5a115
util: add MatrixOrFunction
Mizux Aug 6, 2025
0db80a3
sat: backport from main
Mizux Aug 6, 2025
2fd5865
bazel: fix more load statements
Mizux Aug 6, 2025
80af949
bazel: fix with_highs support
Mizux Aug 6, 2025
9cde24d
highs: rework HighsInterface::Solve
Mizux Aug 6, 2025
260856b
linear_solver: rework python typing
Mizux Aug 6, 2025
3a97726
linear_solver: backport .lp support to solve_model
Mizux Aug 6, 2025
a762c57
cmake: update docs/
Mizux Aug 7, 2025
d389457
cmake: regenerate docs/ images
Mizux Aug 7, 2025
aa28d97
Merge remote-tracking branch 'origin/v99bugfix'
Mizux Aug 7, 2025
badef91
Merge remote-tracking branch 'origin/stable' into v99bugfix
Mizux Aug 7, 2025
01d00d9
Merge remote-tracking branch 'origin/v99bugfix'
Mizux Aug 7, 2025
d206973
bazel: fix sat loads
Mizux Aug 6, 2025
d830368
ortools: export from google3
Mizux Aug 8, 2025
2d5e6f1
build(deps): bump actions/checkout in the github-actions group
dependabot[bot] Aug 12, 2025
a94366d
start supporting set variables and constraints in CP-SAT; this is ina…
lperron Aug 18, 2025
56882dd
sat: remove license boilerplate in MD
Mizux Aug 20, 2025
2a5ff96
third_party_solvers: cleanup
Mizux Aug 20, 2025
fcf4bd1
base: add temp_file
Mizux Aug 20, 2025
de5fbc4
util/python: add solve interrupter
Mizux Aug 20, 2025
4ca5464
cmake: fix ortools/util/python
Mizux Aug 19, 2025
82bc28d
math_opt: backport from google3
Mizux Aug 11, 2025
1bf2448
cmake: fix math_opt update
Mizux Aug 18, 2025
30805fd
math_opt: fix gscip_from_mp_model_proto_test
Mizux Aug 20, 2025
ba26576
[FZ] more work on native set support
lperron Aug 20, 2025
2ebe759
[FZ] support array_var_set_element
lperron Aug 21, 2025
d9756dd
ci: fixup freebsd workflow
Mizux Aug 21, 2025
0d2c2e6
lp_data: remove model_reader
Mizux Aug 21, 2025
3ca6e92
cmake: add license boilerplate to samples
Mizux Aug 21, 2025
6d31264
[FZ] support set_le and set_lt; turn off the nosets flag
lperron Aug 22, 2025
ba7e81f
ortools: various export from google3
Mizux Aug 22, 2025
ce29931
Remove unnecessary exports_files
gchatelet Aug 22, 2025
3668bf6
Remove unnecessary `exports_files`
gchatelet Aug 22, 2025
e02b6a0
[CP-SAT] update code, mostly small bug fixes
lperron Aug 22, 2025
25074dd
[FZ] supports bin_packing* macros, avoid costly expansion
lperron Aug 22, 2025
e53a7fa
cleanup from google3
Mizux Aug 25, 2025
58c5805
[FZ] refactor code; support nvalue natively
lperron Aug 26, 2025
c1f07ef
fix
lperron Aug 26, 2025
127d331
fix
lperron Aug 26, 2025
68e56e8
fix
lperron Aug 26, 2025
144f782
remove num_search_workers from example
lperron Aug 26, 2025
f479af4
fix port/os.h
lperron Aug 26, 2025
223796d
fix #4759
lperron Aug 26, 2025
d8821be
remove python shebangs
lperron Aug 26, 2025
6e872e9
[CP-SAT] change OS detection and usage
lperron Aug 26, 2025
a0a2ae1
[FZ] supports lex_less{eq} natively
lperron Aug 27, 2025
1d66e3d
cmake(ci): fix debian python and dotnet build
Mizux Aug 27, 2025
7ab56a5
math_opt: cleanup
Mizux Aug 27, 2025
128b45a
math_opt: fix visibility issue
Mizux Aug 27, 2025
bf886b0
[FZ] - Optimize varlevar and varltvar for Boolean variables
lperron Aug 27, 2025
76c4485
[FZ] minor improvements
lperron Aug 28, 2025
4f57180
add global cardinality optimizations
lperron Aug 28, 2025
28a4ef7
julia: export from google3
Mizux Aug 29, 2025
eb3bc66
base: rework message-matchers to have math_opt tests pass
Mizux Aug 27, 2025
4f0d1e9
math_opt: export some cpp/ tests
Mizux Aug 29, 2025
d7da954
math_opt: fixup
Mizux Aug 29, 2025
da07438
misc
lperron Aug 31, 2025
0e7b4c6
[CP-SAT] support enforcement literals for most constraints; support g…
lperron Aug 31, 2025
6041f1d
[FZ] add global cardinality native support; bypass expansion
lperron Aug 31, 2025
b0c1650
Merge branch 'main' of github.com:google/or-tools
lperron Aug 31, 2025
0722c93
fix
lperron Aug 31, 2025
df258ea
bazel: bump deps
Mizux Sep 2, 2025
1f483d5
math_opt: export more cpp/ tests
Mizux Aug 29, 2025
39ed3a9
base: cleanup
Mizux Sep 2, 2025
26ec0b6
bazel: remove deprecated python_version
Mizux Sep 2, 2025
83ca8ca
Remove `python_version` and `srcs_version`from bazel `py_binary`
gchatelet Sep 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ test --test_output=errors --test_timeout_filters=-eternal
# Put user-specific options in .bazelrc.user
try-import %workspace%/.bazelrc.user

# googletest
build --define absl=1

# asan
build:asan --strip=never
build:asan --copt -fsanitize=address
Expand Down
1 change: 1 addition & 0 deletions .cmake-format.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python3
# Copyright 2010-2025 Google LLC
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aarch64_toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: Linux•Toolchain ${{matrix.targets}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Build env stage
run: make --directory=cmake toolchain_${{matrix.targets}}_env
- name: Build devel stage
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/amd64_cmake_glop_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: amd64•Docker•CMake•Glop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Build env image
run: make --directory=cmake glop_env
- name: Build devel image
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
name: ${{matrix.cmake.platform}}•${{matrix.cmake.runner}}•CMake•Glop
runs-on: ${{matrix.cmake.runner}}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Check cmake
run: cmake --version
- name: Configure
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/amd64_docker_bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
name: amd64•${{matrix.distro}}•Bazel
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Check docker
run: |
docker info
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/amd64_docker_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: amd64•${{matrix.distro}}•CMake•${{matrix.lang}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Build base image
run: make --directory=cmake amd64_${{matrix.distro}}_base
- name: Build env image
Expand Down
56 changes: 35 additions & 21 deletions .github/workflows/amd64_freebsd_cmake.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ref: https://github.com/actions/runner-images
name: amd64 FreeBSD CMake

on: [push, pull_request, workflow_dispatch]
Expand All @@ -6,31 +7,44 @@
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true

# Only macos-12 runner provide virtualisation with vagrant/virtualbox installed.
# ref: https://github.com/actions/runner-images/tree/main/images/macos
# ref: https://app.vagrantup.com/generic/boxes/freebsd13
# Building using the github runner environement directly.
jobs:
vagrant:
strategy:
fail-fast: false
matrix:
distro: [freebsd]
lang: [cpp, python]
allow_failure: [false]
include:
- distro: freebsd
lang: dotnet
allow_failure: true
- distro: freebsd
lang: java
allow_failure: true
name: amd64•FreeBSD•CMake•${{matrix.lang}}
runs-on: macos-12
distro: [
freebsd,
#netbsd,
#openbsd,
]
lang: [
cpp,
dotnet,
java,
python,
]
allow_failure: [true]
fail-fast: false
name: amd64•${{matrix.distro}}•CMake•${{matrix.lang}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: vagrant version
run: Vagrant --version
- name: VirtualBox version
run: virtualbox -h
- uses: actions/checkout@v5
- name: Virtualbox install
run: |
sudo apt update -q
sudo apt install -yq virtualbox
virtualbox --help
- name: Vagrant install
run: |
sudo apt update -q
wget https://releases.hashicorp.com/vagrant/2.4.7/vagrant_2.4.7-1_amd64.deb
sudo apt install -y ./vagrant_2.4.7-1_amd64.deb
vagrant --version
- name: Build
run: make --directory=cmake ${{matrix.distro}}_${{matrix.lang}}

amd64_bsd_cmake:
runs-on: ubuntu-latest
needs: vagrant
steps:
- uses: actions/checkout@v5
Comment on lines +47 to +50

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
4 changes: 2 additions & 2 deletions .github/workflows/amd64_linux_bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
CC: gcc-12
CXX: g++-12
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Check Java
run: java -version
- name: Check mvn
Expand Down Expand Up @@ -70,4 +70,4 @@ jobs:
runs-on: ubuntu-latest
needs: native
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
2 changes: 1 addition & 1 deletion .github/workflows/amd64_linux_cmake_coinor_off.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
name: amd64•Linux•CMake•${{matrix.cmake.language}}•CoinOR=OFF
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
# Install SWIG
- name: Swig install
run: sudo apt install -y swig
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/amd64_linux_cmake_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: amd64•Linux•CMake(${{matrix.cmake.name}})•C++
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Install Ninja
run: |
sudo apt-get update
Expand Down Expand Up @@ -59,4 +59,4 @@ jobs:
runs-on: ubuntu-latest
needs: native
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
4 changes: 2 additions & 2 deletions .github/workflows/amd64_linux_cmake_dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: amd64•Linux•CMake•.Net
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Swig install
run: |
sudo apt install -y swig
Expand Down Expand Up @@ -57,4 +57,4 @@ jobs:
runs-on: ubuntu-latest
needs: native
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
2 changes: 1 addition & 1 deletion .github/workflows/amd64_linux_cmake_glpk_on.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: amd64•Linux•CMake•GLPK=ON
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Check cmake
run: cmake --version
- name: Configure
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/amd64_linux_cmake_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: amd64•Linux•CMake•Java
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Swig install
run: |
sudo apt install -y swig
Expand Down Expand Up @@ -53,4 +53,4 @@ jobs:
runs-on: ubuntu-latest
needs: native
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
4 changes: 2 additions & 2 deletions .github/workflows/amd64_linux_cmake_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
name: amd64•Linux•CMake(${{matrix.cmake.name}})•Python-${{matrix.python.version}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Install Ninja
run: |
sudo apt update
Expand Down Expand Up @@ -77,4 +77,4 @@ jobs:
runs-on: ubuntu-latest
needs: native
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
2 changes: 1 addition & 1 deletion .github/workflows/amd64_linux_cmake_scip_off.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
name: amd64•Linux•CMake•${{matrix.cmake.language}}•SCIP=OFF
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
# Install SWIG
- name: Swig install
run: sudo apt install -y swig
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/amd64_linux_cmake_system_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: amd64•Archlinux•CMake•${{matrix.lang}}•BUILD_DEPS=OFF
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Build base image
run: make --directory=cmake ${{matrix.distro}}_base
- name: Build env image
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/amd64_macos_bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
name: amd64•MacOS•Bazel•Python-${{matrix.python.version}}
runs-on: macos-13 # last macos intel based runner
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Set Java to OpenJDK 17 (Temurin)
uses: actions/setup-java@v4
with:
Expand Down Expand Up @@ -63,4 +63,4 @@ jobs:
runs-on: ubuntu-latest
needs: native
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
4 changes: 2 additions & 2 deletions .github/workflows/amd64_macos_cmake_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: amd64•MacOS•CMake(${{matrix.cmake.name}})•C++
runs-on: macos-13 # last macos intel based runner
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Check CMake
run: cmake --version
- name: Configure
Expand Down Expand Up @@ -54,4 +54,4 @@ jobs:
runs-on: ubuntu-latest
needs: native
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
4 changes: 2 additions & 2 deletions .github/workflows/amd64_macos_cmake_dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: amd64•MacOS•CMake(${{matrix.cmake.name}})•.Net
runs-on: macos-13 # last macos intel based runner
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Swig install
run: |
brew install swig
Expand Down Expand Up @@ -65,4 +65,4 @@ jobs:
runs-on: ubuntu-latest
needs: native
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
4 changes: 2 additions & 2 deletions .github/workflows/amd64_macos_cmake_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: amd64•MacOS•CMake(${{matrix.cmake.name}})•Java
runs-on: macos-13 # last macos intel based runner
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Swig install
run: |
brew install swig
Expand Down Expand Up @@ -61,4 +61,4 @@ jobs:
runs-on: ubuntu-latest
needs: native
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
4 changes: 2 additions & 2 deletions .github/workflows/amd64_macos_cmake_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
name: amd64•MacOS•CMake(${{matrix.cmake.name}})•Python-${{matrix.python.version}}
runs-on: macos-13 # last macos intel based runner
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Swig install
run: |
brew install swig
Expand Down Expand Up @@ -74,4 +74,4 @@ jobs:
runs-on: ubuntu-latest
needs: native
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
2 changes: 1 addition & 1 deletion .github/workflows/amd64_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: amd64•Linux•Emscripten
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Check docker
run: |
docker info
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/amd64_windows_bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
name: amd64•Windows•Bazel•Python-${{matrix.python.version}}
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
Expand Down Expand Up @@ -58,4 +58,4 @@ jobs:
runs-on: ubuntu-latest
needs: native
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
6 changes: 3 additions & 3 deletions .github/workflows/amd64_windows_cmake_cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
matrix:
cmake: [
{name: "VS2022", generator: "Visual Studio 17 2022", config: Release, build_target: ALL_BUILD, test_target: RUN_TESTS, install_target: INSTALL},
{name: "VS2022", generator: "Visual Studio 17 2022", config: Debug, build_target: ALL_BUILD, test_target: RUN_TESTS, install_target: INSTALL},
# {name: "VS2022", generator: "Visual Studio 17 2022", config: Debug, build_target: ALL_BUILD, test_target: RUN_TESTS, install_target: INSTALL}, # too many symbols
]
fail-fast: false
name: amd64•Windows•CMake(${{matrix.cmake.name}},${{matrix.cmake.config}})•C++
runs-on: windows-latest
env:
CTEST_OUTPUT_ON_FAILURE: 1
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Check CMake
run: |
cmake --version
Expand Down Expand Up @@ -57,4 +57,4 @@ jobs:
runs-on: ubuntu-latest
needs: native
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
4 changes: 2 additions & 2 deletions .github/workflows/amd64_windows_cmake_dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
env:
CTEST_OUTPUT_ON_FAILURE: 1
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Setup .NET 8.0
uses: actions/setup-dotnet@v4
with:
Expand Down Expand Up @@ -60,4 +60,4 @@ jobs:
runs-on: ubuntu-latest
needs: native
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
Loading
Loading