This repository was archived by the owner on Jun 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
51 lines (45 loc) · 1.83 KB
/
macos_builds.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: 🍎 macOS Builds
on:
workflow_call:
jobs:
macos:
runs-on: "macos-latest"
name: macOS Build ${{ matrix.arch }}
strategy:
fail-fast: false
matrix:
arch: [universal]
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- name: Build ${{ matrix.arch }}
uses: ./.github/actions/build
with:
arch: ${{ matrix.arch }}
platform: macos
- name: Sign frameworks Debug
shell: pwsh
env:
APPLE_CERT_BASE64: ${{ secrets.PROD_MACOS_CERTIFICATE }}
APPLE_CERT_PASSWORD: ${{ secrets.PROD_MACOS_CERTIFICATE_PWD }}
APPLE_DEV_ID: ${{ secrets.PROD_MACOS_NOTARIZATION_APPLE_ID }}
APPLE_DEV_TEAM_ID: ${{ secrets.PROD_MACOS_NOTARIZATION_TEAM_ID }}
APPLE_DEV_PASSWORD: ${{ secrets.PROD_MACOS_NOTARIZATION_PWD }}
APPLE_DEV_APP_ID: ${{ secrets.PROD_MACOS_APPLE_DEV_APP_ID }}
run: ./scripts/ci-sign-macos.ps1 bin/addons/godot-box2d/bin/libgodot-box2d.macos.template_debug.framework
if: ${{ env.APPLE_DEV_ID }}
- name: Sign frameworks Release
shell: pwsh
env:
APPLE_CERT_BASE64: ${{ secrets.PROD_MACOS_CERTIFICATE }}
APPLE_CERT_PASSWORD: ${{ secrets.PROD_MACOS_CERTIFICATE_PWD }}
APPLE_DEV_ID: ${{ secrets.PROD_MACOS_NOTARIZATION_APPLE_ID }}
APPLE_DEV_TEAM_ID: ${{ secrets.PROD_MACOS_NOTARIZATION_TEAM_ID }}
APPLE_DEV_PASSWORD: ${{ secrets.PROD_MACOS_NOTARIZATION_PWD }}
APPLE_DEV_APP_ID: ${{ secrets.PROD_MACOS_APPLE_DEV_APP_ID }}
run: ./scripts/ci-sign-macos.ps1 bin/addons/godot-box2d/bin/libgodot-box2d.macos.template_release.framework
if: ${{ env.APPLE_DEV_ID }}
- name: Upload ${{ matrix.arch }}
uses: ./.github/actions/upload