Commit 9a632037 authored by jeremad's avatar jeremad Committed by jeremad

feat(ci): upload every linux master build

parent e116eea0
......@@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: CMake
run: mkdir ../build && cd ../build && cmake -DCMAKE_BUILD_TYPE=Release -DRTMP_NVENC=OFF -DCUDA_TARGET_ARCH="50" -DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=OFF -DDISABLE_OPENCL_SPIR=ON -G Ninja ../stitchEm
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
......@@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: CMake
run: mkdir ../build && cd ../build && cmake -DCMAKE_BUILD_TYPE=Release -DGPU_BACKEND_CUDA=OFF -DGPU_BACKEND_OPENCL=ON -DDISABLE_OPENCL_SPIR=ON -G Ninja ../stitchEm
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
......
name: Deploy
on:
push:
branches:
- master
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=Release -DRTMP_NVENC=OFF -DGPU_BACKEND_CUDA=ON -DGPU_BACKEND_OPENCL=OFF -DLIB_TESTS=OFF -DBUILD_APPS_TESTS=OFF -G Ninja ..
- name: Build
run: cd build && ninja
- name: Upload CUDA build
uses: actions/upload-artifact@v2
with:
name: Linux CUDA build
path: build/bin/x64/release
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=Release -DGPU_BACKEND_CUDA=OFF -DGPU_BACKEND_OPENCL=ON -DDISABLE_OPENCL_SPIR=ON -DLIB_TESTS=OFF -DBUILD_APPS_TESTS=OFF -G Ninja ..
- name: Build
run: cd build && ninja
- name: Upload OpenCL build
uses: actions/upload-artifact@v2
with:
name: Linux OpenCL build
path: build/bin/x64/release
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