aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo Zimmermann2021-04-16 12:10:45 +0200
committerThéo Zimmermann2021-04-16 12:10:45 +0200
commited4a399cd7d7738c920aafabff749c742ef1ebc8 (patch)
treece3ec249d6fc03d3a3c2707677b4aee4e5756c5e
parentfaafe565b942736acc940c8374914fe0284b0b3d (diff)
Remove macOS dmg build.
Now that the platform takes care of it.
-rw-r--r--.github/workflows/ci.yml15
-rwxr-xr-xdev/build/osx/make-macos-dmg.sh37
2 files changed, 0 insertions, 52 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7ec3ba1bd7..744fe1c743 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -74,18 +74,3 @@ jobs:
make -j "$NJOBS" test-suite PRINT_LOGS=1
env:
NJOBS: "2"
-
- - name: Create the dmg bundle
- run: |
- eval $(opam env)
- export PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig
- export OUTDIR="$(pwd)/_install_ci"
- ./dev/build/osx/make-macos-dmg.sh
- env:
- MACOSX_DEPLOYMENT_TARGET: "10.11"
- NJOBS: "2"
-
- - uses: actions/upload-artifact@v2
- with:
- name: coq-macOS-installer
- path: _build/*.dmg
diff --git a/dev/build/osx/make-macos-dmg.sh b/dev/build/osx/make-macos-dmg.sh
deleted file mode 100755
index 2550cbb31c..0000000000
--- a/dev/build/osx/make-macos-dmg.sh
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-# Fail on first error
-set -e
-
-# Configuration setup
-DMGDIR=$PWD/_dmg
-VERSION=$(sed -n -e '/^let coq_version/ s/^[^"]*"\([^"]*\)"$/\1/p' configure.ml)
-APP=bin/CoqIDE_${VERSION}.app
-
-# Install Coq into the .app file
-make OLDROOT="$OUTDIR" COQINSTALLPREFIX="$APP/Contents/Resources" install-coq install-ide-toploop
-
-# Fill .app file with metadata and other .app specific stuff (like non-system .so)
-make PRIVATEBINARIES="$APP" -j 1 -l2 "$APP" VERBOSE=1
-
-# Create the dmg bundle
-mkdir -p "$DMGDIR"
-ln -sf /Applications "$DMGDIR/Applications"
-cp -r "$APP" "$DMGDIR"
-
-mkdir -p _build
-
-# Temporary countermeasure to hdiutil error 5341
-# head -c9703424 /dev/urandom > $DMGDIR/.padding
-
-hdi_opts=(-volname "coq-$VERSION-installer-macos"
- -srcfolder "$DMGDIR"
- -ov # overwrite existing file
- -format UDZO
- -imagekey "zlib-level=9"
-
- # needed for backward compat since macOS 10.14 which uses APFS by default
- # see discussion in #11803
- -fs hfs+
- )
-hdiutil create "${hdi_opts[@]}" "_build/coq-$VERSION-installer-macos.dmg"