mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 10:40:21 +00:00
GitHub workflows: sign also CI if key avail. [mac]
This commit is contained in:
6
.github/scripts/macOS/sign.sh
vendored
6
.github/scripts/macOS/sign.sh
vendored
@@ -11,7 +11,11 @@ DEVELOPER_USERNAME=martin.pulec@cesnet.cz
|
||||
|
||||
if [ -z "$apple_key_p12_b64" -o -z "$altool_pass" ]; then
|
||||
echo "Could not find key to sign the application" 2>&1
|
||||
exit 1
|
||||
if [ "$GITHUB_WORKFLOW" = nightly ]; then
|
||||
exit 1
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
# Import keys
|
||||
|
||||
10
.github/workflows/ccpp.yml
vendored
10
.github/workflows/ccpp.yml
vendored
@@ -56,6 +56,8 @@ jobs:
|
||||
name: run macOS
|
||||
runs-on: macos-latest
|
||||
env:
|
||||
altool_pass: ${{ secrets.altool_pass }}
|
||||
apple_key_p12_b64: ${{ secrets.apple_key_p12_b64 }}
|
||||
sdk_pass: ${{ secrets.sdk_pass }}
|
||||
|
||||
steps:
|
||||
@@ -66,8 +68,12 @@ jobs:
|
||||
run: .github/scripts/macOS/prepare.sh
|
||||
- name: configure
|
||||
run: ./autogen.sh --enable-qt --with-live555=/usr/local
|
||||
- name: make
|
||||
run: make -j4 osx-gui-dmg
|
||||
- name: make bundle
|
||||
run: make -j4 gui-bundle
|
||||
- name: sign+notarize
|
||||
run: .github/scripts/macOS/sign.sh gui/QT/uv-qt.app
|
||||
- name: make dmg
|
||||
run: make osx-gui-dmg
|
||||
- name: make check
|
||||
run: make check
|
||||
- name: make distcheck
|
||||
|
||||
Reference in New Issue
Block a user