1
0
forked from GitHub/gf-rgl
Files
gf-rgl/.github/workflows/build.yml
2020-11-11 21:43:46 +01:00

31 lines
625 B
YAML

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Install GF
env:
GF_VERSION: 3.10-1
run: |
curl -s https://www.grammaticalframework.org/download/gf_${GF_VERSION}_amd64.deb -o gf.deb
sudo dpkg -i gf.deb
- name: Build RGL
run: |
bash Setup.sh --dest=dist/ --gf=gf --verbose
- name: Create archive
run: |
tar --create --gzip --verbose --file dist.tar.gz dist/
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
path: dist.tar.gz