diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-06-01 00:44:49 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2021-06-01 00:44:49 +0200 |
commit | f1b17f7d2bf03ed798520c3a5f322c0d79f3787c (patch) | |
tree | 002a0fd030efccf66b8b8015068d5b8c38dc004e /.github/workflows/nightly.yml | |
parent | 0dcfb82c706585d1ed5bd700a88cc9ddc6a8751d (diff) | |
download | sciteco-f1b17f7d2bf03ed798520c3a5f322c0d79f3787c.tar.gz |
Continuous Integration artifacts are now built only once a day (nightly builds) and include Gtk+ versions
* The CI tests are unchanged. The workflow file has been renamed to ci.yml, though.
* Nightly builds are described by nightly.yml and are built at 4:13.
* Nightly Ubuntu package builds now include the Gtk+ 3 packages.
Diffstat (limited to '.github/workflows/nightly.yml')
-rw-r--r-- | .github/workflows/nightly.yml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 0000000..6795c67 --- /dev/null +++ b/.github/workflows/nightly.yml @@ -0,0 +1,58 @@ +name: Nightly Builds + +on: + schedule: + # Daily at 3:14 + - cron: '14 3 * * *' + +jobs: + debian-packages: + strategy: + matrix: + os: [ubuntu-18.04, ubuntu-20.04] + + runs-on: ${{ matrix.os }} + + steps: + + - name: Recursive Git Clone + uses: actions/checkout@v2 + with: + submodules: recursive + + - name: Update Repositories + run: sudo apt-get update + - name: Install Build Dependencies + run: > + sudo apt-get install -y + devscripts build-essential lintian debhelper dh-exec + autoconf automake libtool + libglib2.0-dev libncurses-dev libgtk-3-dev gob2 xvfb + groff-base + + # NOTE: We need to configure the build directory only to generate distribute.mk. + - name: Configure Build + run: | + autoreconf -i + ./configure + + # NOTE: The debian package build rules already use xvfb-run to emulate an XServer + # when necessary since the PPA build servers might also be headless. + # NOTE: Packages are left in debian-temp/. + - name: Build Debian/Ubuntu Packages + run: ./distribute.mk debian-binary + + # FIXME: For doing Windows builds, we need a few manually built packages + # (PDCurses, Glib...). + # Perhaps they can be uploaded to Sourceforge and simply downloaded here. + # Alternatively, we could manually prepare a Docker container image or + # even build them from scratch here. +# - name: Build Windows Bundle +# run: ./distribute.mk mingw-binary + + # 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) + path: debian-temp/*.deb |