From 1f2bc09474be19d4df91547c2fc7553c693b04c3 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 2 Jun 2021 19:33:08 +0200 Subject: Github workflows: some macOS simplifications and build nightly packages with meaningful artifact names * Try to use as much of the "native" (Xcode?) tools on macOS as possible. We can still fall back to Homebrew if we have to. --- .github/workflows/ci.yml | 11 ++++------- .github/workflows/nightly.yml | 5 ++++- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9592e8a..dfe7767 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,12 +66,10 @@ jobs: with: submodules: recursive + # NOTE: macOS already ships with ncurses and + # XCode already comes with the autotools. - name: Install Build Dependencies - run: > - brew install - autoconf automake libtool - glib ncurses - groff doxygen + run: brew install glib groff doxygen - name: Configure Build run: | autoreconf -i @@ -85,7 +83,6 @@ jobs: run: cd doc && make devdoc # FIXME: Will try to perform an out-of-tree build which will not # work without manual intervention due to Scintilla. -# - name: make distcheck -# run: make distcheck +# - run: make distcheck - name: Build Source Tarball run: make dist diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 37c8cd9..67c7233 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -51,9 +51,12 @@ jobs: # - name: Build Windows Bundle # run: ./distribute.mk mingw-binary + - name: Get current date + id: date + run: echo "::set-output name=date::$(date +'%Y-%m-%d')" # NOTE: There is no way to prevent Github from zipping the artifact. - name: Archive Debian/Ubuntu Packages uses: actions/upload-artifact@v2 with: - name: ${{ matrix.os }} packages (ncurses and GTK+ 3) + name: SciTECO nightly packages on ${{ steps.date.outputs.date }} (${{ matrix.os }}, ncurses and GTK+ 3) path: debian-temp/*.deb -- cgit v1.2.3