diff options
| author | John J. Camilleri <john@digitalgrammars.com> | 2020-06-30 10:10:36 +0200 |
|---|---|---|
| committer | John J. Camilleri <john@digitalgrammars.com> | 2020-06-30 10:10:36 +0200 |
| commit | bb4ad9ec7fb9d84b90c899d583b0d4da87c0d1a6 (patch) | |
| tree | 213d14fe6670f4651289f0af64fd6336757a1094 /.github/workflows | |
| parent | 5777b8570161bcf646c8862ef45b8fd08bb1c54b (diff) | |
First attempt at GitHub action for building Debian package
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build-debian-package.yml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/.github/workflows/build-debian-package.yml b/.github/workflows/build-debian-package.yml new file mode 100644 index 000000000..0940b4b78 --- /dev/null +++ b/.github/workflows/build-debian-package.yml @@ -0,0 +1,42 @@ +name: Build Debian Package + +on: [push, pull_request] + +jobs: + build: + name: Build on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: true + matrix: + os: [ubuntu-18.04] + env: + LC_ALL: C.UTF-8 + + steps: + - uses: actions/checkout@v1 + + - name: Install build tools + run: | + apt install -y make \ + dpkg-dev \ + debhelper \ + haskell-platform \ + libghc-json-dev \ + python-dev \ + default-jdk \ + libtool-bin + + - name: Checkout RGL + env: + working-directory: ../ + run: | + git clone https://github.com/GrammaticalFramework/gf-rgl.git + + - name: Build Debian package + run: | + make deb + + - uses: actions/upload-artifact@v2 + with: + path: ../gf_*.deb |
