Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-latest]
os: [ubuntu-20.04]

steps:
- name: Checkout
Expand All @@ -24,11 +24,14 @@ jobs:
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: 5.14.2
version: 5.15.2
target: desktop
host: linux
install-deps: true

- name: Build
run: ./build.sh -DQt5_PATH="${Qt5_Dir}" -j3
run: |
./build.sh \
-DQt5_PATH="${Qt5_Dir}" \
-j3
continue-on-error: true
14 changes: 8 additions & 6 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:
jobs:
mac-build-gui:

runs-on: macOS-latest
runs-on: macos-10.15

steps:
- name: Checkout
Expand All @@ -18,17 +18,19 @@ jobs:
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: 5.14.2
version: 5.15.2
target: desktop
host: mac
install-deps: true

- name: Prepare
run: |
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
#- name: Prepare
# run: |
# 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

- name: make
run: ./build.sh -DQt5_PATH="${Qt5_Dir}"
run: |
./build.sh \
-DQt5_PATH="${Qt5_Dir}"

- name: Package
working-directory: bin/Seg3D
Expand Down
21 changes: 17 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ jobs:
windows-build-gui:
strategy:
matrix:
qtversion: [5.12.8, 5.14.2]
runs-on: windows-2016
qtversion: [5.15.2]
include:
- qtversion: 5.15.2
qtarch: win64_msvc2019_64
cmake-generator: "Visual Studio 17 2022"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this will require updating the Boost dependency to something newer, and possibly python as well. It might break a lot of code. I have SCIRun building with Boost 1.75, but that version is also too old for VS 2022.

cmake-arch: x64
cmake-toolset: v143
runs-on: windows-2022

steps:

Expand All @@ -25,13 +31,20 @@ jobs:
version: ${{ matrix.qtversion }}
target: desktop
host: windows
arch: win64_msvc2017_64
arch: ${{ matrix.qtarch }}
install-deps: true

- name: Configure
working-directory: bin
run: |
cmake ..\Superbuild -DCMAKE_BUILD_TYPE=Release -G"Visual Studio 15 2017" -Ax64 -DQt5_PATH:PATH="$env:Qt5_Dir" -DBUILD_WITH_PYTHON:BOOL=OFF
cmake `
..\Superbuild `
-DCMAKE_BUILD_TYPE=Release `
-G"${{ matrix.cmake-generator }}" `
-A${{ matrix.cmake-arch }} `
-T${{ matrix.cmake-toolset }} `
-DQt5_PATH:PATH="$env:Qt5_Dir" `
-DBUILD_WITH_PYTHON:BOOL=OFF

- name: Compile
working-directory: bin
Expand Down