|
47 | 47 | - name: Install Qt |
48 | 48 | uses: ouuan/install-qt-action@ouuan |
49 | 49 | with: |
50 | | - version: 5.13.1 |
| 50 | + version: 5.14.2 |
51 | 51 | target: desktop |
52 | 52 | host: windows |
53 | 53 | arch: win64_msvc2017_64 |
@@ -90,15 +90,12 @@ jobs: |
90 | 90 | - name: Install Qt |
91 | 91 | uses: ouuan/install-qt-action@ouuan |
92 | 92 | with: |
93 | | - version: 5.13.1 |
| 93 | + version: 5.14.2 |
94 | 94 | target: desktop |
95 | 95 | host: windows |
96 | 96 | arch: win64_msvc2017_64 |
97 | 97 | install-deps: true |
98 | 98 |
|
99 | | - - name: Print out Qt directory |
100 | | - run: echo $Env:Qt5_Dir |
101 | | - |
102 | 99 | - name: Configure |
103 | 100 | working-directory: bin |
104 | 101 | run: | |
@@ -130,3 +127,54 @@ jobs: |
130 | 127 | # title: "Development Build for Windows" |
131 | 128 | # files: | |
132 | 129 | # bin/SCIRun/SCIRun-5.0.beta.*-win64.exe |
| 130 | + |
| 131 | + windows-build-gui-python-ospray: |
| 132 | + runs-on: windows-latest |
| 133 | + |
| 134 | + steps: |
| 135 | + |
| 136 | + - name: Checkout |
| 137 | + uses: actions/checkout@v2 |
| 138 | + with: |
| 139 | + fetch-depth: 0 |
| 140 | + |
| 141 | + - name: Install Qt |
| 142 | + uses: ouuan/install-qt-action@ouuan |
| 143 | + with: |
| 144 | + version: 5.14.2 |
| 145 | + target: desktop |
| 146 | + host: windows |
| 147 | + arch: win64_msvc2017_64 |
| 148 | + install-deps: true |
| 149 | + |
| 150 | + - name: Configure |
| 151 | + working-directory: bin |
| 152 | + run: | |
| 153 | + cmake ..\Superbuild -DCMAKE_BUILD_TYPE=Release -G"Visual Studio 16 2019" -Ax64 -DQt5_PATH:PATH="$env:Qt5_Dir" -DWITH_OSPRAY:BOOL=ON |
| 154 | +
|
| 155 | + - name: Compile |
| 156 | + working-directory: bin |
| 157 | + shell: cmd |
| 158 | + run: cmake --build . --config Release -j 3 |
| 159 | + |
| 160 | + - name: Package |
| 161 | + working-directory: bin/SCIRun |
| 162 | + shell: cmd |
| 163 | + run: cmake --build . --config Release --target package |
| 164 | + |
| 165 | + - name: Upload installer |
| 166 | + uses: actions/upload-artifact@v2 |
| 167 | + with: |
| 168 | + name: SCIRunWindowsOsprayInstaller |
| 169 | + path: bin/SCIRun/SCIRun-5.0.beta.*-win64.exe |
| 170 | + |
| 171 | + # - name: Deploy |
| 172 | + # if: github.ref == 'refs/heads/master' |
| 173 | + # uses: marvinpinto/action-automatic-releases@latest |
| 174 | + # with: |
| 175 | + # repo_token: "${{ secrets.GITHUB_TOKEN }}" |
| 176 | + # automatic_release_tag: "dev-windows" |
| 177 | + # prerelease: true |
| 178 | + # title: "Development Build for Windows" |
| 179 | + # files: | |
| 180 | + # bin/SCIRun/SCIRun-5.0.beta.*-win64.exe |
0 commit comments