Skip to content

Commit 077a261

Browse files
COMP: Pass matrix.os to Plus builds
1 parent 73d08a1 commit 077a261

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

.github/workflows/build-plus.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
required: true
88
type: string
99
default: x64
10+
os:
11+
required: true
12+
type: string
1013
# Dependency versions
1114
qt-version:
1215
required: false
@@ -64,7 +67,7 @@ on:
6467

6568
jobs:
6669
build:
67-
runs-on: windows-latest
70+
runs-on: ${{ inputs.os }}
6871

6972
steps:
7073
- name: Restore VTK Cache

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ jobs:
103103
arch: ${{ matrix.arch }}
104104
build-type: ${{ matrix.build_type }}
105105

106+
########
107+
# BUILD PLUS
106108
build_plus_x64:
107109
needs: [update_vtk_x64, update_itk_x64]
108110
uses: ./.github/workflows/build-plus.yml
@@ -116,6 +118,7 @@ jobs:
116118
pltools-access-token: ${{ secrets.PLTOOLS_ACCESS_TOKEN }}
117119
with:
118120
arch: ${{ matrix.arch }}
121+
os: ${{ matrix.os }}
119122
pluslib-repository: https://github.com/${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name || github.repository }}.git
120123
pluslib-tag: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
121124
vtk-cache-key: ${{ needs.update_vtk_x64.outputs.cache-key }}
@@ -153,7 +156,8 @@ jobs:
153156
secrets:
154157
pltools-access-token: ${{ secrets.PLTOOLS_ACCESS_TOKEN }}
155158
with:
156-
arch: Win32
159+
arch: ${{ matrix.arch }}
160+
os: ${{ matrix.os }}
157161
pluslib-repository: https://github.com/${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name || github.repository }}.git
158162
pluslib-tag: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
159163
vtk-cache-key: ${{ needs.update_vtk_Win32.outputs.cache-key }}
@@ -196,6 +200,7 @@ jobs:
196200
pltools-access-token: ${{ secrets.PLTOOLS_ACCESS_TOKEN }}
197201
with:
198202
arch: ${{ matrix.arch }}
203+
os: ${{ matrix.os }}
199204
pluslib-repository: https://github.com/${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name || github.repository }}.git
200205
pluslib-tag: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
201206
vtk-cache-key: ${{ needs.update_vtk_static_x64.outputs.cache-key }}

.github/workflows/nightly.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
pltools-access-token: ${{ secrets.PLTOOLS_ACCESS_TOKEN }}
8080
with:
8181
arch: ${{ matrix.arch }}
82+
os: ${{ matrix.os }}
8283
pluslib-repository: https://github.com/${{ github.repository }}.git
8384
pluslib-tag: ${{ github.sha }}
8485
use-pltools: true
@@ -132,6 +133,7 @@ jobs:
132133
pltools-access-token: ${{ secrets.PLTOOLS_ACCESS_TOKEN }}
133134
with:
134135
arch: ${{ matrix.arch }}
136+
os: ${{ matrix.os }}
135137
pluslib-repository: https://github.com/${{ github.repository }}.git
136138
pluslib-tag: ${{ github.sha }}
137139
use-pltools: true
@@ -157,6 +159,7 @@ jobs:
157159
pltools-access-token: ${{ secrets.PLTOOLS_ACCESS_TOKEN }}
158160
with:
159161
arch: ${{ matrix.arch }}
162+
os: ${{ matrix.os }}
160163
pluslib-repository: https://github.com/${{ github.repository }}.git
161164
pluslib-tag: ${{ github.sha }}
162165
use-pltools: true
@@ -182,6 +185,7 @@ jobs:
182185
pltools-access-token: ${{ secrets.PLTOOLS_ACCESS_TOKEN }}
183186
with:
184187
arch: ${{ matrix.arch }}
188+
os: ${{ matrix.os }}
185189
pluslib-repository: https://github.com/${{ github.repository }}.git
186190
pluslib-tag: ${{ github.sha }}
187191
use-pltools: true
@@ -207,6 +211,7 @@ jobs:
207211
pltools-access-token: ${{ secrets.PLTOOLS_ACCESS_TOKEN }}
208212
with:
209213
arch: ${{ matrix.arch }}
214+
os: ${{ matrix.os }}
210215
pluslib-repository: https://github.com/${{ github.repository }}.git
211216
pluslib-tag: ${{ github.sha }}
212217
use-pltools: true
@@ -234,6 +239,7 @@ jobs:
234239
pltools-access-token: ${{ secrets.PLTOOLS_ACCESS_TOKEN }}
235240
with:
236241
arch: ${{ matrix.arch }}
242+
os: ${{ matrix.os }}
237243
pluslib-repository: https://github.com/${{ github.repository }}.git
238244
pluslib-tag: ${{ github.sha }}
239245
use-pltools: true
@@ -260,6 +266,7 @@ jobs:
260266
pltools-access-token: ${{ secrets.PLTOOLS_ACCESS_TOKEN }}
261267
with:
262268
arch: ${{ matrix.arch }}
269+
os: ${{ matrix.os }}
263270
pluslib-repository: https://github.com/${{ github.repository }}.git
264271
pluslib-tag: ${{ github.sha }}
265272
use-pltools: true
@@ -285,6 +292,7 @@ jobs:
285292
pltools-access-token: ${{ secrets.PLTOOLS_ACCESS_TOKEN }}
286293
with:
287294
arch: ${{ matrix.arch }}
295+
os: ${{ matrix.os }}
288296
pluslib-repository: https://github.com/${{ github.repository }}.git
289297
pluslib-tag: ${{ github.sha }}
290298
use-pltools: true
@@ -336,6 +344,7 @@ jobs:
336344
pltools-access-token: ${{ secrets.PLTOOLS_ACCESS_TOKEN }}
337345
with:
338346
arch: ${{ matrix.arch }}
347+
os: ${{ matrix.os }}
339348
pluslib-repository: https://github.com/${{ github.repository }}.git
340349
pluslib-tag: ${{ github.sha }}
341350
use-pltools: true
@@ -361,6 +370,7 @@ jobs:
361370
pltools-access-token: ${{ secrets.PLTOOLS_ACCESS_TOKEN }}
362371
with:
363372
arch: ${{ matrix.arch }}
373+
os: ${{ matrix.os }}
364374
pluslib-repository: https://github.com/${{ github.repository }}.git
365375
pluslib-tag: ${{ github.sha }}
366376
use-pltools: true
@@ -386,6 +396,7 @@ jobs:
386396
pltools-access-token: ${{ secrets.PLTOOLS_ACCESS_TOKEN }}
387397
with:
388398
arch: ${{ matrix.arch }}
399+
os: ${{ matrix.os }}
389400
pluslib-repository: https://github.com/${{ github.repository }}.git
390401
pluslib-tag: ${{ github.sha }}
391402
use-pltools: true

0 commit comments

Comments
 (0)