Commit cebf09b6 authored by jerem's avatar jerem Committed by jeremad

Add CI for macOS

parent 8978380d
dist: xenial language: cpp
services:
- docker
matrix: matrix:
include: include:
- name: CUDA 8 - name: OpenCL macOS
os: osx
addons:
homebrew:
update: true
packages:
- bison
- 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:${PATH}"
script:
- mkdir build
- cd build
- cmake -DCREATE_BOX_PACKAGE=OFF -DGPU_BACKEND_CUDA=OFF -DGPU_BACKEND_OPENCL=ON -DAPPLE_BREW=ON -DQt5_DIR=/usr/local/opt/qt/lib/cmake/Qt5 -G Ninja ..
- ninja
- name: CUDA 8 Linux
dist: xenial
services:
- docker
script: script:
- docker build --tag stitchem-cuda8:latest --file docker/ci.dockerfile --build-arg version=8 . - docker build --tag stitchem-cuda8:latest --file docker/ci.dockerfile --build-arg version=8 .
- name: CUDA 9 - name: CUDA 9 Linux
dist: xenial
services:
- docker
script: script:
- docker build --tag stitchem-cuda9:latest --file docker/ci.dockerfile --build-arg version=9 . - docker build --tag stitchem-cuda9:latest --file docker/ci.dockerfile --build-arg version=9 .
- name: CUDA 10 - name: CUDA 10 Linux
dist: xenial
services:
- docker
script: script:
- docker build --tag stitchem-cuda10:latest --file docker/ci.dockerfile --build-arg version=10 . - docker build --tag stitchem-cuda10:latest --file docker/ci.dockerfile --build-arg version=10 .
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment