Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codac2 ellipsoids #160

Merged
merged 157 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
157 commits
Select commit Hold shift + click to select a range
6d9ed0f
Add macOS Sequoia support
lebarsfa Oct 20, 2024
197ef0b
Add Python 3.13 support
lebarsfa Oct 20, 2024
255d94b
[proj] added CtcProj + binding
SimonRohou Oct 21, 2024
0cfbe94
Merge pull request #118 from SimonRohou/master
SimonRohou Oct 21, 2024
831f5eb
Merge branch 'PR' of ssh://github.com/lebarsfa/codac into lebarsfa-PR
SimonRohou Oct 21, 2024
41a2528
Merge branch 'lebarsfa-PR' into codac2_dev
SimonRohou Oct 21, 2024
ac0a851
[git] updated .gitignore for XML files (generated for IPE)
SimonRohou Oct 22, 2024
224de6e
[graphics] color constructor from html string
godardma Oct 22, 2024
60a397e
[ctc] added CtcEmpty and CtcIdentity + binding.
SimonRohou Oct 22, 2024
ec9b374
[graphics] added example for html color
godardma Oct 22, 2024
856fb28
Merge pull request #120 from SimonRohou/master
SimonRohou Oct 22, 2024
43c2b19
[ctc] added CtcInter(size_t n) constructor + binding
SimonRohou Oct 23, 2024
c8ec601
Merge branch 'codac2_dev' of github.com:codac-team/codac into codac2_dev
godardma Oct 23, 2024
da4e041
[graphics] early ColorMap structure
godardma Oct 24, 2024
8d50269
[graphics] HAXBY ColorMap + Binding + example
godardma Oct 24, 2024
147517e
[ctc] added CtcCtcBoundary, CtcPolygon + binding + tests
SimonRohou Oct 24, 2024
b2e688c
Merge pull request #122 from SimonRohou/codac2_dev
SimonRohou Oct 24, 2024
49e5fe1
Merge branch 'codac2_dev' of github.com:codac-team/codac into colormaps
godardma Oct 24, 2024
4e5d21d
[graphics] Color class, added a comment
SimonRohou Oct 25, 2024
bd1ec88
Merge branch 'godardma-codac2_dev' into codac2_dev
SimonRohou Oct 25, 2024
1b988a2
Merge branch 'codac2_dev' of github.com:codac-team/codac into codac2_dev
SimonRohou Oct 25, 2024
7b5a463
[graphics] added BLUE_TUBE and RED_TUBE colormaps
godardma Oct 25, 2024
c233a68
Attempt to enable all tests for armhf, like all other configurations
lebarsfa Oct 20, 2024
8433469
Branches management
lebarsfa Oct 26, 2024
22c2e74
macOS Monterey EOL
lebarsfa Oct 20, 2024
6277f7a
Temporary fix related to codac2::pi
lebarsfa Oct 27, 2024
f6cbfd1
[graphics] early drawAUV for IPE
godardma Oct 28, 2024
55a85fc
[graphics] draw_AUV for IPE
godardma Oct 28, 2024
87bc83d
[graphics] draw_tank for IPE
godardma Oct 28, 2024
66a1ae1
[graphics] tip in polyline for IPE
godardma Oct 28, 2024
f34963f
[graphics] minor changes for xml format
godardma Oct 28, 2024
03dead1
[graphics] draw_ellipse for IPE
godardma Nov 4, 2024
a4d1b46
[graphics] draw_pie for IPE
godardma Nov 4, 2024
a8cf359
Merge pull request #124 from lebarsfa/PR-codac2
SimonRohou Nov 4, 2024
77277c7
[graphics] minor changes
godardma Nov 4, 2024
e83bcb2
[graphics] vehicule shapes in constexpr
godardma Nov 5, 2024
275288c
[graphics] minor change to draw_pie for IPE
godardma Nov 5, 2024
b378510
add mag and mid for interval and intervalMatrix, and python bindings
damien-masse Nov 5, 2024
527e4b0
[graphics] minor changes
godardma Nov 5, 2024
2d5a86e
[mat] Vector types: Eigen col dimensions are now known at compile time
SimonRohou Nov 5, 2024
1010284
[mat] adding EigenType def
SimonRohou Nov 5, 2024
db15ee8
Merge pull request #129 from SimonRohou/codac2_dev
SimonRohou Nov 5, 2024
28cf2eb
Merge branch 'codac2_dev' of https://github.com/damien-masse/codac in…
damien-masse Nov 5, 2024
a59fe93
[mat] corrected iterator
SimonRohou Nov 5, 2024
1b40e95
Merge pull request #130 from SimonRohou/codac2_dev
SimonRohou Nov 5, 2024
05b2175
Merge branch 'codac2_dev' of https://github.com/damien-masse/codac in…
damien-masse Nov 5, 2024
21a61f1
Modification for python bindings
damien-masse Nov 5, 2024
99d866f
Merge pull request #131 from damien-masse/codac2_dev
SimonRohou Nov 6, 2024
bc24134
Merge pull request #126 from godardma/drawing_IPE
SimonRohou Nov 6, 2024
ec0558a
[graphics] added comment for future doc (Thanks Maël)
SimonRohou Nov 6, 2024
15dca95
Merge pull request #132 from SimonRohou/codac2_dev
SimonRohou Nov 6, 2024
b6bc7f4
[cmake] corrected FAST_RELEASE config (closes #128)
SimonRohou Nov 6, 2024
85197c5
Merge pull request #133 from SimonRohou/codac2_dev
SimonRohou Nov 6, 2024
8074ecf
[graphics] updated VIBes files
godardma Nov 6, 2024
466efed
Merge pull request #134 from godardma/codac2_dev
SimonRohou Nov 6, 2024
a69d089
Test specific IBEX version
lebarsfa Nov 3, 2024
d791339
Improve Catch2 dependency handling
lebarsfa Nov 16, 2024
25c19fd
Suppress some warnings related to old CMake versions support
lebarsfa Nov 16, 2024
6674442
Test specific IBEX version
lebarsfa Nov 17, 2024
aecc8c7
Merge pull request #136 from lebarsfa/PR-codac2
SimonRohou Nov 17, 2024
3a36781
[core] revised matrix types (using EIGEN_MATRIX_PLUGIN)
SimonRohou Nov 19, 2024
7689f45
Merge branch 'codac2' of github.com:codac-team/codac into codac2_dev
SimonRohou Nov 19, 2024
fead133
Merge branch 'codac2_dev' of ssh://github.com/codac-team/codac into c…
SimonRohou Nov 19, 2024
67640a3
[core] revised matrix types: python binding
SimonRohou Nov 21, 2024
1bb9a70
Merge branch 'codac2_dev' into codac2_ellipsoids
SimonRohou Nov 21, 2024
1488e47
[mat] solving mul problem with mixed types
SimonRohou Nov 21, 2024
7bcdbbd
[core] now using Index instead of std::size_t (compatibility with Eig…
SimonRohou Nov 21, 2024
01a393c
Merge branch 'codac2_dev' into codac2_ellipsoids
SimonRohou Nov 21, 2024
62078ed
[ellips] updates with new matrices implementation
SimonRohou Nov 21, 2024
5921d4c
[mat] updates (block,random,mid..)
SimonRohou Nov 21, 2024
12027bb
[ellips] updates with new matrices implementation
SimonRohou Nov 21, 2024
8810533
Merge pull request #137 from SimonRohou/codac2_eigen
SimonRohou Nov 21, 2024
33ce2e9
[cmake] now using Eigen as git submodule
SimonRohou Nov 21, 2024
b352bc6
[actions] updates: local Eigen as submodule
SimonRohou Nov 21, 2024
4fa4617
[cmake] now using Eigen as git submodule
SimonRohou Nov 21, 2024
ae2f9ae
[cmake] updates for Eigen
SimonRohou Nov 21, 2024
56ba14d
Merge pull request #138 from SimonRohou/codac2_eigen
SimonRohou Nov 21, 2024
44313b1
[mat] moving features from Eigen::Matrix to Eigen::MatrixBase
SimonRohou Nov 22, 2024
69ec78b
[mat] using OtherDerived instead of Matrix when possible
SimonRohou Nov 23, 2024
8f2eef6
Missing escape characters
lebarsfa Nov 23, 2024
6689020
Submodules should already be OK
lebarsfa Nov 23, 2024
e05074f
Other changes related to Eigen dependency
lebarsfa Nov 23, 2024
7d84ab3
Codac packages should not depend on the default Eigen package any more
lebarsfa Nov 23, 2024
e88812f
Visual Studio 2019 might be too old
lebarsfa Nov 23, 2024
e4254fa
Undefining __STRICT_ANSI__ may cause issues on recent MinGW versions
lebarsfa Nov 25, 2024
71566a2
Merge pull request #140 from lebarsfa/PR-codac2_eigen
SimonRohou Nov 26, 2024
b084c0d
[examples] updated CMakeLists.txt
SimonRohou Nov 26, 2024
353dd82
Merge pull request #141 from SimonRohou/codac2_eigen
SimonRohou Nov 26, 2024
f853d72
[mat] updates: constructors, static functions
SimonRohou Nov 26, 2024
c0d5140
Merge pull request #142 from SimonRohou/codac2_eigen
SimonRohou Nov 26, 2024
a0edc08
[core] setting -Wall -Wextra -Wpedantic -Werror + related code updates
SimonRohou Nov 26, 2024
168419e
[cmake] removing -Werror
SimonRohou Nov 26, 2024
9503f60
[cmake] warning compile options temporarily removed for windows
SimonRohou Nov 26, 2024
73a18d0
[all] removing some warnings appearing in release mode
SimonRohou Nov 26, 2024
3ee0bb9
Merge pull request #143 from SimonRohou/codac2_eigen
SimonRohou Nov 26, 2024
8d96bf9
Merge branch 'codac2_dev' into codac2_ellipsoids
SimonRohou Nov 26, 2024
53b156b
[ellips] updates following new matrices implementation
SimonRohou Nov 26, 2024
f4945e4
Merge pull request #144 from SimonRohou/codac2_dev
SimonRohou Nov 26, 2024
88b1fc1
Adding matrix inversion.
damien-masse Nov 27, 2024
fcc7d49
author name
damien-masse Nov 27, 2024
4bc9560
[cmake] add_compile_options(/W4) for MSVC
SimonRohou Nov 28, 2024
1067e5a
Merge pull request #146 from SimonRohou/codac2_dev
SimonRohou Nov 28, 2024
6ead0a6
[core] correction of unnoticed errors
SimonRohou Nov 28, 2024
b0c1d87
Merge pull request #147 from SimonRohou/codac2_dev
SimonRohou Nov 28, 2024
c0a1ed1
[py] binding Row types + update of .block/.row/.col methods + Interva…
SimonRohou Nov 28, 2024
be1f934
[py] permuting constructors in IntervalMatrix class (corrected bug)
SimonRohou Nov 28, 2024
da22699
Merge pull request #149 from SimonRohou/codac2_dev
SimonRohou Nov 28, 2024
a4788f4
[mat] revised display of matrix types
SimonRohou Nov 28, 2024
9a05925
Merge pull request #150 from SimonRohou/codac2_dev
SimonRohou Nov 28, 2024
1a27245
[mat] added .min_rad(), .max_rad()
SimonRohou Nov 28, 2024
fc8909b
[inv] updates using Eigen's expression templates + factorization
SimonRohou Nov 28, 2024
e0671fc
[inv] updated py-binding + tests
SimonRohou Nov 28, 2024
30e74a0
Merge branch 'damien-masse-codac2_eigen' into codac2_eigen
SimonRohou Nov 28, 2024
a9f4939
Merge branch 'codac2_dev' of github.com:codac-team/codac into codac2_…
SimonRohou Nov 28, 2024
ee2ab91
Merge branch 'codac2' of github.com:codac-team/codac into colormaps
godardma Nov 29, 2024
25ae461
[graphics] Color variant version, python binding to do
godardma Nov 29, 2024
7d691d5
[graphics] changed Color representation to variant
godardma Nov 29, 2024
be1ced1
[graphics] Colormaps, rainbow and default
godardma Nov 30, 2024
01662b7
[inv] updated doc
SimonRohou Nov 30, 2024
7ecc7cf
Merge pull request #151 from SimonRohou/codac2_dev
SimonRohou Nov 30, 2024
2fc0b63
[doc] empty new manual
SimonRohou Dec 1, 2024
ed288e5
[graphics] changed Color structure, added tests
godardma Dec 2, 2024
116e3fb
Merge branch 'codac2_dev' of github.com:codac-team/codac into colormaps
godardma Dec 2, 2024
501f91d
minor correction
godardma Dec 2, 2024
eeb8295
minor correction
godardma Dec 2, 2024
6e2eb7e
[doc] manual: minor update
SimonRohou Dec 3, 2024
72e5782
Merge branch 'codac2_dev' of ssh://github.com/codac-team/codac into c…
SimonRohou Dec 3, 2024
f12cd83
[graphics] modified Color and Colormap representations
godardma Dec 3, 2024
c075572
[graphics] C++ tests passed
godardma Dec 3, 2024
6e3bbfd
[graphics] all tests passed
godardma Dec 3, 2024
59a86f1
[graphics] minor update (thanks to Simon's advice)
godardma Dec 4, 2024
c002229
[graphics] minor update
godardma Dec 4, 2024
567f03d
[graphics] protected ColorMap model
godardma Dec 4, 2024
e782e7f
Merge pull request #152 from godardma/colormaps
SimonRohou Dec 5, 2024
c754476
Merge branch 'codac2_dev' of ssh://github.com/codac-team/codac into c…
SimonRohou Dec 5, 2024
6b93738
[graphics] correction for IPE color naming
godardma Dec 5, 2024
ee4dd02
[core] inlining Interval methods and related operators
SimonRohou Dec 5, 2024
e432ca9
Merge pull request #153 from godardma/codac2_dev
SimonRohou Dec 5, 2024
475592c
[core] inlining Interval: removed codac2_Interval.cpp
SimonRohou Dec 6, 2024
725adeb
Merge pull request #154 from SimonRohou/codac2_dev
SimonRohou Dec 6, 2024
1db3f4c
[paver] added pave from shared_ptr
godardma Dec 6, 2024
75113ba
Merge branch 'codac2_dev' of github.com:codac-team/codac into codac2_dev
godardma Dec 6, 2024
519b781
[python] added missing draw_paving binding
godardma Dec 6, 2024
d4b7a35
[mat] corrected bug in Gauss Jordan decomposition (thanks Damien Massé!)
SimonRohou Dec 6, 2024
639b848
Merge branch 'godardma-codac2_dev' into codac2_dev
SimonRohou Dec 6, 2024
6875f2f
Merge branch 'codac2_dev' of ssh://github.com/codac-team/codac into c…
SimonRohou Dec 6, 2024
9a30b0c
[intv] corrected possible bug in .rand() method
SimonRohou Dec 6, 2024
0afe027
Merge pull request #156 from SimonRohou/codac2_dev
SimonRohou Dec 9, 2024
155c14b
[ctc] added assertion for CtcInverse (image argument)
SimonRohou Dec 9, 2024
81fb789
[ctc] improved efficiency of MulOp::bwd
SimonRohou Dec 9, 2024
b99a975
Merge pull request #157 from SimonRohou/codac2_dev
SimonRohou Dec 9, 2024
269afa6
[ctc] improved MulOp operators (for r>c linear systems)
SimonRohou Dec 12, 2024
8a1121a
Merge branch 'codac2_dev' of ssh://github.com/codac-team/codac into c…
SimonRohou Dec 12, 2024
51b30d6
Merge branch 'codac2_ellipsoids' of ssh://github.com/codac-team/codac…
SimonRohou Dec 13, 2024
bce42f6
[ellips] minor update (merging branches)
SimonRohou Dec 13, 2024
a81e68d
[ellips] updates (homogenization + Eigen optimizations)
SimonRohou Dec 15, 2024
49b972d
[git.actions] removed '-j4' build option (difficulty to compile Eigen…
SimonRohou Dec 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/dockercentos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
on:
push:
branches:
- codac2
- codac2_codac4matlab
- codac1
- codac2
- codac2_codac4matlab
tags: '' # Restrict to blank tags
pull_request:

Expand Down Expand Up @@ -32,8 +33,10 @@ jobs:
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
if: (matrix.cfg.arch!='x86_64')&&(matrix.cfg.arch!='i386')
- run: |
chmod a+x scripts/docker/build_pybinding.sh
docker run ${{ matrix.cfg.docker_flags }} --rm -v `pwd`:/io ${{ matrix.cfg.img }} /io/scripts/docker/build_pybinding.sh
chmod a+x scripts/docker/*.sh
if [ ${{ github.ref_name }} = 'codac2_codac4matlab' ] || [ ${{ github.event.pull_request.base.ref }} = 'codac2_codac4matlab' ]; then docker run ${{ matrix.cfg.docker_flags }} --rm -v `pwd`:/io ${{ matrix.cfg.img }} /io/scripts/docker/build_pybinding_codac4matlab.sh
else docker run ${{ matrix.cfg.docker_flags }} --rm -v `pwd`:/io ${{ matrix.cfg.img }} /io/scripts/docker/build_pybinding.sh
fi
ls wheelhouse
- uses: xresloader/upload-to-github-release@v1
env:
Expand All @@ -42,4 +45,4 @@ jobs:
file: "wheelhouse/*.whl"
overwrite: true
tag_name: autotagname-${{ github.sha }}
if: (github.event_name!='pull_request')&&((github.ref_name=='codac2')||(github.ref_name=='codac2_codac4matlab'))
if: (github.event_name!='pull_request')&&((github.ref_name=='codac1')||(github.ref_name=='codac2')||(github.ref_name=='codac2_codac4matlab'))
23 changes: 15 additions & 8 deletions .github/workflows/dockermatrix.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# This file checks that the lib runs on ARM
on:
push:
branches: 'codac2'
branches:
- codac1
- codac2
# The following is implied by above selection...
#branches-ignore:
#- codac2_codac4matlab
tags: '' # Restrict to blank tags
pull_request:
branches: 'codac2'
branches-ignore:
- codac2_codac4matlab

jobs:
dockermatrix:
Expand Down Expand Up @@ -63,12 +69,13 @@ jobs:
git config --global --add safe.directory ${PWD} && \
if [ ${{ matrix.cfg.deb }} = true ]; then \
sudo sh -c 'echo \"deb [trusted=yes] https://packages.ensta-bretagne.fr/\$(if [ -z \"\$(. /etc/os-release && echo \$UBUNTU_CODENAME)\" ]; then echo debian/\$(. /etc/os-release && echo \$VERSION_CODENAME); else echo ubuntu/\$(. /etc/os-release && echo \$UBUNTU_CODENAME); fi) ./\" > /etc/apt/sources.list.d/ensta-bretagne.list' && \
sudo apt-get -q update ; sudo apt-get -y install libeigen3-dev dpkg-dev || true && \
wget https://github.com/lebarsfa/ibex-lib/releases/download/ibex-2.8.9.20240417/libibex-dev-2.8.9.20240417-0${{ matrix.cfg.runtime }}0_\$(dpkg --print-architecture).deb --no-check-certificate -nv && \
sudo dpkg -i libibex-dev-2.8.9.20240417-0${{ matrix.cfg.runtime }}0_\$(dpkg --print-architecture).deb && \
rm -Rf libibex-dev-2.8.9.20240417-0${{ matrix.cfg.runtime }}0_\$(dpkg --print-architecture).deb ; \
#sudo apt-get -q update ; sudo apt-get -y install libeigen3-dev dpkg-dev || true && \\
sudo apt-get -q update ; sudo apt-get -y install dpkg-dev || true && \
wget https://github.com/lebarsfa/ibex-lib/releases/download/ibex-2.8.9.20241117/libibex-dev-2.8.9.20241117-0${{ matrix.cfg.runtime }}0_\$(dpkg --print-architecture).deb --no-check-certificate -nv && \
sudo dpkg -i libibex-dev-2.8.9.20241117-0${{ matrix.cfg.runtime }}0_\$(dpkg --print-architecture).deb && \
rm -Rf libibex-dev-2.8.9.20241117-0${{ matrix.cfg.runtime }}0_\$(dpkg --print-architecture).deb ; \
else \
wget https://github.com/lebarsfa/ibex-lib/releases/download/ibex-2.8.9.20240417/ibex_${{ matrix.cfg.arch }}_${{ matrix.cfg.runtime }}.zip --no-check-certificate -nv && \
wget https://github.com/lebarsfa/ibex-lib/releases/download/ibex-2.8.9.20241117/ibex_${{ matrix.cfg.arch }}_${{ matrix.cfg.runtime }}.zip --no-check-certificate -nv && \
unzip -q ibex_${{ matrix.cfg.arch }}_${{ matrix.cfg.runtime }}.zip && \
rm -Rf ibex_${{ matrix.cfg.arch }}_${{ matrix.cfg.runtime }}.zip && \
sudo cp -Rf ibex/* /usr/ ; \
Expand Down Expand Up @@ -112,4 +119,4 @@ jobs:
file: "*.zip;*.deb"
overwrite: true
tag_name: autotagname-${{ github.sha }}
if: (github.event_name != 'pull_request')
if: (github.event_name!='pull_request')&&((github.ref_name=='codac1')||(github.ref_name=='codac2')||(github.ref_name=='codac2_codac4matlab'))
41 changes: 22 additions & 19 deletions .github/workflows/macosmatrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
on:
push:
branches:
- codac2
- codac2_codac4matlab
- codac1
- codac2
- codac2_codac4matlab
tags: '' # Restrict to blank tags
pull_request:

Expand All @@ -20,20 +21,22 @@ jobs:
fail-fast: false
matrix:
cfg:
- { os: macos-14, shell: bash, arch: arm64, runtime: sonoma, cmake_flags: '-fPIC', trgt: '11.0', cpcfg: '-macosx_11_0_arm64', py_v_maj: 3, py_v_min: 13, desc: 'macOS Sonoma Python 3.13 arm64' }
- { os: macos-14, shell: bash, arch: arm64, runtime: sonoma, cmake_flags: '-fPIC', trgt: '11.0', cpcfg: '-macosx_11_0_arm64', py_v_maj: 3, py_v_min: 12, desc: 'macOS Sonoma Python 3.12 arm64' }
- { os: macos-14, shell: bash, arch: arm64, runtime: sonoma, cmake_flags: '-fPIC', trgt: '11.0', cpcfg: '-macosx_11_0_arm64', py_v_maj: 3, py_v_min: 11, desc: 'macOS Sonoma Python 3.11 arm64' }
- { os: macos-12, shell: bash, arch: arm64, runtime: monterey, cmake_flags: '-fPIC', trgt: '11.0', cpcfg: '-macosx_11_0_arm64', py_v_maj: 3, py_v_min: 10, cross: true, desc: 'macOS Monterey Python 3.10 arm64 (cross)' }
- { os: macos-12, shell: bash, arch: arm64, runtime: monterey, cmake_flags: '-fPIC', trgt: '11.0', cpcfg: '-macosx_11_0_arm64', py_v_maj: 3, py_v_min: 9, cross: true, desc: 'macOS Monterey Python 3.9 arm64 (cross)' }
- { os: macos-12, shell: bash, arch: arm64, runtime: monterey, cmake_flags: '-fPIC', trgt: '11.0', cpcfg: '-macosx_11_0_arm64', py_v_maj: 3, py_v_min: 8, cross: true, desc: 'macOS Monterey Python 3.8 arm64 (cross)' }
- { os: macos-12, shell: bash, arch: arm64, runtime: monterey, cmake_flags: '-fPIC', trgt: '11.0', cpcfg: 'm-macosx_11_0_arm64', py_v_maj: 3, py_v_min: 7, cross: true, desc: 'macOS Monterey Python 3.7 arm64 (cross)' }
- { os: macos-12, shell: bash, arch: arm64, runtime: monterey, cmake_flags: '-fPIC', trgt: '11.0', cpcfg: 'm-macosx_11_0_arm64', py_v_maj: 3, py_v_min: 6, cross: true, desc: 'macOS Monterey Python 3.6 arm64 (cross)' }
- { os: macos-12, shell: bash, arch: x86_64, runtime: monterey, cmake_flags: '-fPIC', trgt: '10.16', cpcfg: '-macosx_10_16_x86_64', py_v_maj: 3, py_v_min: 12, desc: 'macOS Monterey Python 3.12 x86_64' }
- { os: macos-12, shell: bash, arch: x86_64, runtime: monterey, cmake_flags: '-fPIC', trgt: '10.16', cpcfg: '-macosx_10_16_x86_64', py_v_maj: 3, py_v_min: 11, desc: 'macOS Monterey Python 3.11 x86_64' }
- { os: macos-12, shell: bash, arch: x86_64, runtime: monterey, cmake_flags: '-fPIC', trgt: '10.16', cpcfg: '-macosx_10_16_x86_64', py_v_maj: 3, py_v_min: 10, desc: 'macOS Monterey Python 3.10 x86_64' }
- { os: macos-12, shell: bash, arch: x86_64, runtime: monterey, cmake_flags: '-fPIC', trgt: '10.16', cpcfg: '-macosx_10_16_x86_64', py_v_maj: 3, py_v_min: 9, desc: 'macOS Monterey Python 3.9 x86_64' }
- { os: macos-12, shell: bash, arch: x86_64, runtime: monterey, cmake_flags: '-fPIC', trgt: '10.16', cpcfg: '-macosx_10_16_x86_64', py_v_maj: 3, py_v_min: 8, desc: 'macOS Monterey Python 3.8 x86_64' }
- { os: macos-12, shell: bash, arch: x86_64, runtime: monterey, cmake_flags: '-fPIC', trgt: '10.16', cpcfg: 'm-macosx_10_16_x86_64', py_v_maj: 3, py_v_min: 7, desc: 'macOS Monterey Python 3.7 x86_64' }
- { os: macos-12, shell: bash, arch: x86_64, runtime: monterey, cmake_flags: '-fPIC', trgt: '10.16', cpcfg: 'm-macosx_10_16_x86_64', py_v_maj: 3, py_v_min: 6, desc: 'macOS Monterey Python 3.6 x86_64' } # Was 10.14 because of error $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.9" but "10.14" during configure. Now 10.16 due to C++20 problems...
- { os: macos-13, shell: bash, arch: arm64, runtime: ventura, cmake_flags: '-fPIC', trgt: '11.0', cpcfg: '-macosx_11_0_arm64', py_v_maj: 3, py_v_min: 10, cross: true, desc: 'macOS Ventura Python 3.10 arm64 (cross)' }
- { os: macos-13, shell: bash, arch: arm64, runtime: ventura, cmake_flags: '-fPIC', trgt: '11.0', cpcfg: '-macosx_11_0_arm64', py_v_maj: 3, py_v_min: 9, cross: true, desc: 'macOS Ventura Python 3.9 arm64 (cross)' }
- { os: macos-13, shell: bash, arch: arm64, runtime: ventura, cmake_flags: '-fPIC', trgt: '11.0', cpcfg: '-macosx_11_0_arm64', py_v_maj: 3, py_v_min: 8, cross: true, desc: 'macOS Ventura Python 3.8 arm64 (cross)' }
- { os: macos-13, shell: bash, arch: arm64, runtime: ventura, cmake_flags: '-fPIC', trgt: '11.0', cpcfg: 'm-macosx_11_0_arm64', py_v_maj: 3, py_v_min: 7, cross: true, desc: 'macOS Ventura Python 3.7 arm64 (cross)' }
- { os: macos-13, shell: bash, arch: arm64, runtime: ventura, cmake_flags: '-fPIC', trgt: '11.0', cpcfg: 'm-macosx_11_0_arm64', py_v_maj: 3, py_v_min: 6, cross: true, desc: 'macOS Ventura Python 3.6 arm64 (cross)' }
- { os: macos-13, shell: bash, arch: x86_64, runtime: ventura, cmake_flags: '-fPIC', trgt: '10.16', cpcfg: '-macosx_10_16_x86_64', py_v_maj: 3, py_v_min: 13, desc: 'macOS Ventura Python 3.13 x86_64' }
- { os: macos-13, shell: bash, arch: x86_64, runtime: ventura, cmake_flags: '-fPIC', trgt: '10.16', cpcfg: '-macosx_10_16_x86_64', py_v_maj: 3, py_v_min: 12, desc: 'macOS Ventura Python 3.12 x86_64' }
- { os: macos-13, shell: bash, arch: x86_64, runtime: ventura, cmake_flags: '-fPIC', trgt: '10.16', cpcfg: '-macosx_10_16_x86_64', py_v_maj: 3, py_v_min: 11, desc: 'macOS Ventura Python 3.11 x86_64' }
- { os: macos-13, shell: bash, arch: x86_64, runtime: ventura, cmake_flags: '-fPIC', trgt: '10.16', cpcfg: '-macosx_10_16_x86_64', py_v_maj: 3, py_v_min: 10, desc: 'macOS Ventura Python 3.10 x86_64' }
- { os: macos-13, shell: bash, arch: x86_64, runtime: ventura, cmake_flags: '-fPIC', trgt: '10.16', cpcfg: '-macosx_10_16_x86_64', py_v_maj: 3, py_v_min: 9, desc: 'macOS Ventura Python 3.9 x86_64' }
- { os: macos-13, shell: bash, arch: x86_64, runtime: ventura, cmake_flags: '-fPIC', trgt: '10.16', cpcfg: '-macosx_10_16_x86_64', py_v_maj: 3, py_v_min: 8, desc: 'macOS Ventura Python 3.8 x86_64' }
- { os: macos-13, shell: bash, arch: x86_64, runtime: ventura, cmake_flags: '-fPIC', trgt: '10.16', cpcfg: 'm-macosx_10_16_x86_64', py_v_maj: 3, py_v_min: 7, desc: 'macOS Ventura Python 3.7 x86_64' }
- { os: macos-13, shell: bash, arch: x86_64, runtime: ventura, cmake_flags: '-fPIC', trgt: '10.16', cpcfg: 'm-macosx_10_16_x86_64', py_v_maj: 3, py_v_min: 6, desc: 'macOS Ventura Python 3.6 x86_64' } # Was 10.14 because of error $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.9" but "10.14" during configure. Now 10.16 due to C++20 problems...
name: ${{ matrix.cfg.desc }}
steps:
- uses: actions/checkout@v4
Expand All @@ -52,12 +55,12 @@ jobs:
if: matrix.cfg.py_v_maj!=''
- run: echo "VERBOSE=1" >> $GITHUB_ENV
shell: bash
- run: brew install eigen
if: runner.os=='macOS'
#- run: brew install eigen
# if: runner.os=='macOS'
- run: brew install graphviz ; brew install --formula doxygen ; python -m pip install --upgrade pip ; pip install --upgrade wheel setuptools sphinx breathe sphinx_rtd_theme sphinx-tabs sphinx-issues sphinx-reredirects
if: runner.os=='macOS'
- run: |
wget https://github.com/lebarsfa/ibex-lib/releases/download/ibex-2.8.9.20240417/ibex_${{ matrix.cfg.arch }}_${{ matrix.cfg.runtime }}.zip --no-check-certificate -nv
wget https://github.com/lebarsfa/ibex-lib/releases/download/ibex-2.8.9.20241117/ibex_${{ matrix.cfg.arch }}_${{ matrix.cfg.runtime }}.zip --no-check-certificate -nv
unzip -q ibex_${{ matrix.cfg.arch }}_${{ matrix.cfg.runtime }}.zip
rm -Rf ibex_${{ matrix.cfg.arch }}_${{ matrix.cfg.runtime }}.zip
sudo cp -Rf ibex/* /usr/local/
Expand All @@ -76,7 +79,7 @@ jobs:
file: "*.whl"
overwrite: true
tag_name: autotagname-${{ github.sha }}
if: (github.event_name!='pull_request')&&((github.ref_name=='codac2')||(github.ref_name=='codac2_codac4matlab'))
if: (github.event_name!='pull_request')&&((github.ref_name=='codac1')||(github.ref_name=='codac2')||(github.ref_name=='codac2_codac4matlab'))
- run: |
pip install --no-deps --no-index *.whl
python -c "import sys; print(sys.version)" ; python examples/02_centered_form/main.py
Expand All @@ -85,4 +88,4 @@ jobs:
cd build && ctest -C Release -V --output-on-failure
cd ..
shell: bash
if: (matrix.cfg.cross!=true) && (github.ref_name!='codac2_codac4matlab') && (github.event_name!='pull_request')
if: (matrix.cfg.cross!=true)&&(github.ref_name!='codac2_codac4matlab')&&(github.event.pull_request.base.ref!='codac2_codac4matlab')
8 changes: 5 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
on:
push:
branches-ignore:
- codac2_codac4matlab
- codac2_codac4matlab
tags: '' # Restrict to blank tags
pull_request:
branches-ignore:
- codac2_codac4matlab

jobs:
tests:
Expand Down Expand Up @@ -41,7 +43,7 @@ jobs:
sudo sh -c 'echo "deb [trusted=yes] https://packages.ensta-bretagne.fr/$(if [ -z "$(. /etc/os-release && echo $UBUNTU_CODENAME)" ]; then echo debian/$(. /etc/os-release && echo $VERSION_CODENAME); else echo ubuntu/$(. /etc/os-release && echo $UBUNTU_CODENAME); fi) ./" > /etc/apt/sources.list.d/ensta-bretagne.list'
sudo apt update

sudo apt-get -y install flex bison libeigen3-dev
sudo apt-get -y install flex bison # libeigen3-dev

# For documentation
pip install sphinx breathe sphinx-issues sphinx-tabs sphinx_rtd_theme
Expand Down Expand Up @@ -78,7 +80,7 @@ jobs:
cd $ORIGIN_DIR
pwd
ls
git submodule init ; git submodule update # for pybind11 submodule
git submodule init ; git submodule update # for pybind11/eigen submodules
mkdir build -p
cd build

Expand Down
Loading
Loading