|
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 |
| 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 | + |
| 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.15.1 |
| 145 | + target: desktop |
| 146 | + host: windows |
| 147 | + arch: win64_msvc2017_64 |
| 148 | + install-deps: true |
101 | 149 |
|
102 | 150 | - name: Configure |
103 | 151 | working-directory: bin |
@@ -130,3 +178,54 @@ jobs: |
130 | 178 | # title: "Development Build for Windows" |
131 | 179 | # files: | |
132 | 180 | # bin/SCIRun/SCIRun-5.0.beta.*-win64.exe |
| 181 | + |
| 182 | + windows-build-gui-python-ospray: |
| 183 | + runs-on: windows-latest |
| 184 | + |
| 185 | + steps: |
| 186 | + |
| 187 | + - name: Checkout |
| 188 | + uses: actions/checkout@v2 |
| 189 | + with: |
| 190 | + fetch-depth: 0 |
| 191 | + |
| 192 | + - name: Install Qt |
| 193 | + uses: ouuan/install-qt-action@ouuan |
| 194 | + with: |
| 195 | + version: 5.15.1 |
| 196 | + target: desktop |
| 197 | + host: windows |
| 198 | + arch: win64_msvc2017_64 |
| 199 | + install-deps: true |
| 200 | + |
| 201 | + - name: Configure |
| 202 | + working-directory: bin |
| 203 | + run: | |
| 204 | + cmake ..\Superbuild -DCMAKE_BUILD_TYPE=Release -G"Visual Studio 16 2019" -Ax64 -DQt5_PATH:PATH="$env:Qt5_Dir" -DWITH_OSPRAY:BOOL=ON |
| 205 | +
|
| 206 | + - name: Compile |
| 207 | + working-directory: bin |
| 208 | + shell: cmd |
| 209 | + run: cmake --build . --config Release -j 3 |
| 210 | + |
| 211 | + - name: Package |
| 212 | + working-directory: bin/SCIRun |
| 213 | + shell: cmd |
| 214 | + run: cmake --build . --config Release --target package |
| 215 | + |
| 216 | + - name: Upload installer |
| 217 | + uses: actions/upload-artifact@v2 |
| 218 | + with: |
| 219 | + name: SCIRunWindowsOsprayInstaller |
| 220 | + path: bin/SCIRun/SCIRun-5.0.beta.*-win64.exe |
| 221 | + |
| 222 | + # - name: Deploy |
| 223 | + # if: github.ref == 'refs/heads/master' |
| 224 | + # uses: marvinpinto/action-automatic-releases@latest |
| 225 | + # with: |
| 226 | + # repo_token: "${{ secrets.GITHUB_TOKEN }}" |
| 227 | + # automatic_release_tag: "dev-windows" |
| 228 | + # prerelease: true |
| 229 | + # title: "Development Build for Windows" |
| 230 | + # files: | |
| 231 | + # bin/SCIRun/SCIRun-5.0.beta.*-win64.exe |
0 commit comments