Skip to content

Commit 3a9d57a

Browse files
committed
Removed Test
1 parent 81c8df3 commit 3a9d57a

File tree

1 file changed

+1
-30
lines changed

1 file changed

+1
-30
lines changed

.github/workflows/macos-dmg.yml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
build-dmg:
1818
strategy:
1919
matrix:
20-
os: [macos-13, macos-14]
20+
os: [macos-14]
2121
runs-on: ${{ matrix.os }}
2222

2323
steps:
@@ -284,18 +284,6 @@ jobs:
284284
echo 'self-contained app:' || true
285285
ls -R 'dist/SSH Studio.app/Contents' || true
286286
287-
- name: Smoke test self-contained app
288-
run: |
289-
set -euxo pipefail
290-
LAUNCHER='dist/SSH Studio.app/Contents/MacOS/ssh-studio'
291-
test -x "$LAUNCHER"
292-
# CLI help should exit quickly without requiring a GUI session
293-
"$LAUNCHER" --help || true
294-
# Also try launching briefly, then kill
295-
"$LAUNCHER" &
296-
sleep 2 || true
297-
pkill -f "SSH Studio" || true
298-
pkill -f "ssh-studio" || true
299287
300288
- name: Create DMG
301289
run: |
@@ -308,23 +296,6 @@ jobs:
308296
ln -s /Applications dmgroot/Applications
309297
hdiutil create -volname "SSH Studio" -srcfolder dmgroot -ov -fs HFS+ "ssh-studio-${VER}-${ARCH}.dmg"
310298
311-
- name: Mount DMG and smoke test app
312-
run: |
313-
set -euxo pipefail
314-
DMG="$(ls -1 ssh-studio-*.dmg | head -n1)"
315-
MNT="$(mktemp -d /tmp/sshstudio.XXXX)"
316-
hdiutil attach "$DMG" -mountpoint "$MNT" -nobrowse -quiet
317-
ls -la "$MNT"
318-
LAUNCHER="$MNT/SSH Studio.app/Contents/MacOS/ssh-studio"
319-
test -x "$LAUNCHER"
320-
# CLI help should execute; ignore non-zero in case GTK prints warnings
321-
"$LAUNCHER" --help || true
322-
# Briefly launch then terminate
323-
"$LAUNCHER" &
324-
sleep 2 || true
325-
pkill -f "SSH Studio" || true
326-
pkill -f "ssh-studio" || true
327-
hdiutil detach "$MNT" -quiet || true
328299
329300
- name: Upload artifact
330301
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)