mirror of
https://github.com/GrammaticalFramework/gf-rgl.git
synced 2026-05-27 17:08:54 -06:00
Create github actions for building rgl
This commit is contained in:
32
.github/workflows/test.yml
vendored
Normal file
32
.github/workflows/test.yml
vendored
Normal 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
|
||||||
Reference in New Issue
Block a user