Build with Local Ospray #2607
Workflow file for this run
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: linux-build | |
on: | |
push: | |
paths-ignore: | |
- 'docs/**' | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
jobs: | |
linux-build-gui: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Prepare | |
run: sudo apt-get update && sudo apt-get install mesa-common-dev libgl1-mesa-dev mesa-utils-extra libglapi-mesa ninja-build qt5-qmake qtbase5-dev libqt5opengl5-dev libqt5svg5-dev | |
- name: Build | |
run: ./build.sh -DSCIRUN_QT_MIN_VERSION:STRING="5.12.8" -DQt_PATH=$(dpkg -L qtbase5-dev) -j3 | |
- name: Basic Test | |
working-directory: bin/SCIRun | |
run: | | |
cat ./SCIRun | head -c 1024 | |
linux-build-gui-nonpython: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Prepare | |
run: sudo apt-get update && sudo apt-get install mesa-common-dev libgl1-mesa-dev mesa-utils-extra libglapi-mesa ninja-build qt5-qmake qtbase5-dev libqt5opengl5-dev libqt5svg5-dev | |
- name: Build | |
run: ./build.sh -DSCIRUN_QT_MIN_VERSION:STRING="5.12.8" -DQt_PATH=$(dpkg -L qtbase5-dev) -DBUILD_WITH_PYTHON=OFF -DUSER_PYTHON_VERSION="3.9.10" -j3 | |
- name: Basic Test | |
working-directory: bin/SCIRun | |
run: | | |
cat ./SCIRun | head -c 1024 | |
linux-build-headless: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Prepare | |
run: sudo apt-get update && sudo apt-get install mesa-common-dev libgl1-mesa-dev mesa-utils-extra libglapi-mesa ninja-build | |
- name: Build | |
run: ./build.sh -DBUILD_HEADLESS:BOOL=ON -DBUILD_TESTING:BOOL=ON -j3 | |
- name: Test | |
working-directory: bin/SCIRun | |
continue-on-error: true | |
run: make test | |
linux-build-gui-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Prepare | |
run: sudo apt-get update && sudo apt-get install mesa-common-dev libgl1-mesa-dev mesa-utils-extra libglapi-mesa ninja-build qt5-qmake qtbase5-dev libqt5opengl5-dev libqt5svg5-dev | |
- name: Build | |
run: ./build.sh -DSCIRUN_QT_MIN_VERSION:STRING="5.12.8" -DQt_PATH=$(dpkg -L qtbase5-dev) -j3 -DBUILD_TESTING:BOOL=ON | |
- name: Test | |
working-directory: bin/SCIRun | |
continue-on-error: true | |
run: make test | |
linux-build-gui-ospray: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Prepare | |
run: sudo apt-get update && sudo apt-get install mesa-common-dev libgl1-mesa-dev mesa-utils-extra libglapi-mesa ninja-build qt5-qmake qtbase5-dev libqt5opengl5-dev libqt5svg5-dev xorg-dev libglu1-mesa-dev | |
- name: Build | |
run: ./build.sh -DSCIRUN_QT_MIN_VERSION:STRING="5.12.8" -DQt_PATH=$(dpkg -L qtbase5-dev) -DWITH_OSPRAY:BOOL=ON |