forked from stitchEm/stitchEm
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (39 loc) · 1.41 KB
/
build.yml
File metadata and controls
44 lines (39 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Build
on:
push:
branches:
- master
pull_request:
jobs:
LinuxCuda:
runs-on: ubuntu-latest
container: stitchem/stitchem:latest
steps:
- uses: actions/checkout@v1
- name: CMake
run: mkdir ../build && cd ../build && cmake -DCMAKE_BUILD_TYPE=Debug -DRTMP_NVENC=OFF -DCUDA_TARGET_ARCH="50" -DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=OFF -DDISABLE_OPENCL_SPIR=ON -G Ninja ../stitchEm
- name: Build
run: cd ../build && ninja
LinuxOpenCL:
runs-on: ubuntu-latest
container: stitchem/stitchem:latest
steps:
- uses: actions/checkout@v1
- name: CMake
run: mkdir ../build && cd ../build && cmake -DCMAKE_BUILD_TYPE=Debug -DGPU_BACKEND_CUDA=OFF -DGPU_BACKEND_OPENCL=ON -DDISABLE_OPENCL_SPIR=ON -G Ninja ../stitchEm
- name: Build
run: cd ../build && ninja
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 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