From 253710bbeca95f4bf412ad0dde4537a69bcfac05 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 30 Nov 2022 13:01:15 +0300 Subject: nightly builds: create Mac OS *.pkg packages This is slightly less idiosyncratic than shipping a tarball of the installation root. The pkg has been reported to be installable even via the graphic installer when providing a password. Or it can be installed via terminal with `sudo installer`. So it no longer requires any manual dequarantining. --- .github/workflows/nightly.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to '.github/workflows/nightly.yml') diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index b08f2d8..40254a6 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -117,13 +117,18 @@ jobs: # FIXME: Is this really true for libc++? dylibbundler -b -x temp-install/usr/local/bin/sciteco \ -cd -d temp-install/usr/local/lib/sciteco -p @executable_path/../lib/sciteco - GZIP="-9" tar -C temp-install -czf sciteco-curses_nightly_macos_x86_64.tar.gz . + # FIXME: Should we encode the Git commit into the package version? + # Unfortunately, I cannot find detailed information on how Mac OS + # interpretes these version strings. + pkgbuild --identifier net.sf.sciteco.pkg --version 2.0.0 \ + --root temp-install --install-location / \ + sciteco-curses_nightly_macos_x86_64.pkg - name: Archive Mac OS Distribution (ncurses) uses: pyTooling/Actions/releaser/composite@v0.4.5 with: token: ${{ secrets.GITHUB_TOKEN }} tag: nightly - files: ./*.tar.gz + files: ./*.pkg win32-curses: runs-on: windows-2019 -- cgit v1.2.3