Skip to content

Commit

Permalink
[ ci ] add collie & frex
Browse files Browse the repository at this point in the history
[ci: libs]
  • Loading branch information
gallais committed Jul 27, 2021
1 parent c48fe48 commit 84b0643
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions .github/workflows/ci-idris2.yml
Expand Up @@ -361,6 +361,7 @@ jobs:
if: |
!contains(needs.initialise.outputs.commit_message, '[ci:')
|| contains(needs.initialise.outputs.commit_message, '[ci: ubuntu]')
|| contains(needs.initialise.outputs.commit_message, '[ci: libs]')
env:
IDRIS2_CG: chez
steps:
Expand Down Expand Up @@ -474,3 +475,69 @@ jobs:
- name: Test API
run: cd tests/idris2/api001 && ./run idris2
shell: bash

######################################################################
# Ubuntu testing some libraries.
# We are particularly interested in libraries that are heavily using
# dependent types, that are prone to find bugs and regressions in the
# compiler.
######################################################################

ubuntu-test-collie:
needs: ubuntu-self-host-previous-version
runs-on: ubuntu-latest
if: |
!contains(needs.initialise.outputs.commit_message, '[ci:')
|| contains(needs.initialise.outputs.commit_message, '[ci: libs]')
env:
IDRIS2_CG: chez
steps:
- name: Download Idris2 Artifact
uses: actions/download-artifact@v2
with:
name: idris2-nightly-chez
path: ~/.idris2/
- name: Install build dependencies
run: |
echo "deb http://security.ubuntu.com/ubuntu hirsute universe" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get install -y -t hirsute chezscheme
echo "$HOME/.idris2/bin" >> $GITHUB_PATH
chmod +x $HOME/.idris2/bin/idris2 $HOME/.idris2/bin/idris2_app/*
- name: Checkout
uses: actions/checkout@v2
with:
repository: 'ohad/collie'
- name: Build Collie
run: |
make
ubuntu-test-frex:
needs: ubuntu-self-host-previous-version
runs-on: ubuntu-latest
if: |
!contains(needs.initialise.outputs.commit_message, '[ci:')
|| contains(needs.initialise.outputs.commit_message, '[ci: libs]')
env:
IDRIS2_CG: chez
steps:
- name: Download Idris2 Artifact
uses: actions/download-artifact@v2
with:
name: idris2-nightly-chez
path: ~/.idris2/
- name: Install build dependencies
run: |
echo "deb http://security.ubuntu.com/ubuntu hirsute universe" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get install -y -t hirsute chezscheme
echo "$HOME/.idris2/bin" >> $GITHUB_PATH
chmod +x $HOME/.idris2/bin/idris2 $HOME/.idris2/bin/idris2_app/*
- name: Checkout
uses: actions/checkout@v2
with:
repository: 'frex-project/idris-frex'
- name: Build Frex
run: |
make
make test

0 comments on commit 84b0643

Please sign in to comment.