Commit 23f12069 authored by jerem's avatar jerem Committed by jeremad

chore(opencl): add openCL ci

parent 45cdaf3c
......@@ -9,7 +9,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: CMake
run: docker build . --file docker/ci.dockerfile --tag stitchem-cuda8:latest --build-arg version=8
run: docker build . --file docker/ci-cuda.dockerfile --tag stitchem-cuda8:latest --build-arg version=8
- name: Build
run: docker run stitchem-cuda8:latest
......@@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: CMake
run: docker build . --file docker/ci.dockerfile --tag stitchem-cuda9:latest --build-arg version=9
run: docker build . --file docker/ci-cuda.dockerfile --tag stitchem-cuda9:latest --build-arg version=9
- name: Build
run: docker run stitchem-cuda9:latest
......@@ -27,10 +27,19 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: CMake
run: docker build . --file docker/ci.dockerfile --tag stitchem-cuda10:latest --build-arg version=10
run: docker build . --file docker/ci-cuda.dockerfile --tag stitchem-cuda10:latest --build-arg version=10
- name: Build
run: docker run stitchem-cuda10:latest
LinuxOpenCL:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: CMake
run: docker build . --file docker/ci-opencl.dockerfile --tag stitchem-opencl:latest
- name: Build
run: docker run stitchem-opencl:latest
MacOpenCL:
runs-on: macos-latest
steps:
......
ARG version
FROM stitchem/stitchem-base:latest
ADD . stitchEm
WORKDIR stitchEm
WORKDIR build
RUN cmake -DCMAKE_BUILD_TYPE=Release -DGPU_BACKEND_CUDA=OFF -DGPU_BACKEND_OPENCL=ON -DDISABLE_OPENCL_SPIR=ON -G Ninja ..
CMD ninja
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