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

Add CI for limap installation on ubuntu #99

Merged
merged 62 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
d74d513
init migration.
B1ueber2y Aug 25, 2024
75379f3
formatting.
B1ueber2y Aug 25, 2024
518ec41
update.
B1ueber2y Sep 4, 2024
cc0fc78
Merge branch 'main' into features/colmap_head
B1ueber2y Nov 20, 2024
beca63d
seems to be working
B1ueber2y Nov 20, 2024
3833cbe
skip copying to source
B1ueber2y Nov 21, 2024
b7b4d51
merge with main
B1ueber2y Nov 21, 2024
f1fdfbb
fix. remove poselib include
B1ueber2y Nov 23, 2024
6ec3768
fix non void
B1ueber2y Nov 23, 2024
adadd98
switch to official libigl
B1ueber2y Nov 23, 2024
733f474
use fetch content for poselib. update readme.
B1ueber2y Nov 23, 2024
e270af7
fetch content for colmap
B1ueber2y Nov 23, 2024
3451f5f
update readme. no need for colmap installation
B1ueber2y Nov 23, 2024
ee3ac85
update cmakelist
B1ueber2y Nov 23, 2024
940723b
fix install
B1ueber2y Nov 24, 2024
c59946f
update readme
B1ueber2y Nov 24, 2024
fcfc915
init build in ci
B1ueber2y Nov 24, 2024
94dab59
add script
B1ueber2y Nov 24, 2024
c2506d8
update
B1ueber2y Nov 24, 2024
10ef8b1
update
B1ueber2y Nov 24, 2024
81de36d
update
B1ueber2y Nov 24, 2024
dd59083
update
B1ueber2y Nov 24, 2024
41d0338
update
B1ueber2y Nov 24, 2024
ab68838
update
B1ueber2y Nov 24, 2024
baf82ba
Merge branch 'features/colmap_head' into features/ci_test
B1ueber2y Nov 24, 2024
a85c966
update
B1ueber2y Nov 24, 2024
20d0fc1
update ci.
B1ueber2y Nov 24, 2024
1ac6904
update
B1ueber2y Nov 24, 2024
de1e5fd
jkldfjs
B1ueber2y Nov 24, 2024
1a539da
reset
B1ueber2y Nov 24, 2024
ebb455d
update
B1ueber2y Nov 24, 2024
ed45995
fix submodule
B1ueber2y Nov 24, 2024
8a62586
Merge branch 'features/colmap_head' into features/ci_test
B1ueber2y Nov 24, 2024
c10839c
remove tp_lsd from third-party and update installation guide
B1ueber2y Nov 24, 2024
bbfc627
remove lbd and update installation guide
B1ueber2y Nov 24, 2024
5ee1c73
put hawp as separate installation
B1ueber2y Nov 24, 2024
ac60f01
minor update on docs
B1ueber2y Nov 24, 2024
10fa5b5
Merge branch 'fix/third_party' into features/ci_test
B1ueber2y Nov 24, 2024
d5ec878
update requirements.txt
B1ueber2y Nov 24, 2024
4e84b4a
merge fix/third_party
B1ueber2y Nov 24, 2024
61bcefe
add setuptools
B1ueber2y Nov 24, 2024
3e0b5e3
update
B1ueber2y Nov 24, 2024
6c03b11
update
B1ueber2y Nov 24, 2024
47cc740
update
B1ueber2y Nov 24, 2024
72126af
add v flag
B1ueber2y Nov 24, 2024
1ff3b33
try to disable cuda for colmap
B1ueber2y Nov 26, 2024
fa853ec
fix binding
B1ueber2y Nov 26, 2024
c129c87
move CUDA_ENABLED to top level
B1ueber2y Nov 26, 2024
6e14755
fix copy in pybind
B1ueber2y Nov 26, 2024
215aa50
switch to clang-format 19.1.0 and use pip
B1ueber2y Nov 26, 2024
f0513bc
upgrade deeplsd
B1ueber2y Nov 26, 2024
39b7c81
use logging from pycolmap
B1ueber2y Nov 26, 2024
2957ebf
disable parallelization in fitnmerge
B1ueber2y Nov 26, 2024
8d40cd8
fix formatting
B1ueber2y Nov 26, 2024
ceb400a
fix formatting
B1ueber2y Nov 26, 2024
c0014a0
E501
B1ueber2y Nov 26, 2024
bb3fcf8
fix scripts
B1ueber2y Nov 26, 2024
ae0872f
remove python json logger
B1ueber2y Nov 26, 2024
804595e
Merge branch 'features/colmap_head' into features/ci_test
B1ueber2y Nov 26, 2024
ad32a40
fix copy constructor for other classes
B1ueber2y Nov 26, 2024
aa615ae
Merge branch 'features/colmap_head' into features/ci_test
B1ueber2y Nov 26, 2024
832824e
merge
B1ueber2y Nov 28, 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
81 changes: 81 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: limap

