Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
alta
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alta
alta
Commits
1967bc66
Commit
1967bc66
authored
Oct 11, 2017
by
Laurent Belcour
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CI] Adding the CI scripts
parent
fc7b2fec
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
76 additions
and
0 deletions
+76
-0
.appveyor.yml
.appveyor.yml
+39
-0
.travis.yml
.travis.yml
+37
-0
No files found.
.appveyor.yml
0 → 100644
View file @
1967bc66
os
:
-
Visual Studio
2015
build
:
verbosity
:
detailed
install
:
-
SET "PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
-
python --version
-
python -m ensurepip
-
python -m pip install --egg scons==2.4.1
-
cinst nsis.portable
before_build
:
-
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
build_script
:
-
git submodule init
-
git submodule update
-
scons
# Build externals #
-
cd external
# Install CERES #
-
git clone https://ceres-solver.googlesource.com/ceres-solver
-
cd ceres-solver
-
mkdir build
-
cd build
-
cmake .. -DBUILD_SHARED_LIBS=OFF -DMINIGLOG=ON -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=ON -DCMAKE_INSTALL_PREFIX="..\..\build" -DEIGEN_INCLUDE_DIR="..\..\build\include" -DCMAKE_BUILD_TYPE=Release -G "NMake Makefiles"
-
nmake install
-
cd ..\..\..
# Rebuild #
-
scons -i
# Generate product #
-
makensis sources\scripts\installer.nsi
-
appveyor PushArtifact sources\scripts\ALTA.exe
.travis.yml
0 → 100644
View file @
1967bc66
language
:
cpp
matrix
:
include
:
-
os
:
linux
dist
:
trusty
sudo
:
required
addons
:
apt
:
sources
:
-
ubuntu-toolchain-r-test
packages
:
-
g++-6
-
cmake
-
libceres-dev
-
libboost-python-dev
-
libnlopt-dev
-
coinor-libipopt-dev
-
os
:
osx
before_install
:
-
brew update
-
brew install scons
before_install
:
-
OMP_NUM_THREADS=2
-
eval "${MATRIX_EVAL}"
#- sudo apt-get update -qq -y
#- sudo apt-get install -qq -y libopenexr-dev cmake libboost-python-dev libnlopt-dev coinor-libipopt-dev liblapack-dev libblas-dev libgfortran-4.8-dev
script
:
-
git submodule init
-
git submodule update
-
scons
-
scons tests
#- scons tests python -i
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment