Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
stitchEm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Franco (nextime) Lanza
stitchEm
Commits
e1e316df
Commit
e1e316df
authored
Nov 13, 2019
by
jerem
Committed by
jeremad
Dec 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(ci): use github actions instead of travis
parent
4ce0be01
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
55 additions
and
66 deletions
+55
-66
build.yml
.github/workflows/build.yml
+48
-0
.travis.yml
.travis.yml
+0
-63
CMakeLists.txt
CMakeLists.txt
+4
-0
README.md
README.md
+3
-3
No files found.
.github/workflows/build.yml
0 → 100644
View file @
e1e316df
name
:
Build
on
:
[
push
]
jobs
:
LinuxCuda8
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v1
-
name
:
CMake
run
:
docker build . --file docker/ci.dockerfile --tag stitchem-cuda8:latest --build-arg version=8
-
name
:
Build
run
:
docker run stitchem-cuda8:latest
LinuxCuda9
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v1
-
name
:
CMake
run
:
docker build . --file docker/ci.dockerfile --tag stitchem-cuda9:latest --build-arg version=9
-
name
:
Build
run
:
docker run stitchem-cuda9:latest
LinuxCuda10
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v1
-
name
:
CMake
run
:
docker build . --file docker/ci.dockerfile --tag stitchem-cuda10:latest --build-arg version=10
-
name
:
Build
run
:
docker run stitchem-cuda10:latest
MacOpenCL
:
runs-on
:
macos-latest
steps
:
-
uses
:
actions/checkout@v1
-
name
:
Deps
run
:
brew install bison ceres-solver CMake doxygen faac faad2 ffmpeg glew glfw glm jpeg libpng libtiff ninja opencv@3 qt yasm
-
name
:
CMake
run
:
mkdir build && cd build && PATH="/usr/local/opt/bison/bin:${PATH}" cmake -DCREATE_BOX_PACKAGE=OFF -DGPU_BACKEND_CUDA=OFF -DGPU_BACKEND_OPENCL=ON -DMACPORTS=OFF -DQt5_DIR=/usr/local/opt/qt/lib/cmake/Qt5 -G Ninja ..
-
name
:
Build
run
:
cd build && ninja
WindowsCuda
:
runs-on
:
windows-latest
steps
:
-
uses
:
actions/checkout@v1
.travis.yml
deleted
100644 → 0
View file @
4ce0be01
language
:
cpp
cache
:
ccache
matrix
:
include
:
-
name
:
OpenCL macOS
os
:
osx
addons
:
homebrew
:
update
:
true
packages
:
-
bison
-
ccache
-
ceres-solver
-
CMake
-
doxygen
-
faac
-
faad2
-
ffmpeg
-
glew
-
glfw
-
glm
-
jpeg
-
libpng
-
libtiff
-
ninja
-
opencv@3
-
qt
-
yasm
before_install
:
-
export PATH="/usr/local/opt/bison/bin:/usr/local/opt/ccache/libexec:${PATH}"
script
:
-
mkdir build
-
cd build
-
cmake -DCREATE_BOX_PACKAGE=OFF -DGPU_BACKEND_CUDA=OFF -DGPU_BACKEND_OPENCL=ON -DMACPORTS=OFF -DQt5_DIR=/usr/local/opt/qt/lib/cmake/Qt5 -G Ninja ..
-
ninja
-
name
:
CUDA 8 Linux
dist
:
xenial
services
:
-
docker
before_script
:
-
docker build --tag stitchem-cuda8:latest --file docker/ci.dockerfile --build-arg version=8 .
-
docker create -v ${HOME}/.ccache:/ccache --name ccache stitchem-cuda8:latest
script
:
-
docker run --env CCACHE_DIR=/ccache --volumes-from ccache stitchem-cuda8:latest
-
name
:
CUDA 9 Linux
dist
:
xenial
services
:
-
docker
before_script
:
-
docker build --tag stitchem-cuda9:latest --file docker/ci.dockerfile --build-arg version=9 .
-
docker create -v ${HOME}/.ccache:/ccache --name ccache stitchem-cuda9:latest
script
:
-
docker run --env CCACHE_DIR=/ccache --volumes-from ccache stitchem-cuda9:latest
-
name
:
CUDA 10 Linux
dist
:
xenial
services
:
-
docker
before_script
:
-
docker build --tag stitchem-cuda10:latest --file docker/ci.dockerfile --build-arg version=10 .
-
docker create -v ${HOME}/.ccache:/ccache --name ccache stitchem-cuda10:latest
script
:
-
docker run --env CCACHE_DIR=/ccache --volumes-from ccache stitchem-cuda10:latest
CMakeLists.txt
View file @
e1e316df
...
...
@@ -126,6 +126,10 @@ endif()
# Use definitions from the cmake folder for find_package
# ----------------------------------------------------------------------------
list
(
APPEND CMAKE_MODULE_PATH
"
${
CMAKE_SOURCE_DIR
}
/cmake"
)
if
(
APPLE
)
list
(
APPEND CMAKE_PREFIX_PATH /usr/local/opt/opencv@3/share/OpenCV
)
include_directories
(
"/usr/local/include"
)
endif
()
# ----------------------------------------------------------------------------
...
...
README.md
View file @
e1e316df
[
license-badge
]:
https://img.shields.io/badge/license-MIT-green.svg
[
license-link
]:
https://opensource.org/licenses/MIT
[
travis-badge
]:
https://img.shields.io/travis/stitchEm/stitchEm/master.svg?label=Build
[
travis-link
]:
https://travis-ci.org/stitchEm/stitchEm
[
actions-badge
]:
https://github.com/stitchEm/stitchEm/workflows/Build/badge.svg
[
actions-link
]:
https://github.com/stitchEm/stitchEm/actions
[
![License
][
license-badge
]
]
[
license-link
]
[
![Build
][
travis-badge
]
]
[
travi
s-link
]
[
![Build
][
actions-badge
]
]
[
action
s-link
]
Vahana VR & VideoStitch Studio: software to create immersive 360° VR video, live and in post-production.
...
...
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