cmd parser remove pass by ref #49
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: VTK6 C++ CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Install packages | |
run: sudo apt-get update && sudo apt-get install -y libvtk6-dev cmake libproj-dev | |
- name: Check installed versions | |
run: cmake --version | |
- name: Build VTK-Dicom Library | |
run: git clone https://github.com/dgobbi/vtk-dicom.git && cd vtk-dicom && mkdir build && cd build && cmake .. && make | |
- name: Configure Simple | |
run: mkdir build && cd build && cmake -DBUILD_GUI=OFF -DUSE_VTK_DICOM=OFF -DTESTDICOM2MESH=ON -DTESTDICOM2MESHLIB=ON .. | |
- name: Build D2M Simple | |
run: cd build && make | |
- name: Run Test Simple | |
run: ./build/lib/runLibTests && ./build/dicom2mesh/runD2MTests | |
- name: Clean | |
run: rm -rf build | |
- name: Configure VTK_DICOM | |
run: mkdir build && cd build && cmake -DBUILD_GUI=OFF -DTESTDICOM2MESH=ON -DTESTDICOM2MESHLIB=ON -DUSE_VTK_DICOM=ON .. | |
- name: Build D2M VTK_DICOM | |
run: cd build && make | |
- name: Run Test VTK_DICOM | |
run: ./build/lib/runLibTests && ./build/dicom2mesh/runD2MTests |