Skip to content

Commit c1d96cd

Browse files
aero-oliamilcarlucas
authored andcommitted
fix(ci): adjust macOS build steps
1 parent 285217f commit c1d96cd

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/build_windows_macos.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ jobs:
172172

173173
- name: Install dependencies
174174
run: |
175+
python -m pip install --upgrade pip
175176
python -m pip install .[mac_dist]
176177
177178
- name: Verify tkinter is available
@@ -225,7 +226,10 @@ jobs:
225226
226227
hdiutil create -volname "ArduPilot Methodic Configurator" \
227228
-srcfolder "$STAGING_DIR" \
228-
-ov -format UDZO "$OUTPUT_DIR/$DMG_NAME"
229+
-ov -format UDZO \
230+
-fs HFS+ \
231+
-imagekey zlib-level=9 \
232+
"$OUTPUT_DIR/$DMG_NAME"
229233
230234
- name: Upload build artifacts
231235
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
@@ -265,7 +269,7 @@ jobs:
265269
with:
266270
name: windows-installer
267271
path: release-artifacts
268-
272+
269273
- name: Download macOS build artifacts
270274
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
271275
with:

macos/ardupilot_methodic_configurator.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ exe = EXE(
7878
name="ardupilot_methodic_configurator",
7979
debug=False,
8080
strip=False,
81-
upx=True,
81+
upx=False,
8282
console=False,
8383
)
8484

@@ -88,7 +88,7 @@ coll = COLLECT(
8888
analysis.zipfiles,
8989
analysis.datas,
9090
strip=False,
91-
upx=True,
91+
upx=False,
9292
name="ardupilot_methodic_configurator",
9393
)
9494

0 commit comments

Comments
 (0)