File tree Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Expand file tree Collapse file tree 3 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 76
76
run : pip install pyinstaller==5.0.1
77
77
78
78
- name : Build
79
+ if : matrix.os != 'macos-10.15'
79
80
working-directory : ${{ env.MCUBOOT_PATH }}/scripts/
80
81
run : pyinstaller --onefile main.py -n ${{ env.PROJECT_NAME }}
81
82
83
+ - name : Build macOS
84
+ if : matrix.os == 'macos-10.15'
85
+ working-directory : ${{ env.MCUBOOT_PATH }}/scripts/
86
+ run : pyinstaller --osx-entitlements-file ${{ env.IMGTOOL_PACKING_PATH }}/entitlements.plist --onefile main.py -n ${{ env.PROJECT_NAME }}
87
+
82
88
- name : Package
83
89
if : matrix.os == 'windows-latest'
84
90
working-directory : ${{ env.MCUBOOT_PATH }}/scripts/${{ env.DIST_DIR }}
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version =" 1.0" >
4
+ <!--
5
+ These are required for binaries built by PyInstaller.
6
+ For more info, see:
7
+ https://developer.apple.com/documentation/security/hardened_runtime
8
+ https://github.com/pyinstaller/pyinstaller/issues/4629
9
+ -->
10
+ <dict >
11
+ <key >com.apple.security.cs.allow-jit </key >
12
+ <true />
13
+ <key >com.apple.security.cs.allow-unsigned-executable-memory </key >
14
+ <true />
15
+ <key >com.apple.security.cs.disable-library-validation </key >
16
+ <true />
17
+ </dict >
18
+ </plist >
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ bundle_id = "cc.arduino.imgtool"
5
5
6
6
sign {
7
7
application_identity = " Developer ID Application: ARDUINO SA (7KT7ZWMCJT)"
8
+ entitlements_file = " entitlements.plist"
8
9
}
9
10
10
11
# Ask Gon for zip output to force notarization process to take place.
You can’t perform that action at this time.
0 commit comments