mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
First attempt at GitHub action for building Debian package
This commit is contained in:
42
.github/workflows/build-debian-package.yml
vendored
Normal file
42
.github/workflows/build-debian-package.yml
vendored
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user