-
-
Notifications
You must be signed in to change notification settings - Fork 2
121 lines (118 loc) · 5.52 KB
/
release-28-arm64.yml
File metadata and controls
121 lines (118 loc) · 5.52 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
name: "Release v28.2 (arm64)"
on:
workflow_dispatch:
jobs:
release-28-arm64-latest:
runs-on: macos-26
timeout-minutes: 90
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install the Apple certificate and provisioning profile
uses: ./.github/actions/certificate-and-provisioning-profile
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
DISTRIBUTE_CERTIFICATE_BASE64: ${{ secrets.DISTRIBUTE_CERTIFICATE_BASE64 }}
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
BUILD_PROVISION_PROFILE_BASE64: ${{ secrets.BUILD_PROVISION_PROFILE_BASE64 }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
APP_PASSWORD: ${{ secrets.APP_PASSWORD }}
APPLE_ID: ${{ secrets.APPLE_ID }}
- name: Setup to build
run: sh build/setup.sh
- name: Build Emacs 28.2 with inline patch
run: |
mv ${{ github.workspace }}/.git ${{ github.workspace }}/_git
sh build/emacs-28.sh -d ${{ github.workspace }} -p inline -j4
mv ${{ github.workspace }}/_git ${{ github.workspace }}/.git
- name: Verification
run: ${{ github.workspace }}/emacs-28.2/nextstep/Emacs.app/Contents/MacOS/Emacs --batch --eval="(unless (fboundp 'mac-input-method-mode) (error \"The inline-patch is NOT integrated\"))"
- name: Portable
run: sh release/portable-emacs.sh -v 28.2 -d ${{ github.workspace }}
- name: Notarize
run: sh release/notarize-emacs.sh -v 28.2 -d ${{ github.workspace }} -s ${{ github.workspace }} -p inline -a "github-emacs-build"
- name: Export
uses: ./.github/actions/exporting
env:
ORZ_HOST: ${{ secrets.ORZ_HOST }}
ORZ_PORT: ${{ secrets.ORZ_PORT }}
ORZ_ID_BASE64: ${{ secrets.ORZ_ID_BASE64 }}
- name: Clean up keychain and provisioning profile
if: ${{ always() }}
uses: ./.github/actions/cleanup
release-28-arm64-sequoia:
runs-on: macos-15
timeout-minutes: 60
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install the Apple certificate and provisioning profile
uses: ./.github/actions/certificate-and-provisioning-profile
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
DISTRIBUTE_CERTIFICATE_BASE64: ${{ secrets.DISTRIBUTE_CERTIFICATE_BASE64 }}
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
BUILD_PROVISION_PROFILE_BASE64: ${{ secrets.BUILD_PROVISION_PROFILE_BASE64 }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
APP_PASSWORD: ${{ secrets.APP_PASSWORD }}
APPLE_ID: ${{ secrets.APPLE_ID }}
- name: Setup to build
run: sh build/setup.sh
- name: Build Emacs 28.2 with inline patch
run: |
mv ${{ github.workspace }}/.git ${{ github.workspace }}/_git
sh build/emacs-28.sh -d ${{ github.workspace }} -p inline -j4
mv ${{ github.workspace }}/_git ${{ github.workspace }}/.git
- name: Verification
run: ${{ github.workspace }}/emacs-28.2/nextstep/Emacs.app/Contents/MacOS/Emacs --batch --eval="(unless (fboundp 'mac-input-method-mode) (error \"The inline-patch is NOT integrated\"))"
- name: Portable
run: sh release/portable-emacs.sh -v 28.2 -d ${{ github.workspace }}
- name: Notarize
run: sh release/notarize-emacs.sh -v 28.2 -d ${{ github.workspace }} -s ${{ github.workspace }} -p inline -a "github-emacs-build" -m "15"
- name: Export
uses: ./.github/actions/exporting
env:
ORZ_HOST: ${{ secrets.ORZ_HOST }}
ORZ_PORT: ${{ secrets.ORZ_PORT }}
ORZ_ID_BASE64: ${{ secrets.ORZ_ID_BASE64 }}
- name: Clean up keychain and provisioning profile
if: ${{ always() }}
uses: ./.github/actions/cleanup
release-28-arm64-sonoma:
runs-on: macos-14
timeout-minutes: 60
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install the Apple certificate and provisioning profile
uses: ./.github/actions/certificate-and-provisioning-profile
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
DISTRIBUTE_CERTIFICATE_BASE64: ${{ secrets.DISTRIBUTE_CERTIFICATE_BASE64 }}
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
BUILD_PROVISION_PROFILE_BASE64: ${{ secrets.BUILD_PROVISION_PROFILE_BASE64 }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
APP_PASSWORD: ${{ secrets.APP_PASSWORD }}
APPLE_ID: ${{ secrets.APPLE_ID }}
- name: Setup to build
run: sh build/setup.sh
- name: Build Emacs 28.2 with inline patch
run: |
mv ${{ github.workspace }}/.git ${{ github.workspace }}/_git
sh build/emacs-28.sh -d ${{ github.workspace }} -p inline -j4
mv ${{ github.workspace }}/_git ${{ github.workspace }}/.git
- name: Verification
run: ${{ github.workspace }}/emacs-28.2/nextstep/Emacs.app/Contents/MacOS/Emacs --batch --eval="(unless (fboundp 'mac-input-method-mode) (error \"The inline-patch is NOT integrated\"))"
- name: Portable
run: sh release/portable-emacs.sh -v 28.2 -d ${{ github.workspace }}
- name: Notarize
run: sh release/notarize-emacs.sh -v 28.2 -d ${{ github.workspace }} -s ${{ github.workspace }} -p inline -a "github-emacs-build" -m "14"
- name: Export
uses: ./.github/actions/exporting
env:
ORZ_HOST: ${{ secrets.ORZ_HOST }}
ORZ_PORT: ${{ secrets.ORZ_PORT }}
ORZ_ID_BASE64: ${{ secrets.ORZ_ID_BASE64 }}
- name: Clean up keychain and provisioning profile
if: ${{ always() }}
uses: ./.github/actions/cleanup