Skip to content

Build a Package

Build a Package #254

Workflow file for this run

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