1
0
forked from GitHub/gf-rgl

Create github actions for building rgl

This commit is contained in:
Andreas Källberg
2023-08-15 20:24:51 +08:00
committed by GitHub
parent 9c5b87e1c8
commit 9444848069

32
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,32 @@
name: Check that the RGL can successfully build
on:
push
jobs:
build:
runs-on: ubuntu-20.04
env:
GF_VERSION: 3.11
DEST: gf-rgl
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Download GF
uses: dsaltares/fetch-gh-release-asset@1.1.1
with:
repo: 'GrammaticalFramework/gf-core'
version: 'tags/${{ env.GF_VERSION }}'
file: 'gf-${{ env.GF_VERSION }}-ubuntu-20.04.deb'
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install GF
run: |
sudo dpkg -i gf-${GF_VERSION}-ubuntu-20.04.deb'
- name: Build RGL
run: |
mkdir -p ${DEST}
bash Setup.sh --dest=${DEST} --gf=gf --verbose