Build a Package #266
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |