-
Notifications
You must be signed in to change notification settings - Fork 72
115 lines (85 loc) · 3.03 KB
/
ccpp.yml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
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@v3
- 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@v3
- 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@v3
- 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@v3
- 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@v3
- 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