Skip to content

Commit fa8ae69

Browse files
committed
ci: allow dispatching a single platform [skip ci]
A full run is ~2.5h per platform. Iterating on one side should not redo the other; push and tag events still build everything.
1 parent 2ad6208 commit fa8ae69

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/build-matrix.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ name: Build V8 matrix
44
# before anything is tagged. Pushing a tag additionally cuts a release.
55
on:
66
workflow_dispatch:
7+
inputs:
8+
platforms:
9+
description: Which platforms to build
10+
type: choice
11+
options: [all, android, ios]
12+
default: all
713
push:
814
branches: [main]
915
tags: ['v8-*']
@@ -39,6 +45,7 @@ jobs:
3945
4046
android:
4147
needs: config
48+
if: ${{ github.event_name != 'workflow_dispatch' || inputs.platforms == 'all' || inputs.platforms == 'android' }}
4249
runs-on: ubuntu-24.04
4350
timeout-minutes: 300
4451
strategy:
@@ -90,6 +97,7 @@ jobs:
9097

9198
ios:
9299
needs: config
100+
if: ${{ github.event_name != 'workflow_dispatch' || inputs.platforms == 'all' || inputs.platforms == 'ios' }}
93101
runs-on: macos-15
94102
timeout-minutes: 300
95103
strategy:

0 commit comments

Comments
 (0)