-
-
Notifications
You must be signed in to change notification settings - Fork 470
31 lines (30 loc) · 1.09 KB
/
release-packages.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
# TODO: attach built packages to the release page
name: Release Packages
on:
workflow_dispatch: {}
push:
tags:
- v*
jobs:
package-for-development:
uses: ./.github/workflows/package.yml
with:
ref: ${{ github.event.ref }}
packageName: package-for-development
linuxBuildArgs: '--desktop gpu --opencv cmake'
androidBuildArgs: '--android arm64 --android_ndk_api_level 21'
macosBuildArgs: '--desktop cpu --opencv cmake --macos_universal'
iosBuildArgs: '--ios arm64'
windowsBuildArgs: '--desktop cpu --opencv cmake'
secrets: inherit
package-for-production:
uses: ./.github/workflows/package.yml
with:
ref: ${{ github.event.ref }}
packageName: package-for-production
linuxBuildArgs: '--linkopt="-s" --desktop gpu --opencv cmake'
androidBuildArgs: '--linkopt="-s" --android arm64 --android_ndk_api_level 21'
macosBuildArgs: '--linkopt="-s" --desktop cpu --opencv cmake --macos_universal'
iosBuildArgs: '--linkopt="-s" --ios arm64'
windowsBuildArgs: '--desktop cpu --opencv cmake'
secrets: inherit