-
-
Notifications
You must be signed in to change notification settings - Fork 467
37 lines (37 loc) · 1.35 KB
/
build-package.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Build a Package
on:
workflow_dispatch:
inputs:
bazelBuildArgs:
type: string
description: A value for `--bazel_build_opts`
linuxBuildArgs:
type: string
description: Build options for Linux Build
androidBuildArgs:
type: string
description: Build options for Android Build
macosBuildArgs:
type: string
description: Build options for macOS Build
iosBuildArgs:
type: string
description: Build options for iOS Build
windowsBuildArgs:
type: string
description: Build options for Windows Build
schedule:
- cron: 0 12 * * 0,3
jobs:
package:
uses: ./.github/workflows/package.yml
with:
ref: ${{ github.event.ref }}
packageName: package
bazelBuildArgs: ${{ inputs.bazelBuildArgs || '--experimental_scale_timeouts=10.0 --http_timeout_scaling=10.0' }}
linuxBuildArgs: ${{ inputs.linuxBuildArgs || '--desktop gpu --opencv cmake' }}
androidBuildArgs: ${{ inputs.androidBuildArgs || '--android arm64 --android_ndk_api_level 21' }}
macosBuildArgs: ${{ inputs.macosBuildArgs || '--desktop cpu --opencv cmake --macos_universal' }}
iosBuildArgs: ${{ inputs.iosBuildArgs || '--ios arm64' }}
windowsBuildArgs: ${{ inputs.windowsBuildArgs || '--desktop cpu --opencv cmake' }}
secrets: inherit