Skip to content

Commit c36208d

Browse files
committed
Closes #1866
1 parent cf50911 commit c36208d

File tree

2 files changed

+56
-52
lines changed

2 files changed

+56
-52
lines changed

.github/workflows/mac.yml

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

64+
mac-build-gui-ospray:
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: Print out Qt directory
83+
run: echo $Qt5_DIR; echo $Qt5_Dir
84+
85+
- name: Prepare
86+
run: |
87+
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
88+
89+
- name: make
90+
run: ./build.sh -DWITH_OSPRAY:BOOL=ON -DUSER_PYTHON_VERSION="3.6.7" -DQt5_PATH="${Qt5_Dir}"
91+
92+
- name: Package
93+
working-directory: bin/SCIRun
94+
run: |
95+
cmake -DBUILD_BUNDLE:BOOL=ON ../../src
96+
make -j3
97+
make package
98+
chmod +x repair_package.sh
99+
./repair_package.sh
100+
101+
- name: Upload installer
102+
uses: actions/upload-artifact@v2
103+
with:
104+
name: SCIRunMacOsprayInstaller
105+
path: bin/SCIRun/SCIRun-5.0.beta.*-Darwin.pkg
106+
107+
# - name: Deploy
108+
# id: deploy
109+
# if: github.ref == 'refs/heads/master'
110+
# uses: marvinpinto/action-automatic-releases@latest
111+
# with:
112+
# repo_token: "${{ secrets.GITHUB_TOKEN }}"
113+
# automatic_release_tag: "dev-mac"
114+
# prerelease: true
115+
# title: "Development Build for Mac"
116+
# files: |
117+
# bin/SCIRun/SCIRun-5.0.beta.*-Darwin.pkg
118+
64119
mac-build-headless:
65120

66121
runs-on: macOS-latest

.github/workflows/windows.yml

Lines changed: 1 addition & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Install Qt
4848
uses: ouuan/install-qt-action@ouuan
4949
with:
50-
version: 5.13.1
50+
version: 5.14.2
5151
target: desktop
5252
host: windows
5353
arch: win64_msvc2017_64
@@ -82,57 +82,6 @@ jobs:
8282

8383
steps:
8484

85-
- name: Checkout
86-
uses: actions/checkout@v2
87-
with:
88-
fetch-depth: 0
89-
90-
- name: Install Qt
91-
uses: ouuan/install-qt-action@ouuan
92-
with:
93-
version: 5.13.1
94-
target: desktop
95-
host: windows
96-
arch: win64_msvc2017_64
97-
install-deps: true
98-
99-
- name: Configure
100-
working-directory: bin
101-
run: |
102-
cmake ..\Superbuild -DCMAKE_BUILD_TYPE=Release -G"Visual Studio 16 2019" -Ax64 -DQt5_PATH:PATH="$env:Qt5_Dir"
103-
104-
- name: Compile
105-
working-directory: bin
106-
shell: cmd
107-
run: cmake --build . --config Release -j 3
108-
109-
- name: Package
110-
working-directory: bin/SCIRun
111-
shell: cmd
112-
run: cmake --build . --config Release --target package
113-
114-
- name: Upload installer
115-
uses: actions/upload-artifact@v2
116-
with:
117-
name: SCIRunWindowsPythonInstaller
118-
path: bin/SCIRun/SCIRun-5.0.beta.*-win64.exe
119-
120-
# - name: Deploy
121-
# if: github.ref == 'refs/heads/master'
122-
# uses: marvinpinto/action-automatic-releases@latest
123-
# with:
124-
# repo_token: "${{ secrets.GITHUB_TOKEN }}"
125-
# automatic_release_tag: "dev-windows"
126-
# prerelease: true
127-
# title: "Development Build for Windows"
128-
# files: |
129-
# bin/SCIRun/SCIRun-5.0.beta.*-win64.exe
130-
131-
windows-build-gui-python-2:
132-
runs-on: windows-latest
133-
134-
steps:
135-
13685
- name: Checkout
13786
uses: actions/checkout@v2
13887
with:

0 commit comments

Comments
 (0)