Skip to content

Commit ec7a5a3

Browse files
committed
Add non-python builds
1 parent ddc2cd5 commit ec7a5a3

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed

.github/workflows/ccpp.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,28 @@ jobs:
3131
run: |
3232
cat ./SCIRun | head -c 1024
3333
34+
linux-build-gui-nonpython:
35+
36+
runs-on: ${{ matrix.os }}
37+
strategy:
38+
matrix:
39+
os: [ubuntu-16.04, ubuntu-18.04, ubuntu-latest]
40+
41+
steps:
42+
- name: Checkout
43+
uses: actions/checkout@v2
44+
45+
- name: Prepare
46+
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
47+
48+
- name: Build
49+
run: ./build.sh -DQt5_PATH=$(dpkg -L qtbase5-dev) -DBUILD_WITH_PYTHON=OFF -j3
50+
51+
- name: Basic Test
52+
working-directory: bin/SCIRun
53+
run: |
54+
cat ./SCIRun | head -c 1024
55+
3456
linux-build-headless:
3557

3658
runs-on: ${{ matrix.os }}

.github/workflows/mac.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,46 @@ jobs:
6161
# files: |
6262
# bin/SCIRun/SCIRun-5.0.beta.*-Darwin.pkg
6363

64+
mac-build-gui-nonpython:
65+
66+
runs-on: macOS-latest
67+
68+
steps:
69+
- name: Checkout
70+
uses: actions/checkout@v2
71+
with:
72+
fetch-depth: 0
73+
74+
- name: Install Qt
75+
uses: ouuan/install-qt-action@ouuan
76+
with:
77+
version: 5.14.2
78+
target: desktop
79+
host: mac
80+
install-deps: true
81+
82+
- name: Prepare
83+
run: |
84+
ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers/X11/ /usr/local/include/X11
85+
86+
- name: make
87+
run: ./build.sh -DBUILD_WITH_PYTHON=OFF -DQt5_PATH="${Qt5_Dir}"
88+
89+
- name: Package
90+
working-directory: bin/SCIRun
91+
run: |
92+
cmake -DBUILD_BUNDLE:BOOL=ON ../../src
93+
make -j3
94+
make package
95+
chmod +x repair_package.sh
96+
./repair_package.sh
97+
98+
- name: Upload installer
99+
uses: actions/upload-artifact@v2
100+
with:
101+
name: SCIRunMacNPInstaller
102+
path: bin/SCIRun/SCIRun-5.0.beta.*-Darwin.pkg
103+
64104
mac-build-gui-ospray:
65105

66106
runs-on: macOS-latest

0 commit comments

Comments
 (0)