2020-05-24 15:44:28 +03:00
|
|
|
name: Ubuntu
|
2020-05-23 23:23:56 +03:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- '*'
|
|
|
|
tags:
|
|
|
|
- '*'
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
2020-05-24 22:15:24 +03:00
|
|
|
env:
|
|
|
|
SCHEME: scheme
|
2020-05-23 23:23:56 +03:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install build dependencies
|
|
|
|
run: |
|
|
|
|
sudo apt-get install -y chezscheme
|
2020-05-24 22:15:24 +03:00
|
|
|
echo "::add-path::$HOME/.idris2/bin"
|
2020-05-23 23:23:56 +03:00
|
|
|
- name: Build from bootstrap
|
2020-05-24 22:15:24 +03:00
|
|
|
run: make bootstrap && make install
|
|
|
|
shell: bash
|
|
|
|
- name: Build and test self-hosted
|
|
|
|
run: make clean && make all && make test INTERACTIVE=''
|
2020-05-23 23:23:56 +03:00
|
|
|
shell: bash
|
|
|
|
|