on:
push:
branches:
- main
- release/*
pull_request:
types: [ assigned, opened, synchronize, reopened ]
release:
types: [ published, edited ]

jobs:
build:
name: ${{ matrix.config.os }} ${{ matrix.config.arch }}
runs-on: ${{ matrix.config.os }}
strategy:
matrix:
config: [
{os: ubuntu-latest},
]
env:
COMPILER_CACHE_VERSION: 1
COMPILER_CACHE_DIR: ${{ github.workspace }}/compiler-cache
CCACHE_DIR: ${{ github.workspace }}/compiler-cache/ccache
CCACHE_BASEDIR: ${{ github.workspace }}
# For faster builds in PRs, skip all but the latest Python versions.
PULL_REQUEST_CIBW_BUILD: cp39-{manylinux}*
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
id: cache-builds
with:
key: limap-v${{ env.COMPILER_CACHE_VERSION }}-${{ matrix.config.os }}-${{ matrix.config.arch }}-${{ github.run_id }}-${{ github.run_number }}
restore-keys: limap-v${{ env.COMPILER_CACHE_VERSION }}-${{ matrix.config.os }}-${{ matrix.config.arch }}
path: ${{ env.COMPILER_CACHE_DIR }}

- name: Set env (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update && sudo apt-get install -y \
git \
build-essential \
cmake \
ninja-build \
libboost-program-options-dev \
libboost-graph-dev \
libboost-system-dev \
libeigen3-dev \
libceres-dev \
libflann-dev \
libfreeimage-dev \
libmetis-dev \
libgoogle-glog-dev \
libgtest-dev \
libgmock-dev \
libsqlite3-dev \
libglew-dev \
qtbase5-dev \
libqt5opengl5-dev \
libcgal-dev \
libcgal-qt5-dev \
libgl1-mesa-dri \
libunwind-dev \
xvfb

- name: Install Python dependencies
run: |
git submodule update --init --recursive
python -m pip install --upgrade pip
python -m pip install setuptools
python -m pip install -r requirements.txt # If you have a requirements file

- name: Build
run: |
python -m pip install -v .

- name: Run Python tests
run: |
python -c "import limap; print(limap.__version__)"

File renamed without changes.
11 changes: 3 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,14 @@ numpy
scipy
matplotlib
seaborn
brewer2mpl
tensorboard
tensorboardX
opencv-python
opencv-contrib-python
scikit-learn
scikit-image
shapely
jupyter
bresenham
pyvista
omegaconf
rtree
plyfile
pathlib
open3d==0.16.0
Expand All @@ -31,6 +26,6 @@ ruff==0.6.7
clang-format==19.1.0

./third-party/pytlsd
-e ./third-party/Hierarchical-Localization
-e ./third-party/DeepLSD
-e ./third-party/GlueStick
./third-party/Hierarchical-Localization
./third-party/DeepLSD
./third-party/GlueStick