Skip to content

Testing install agda2hs directly. #66

Testing install agda2hs directly.

Testing install agda2hs directly. #66

Workflow file for this run

name: Haskell CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: wenkokke/setup-agda@v2
with:
agda-version: '2.6.4.3'
ghc-version: '8.10.3'
stack-version: '2.7.3'
agda-stdlib-version: '2.0'
agda-libraries: |
https://github.com/agda/agda2hs.git#v1.2
agda-defaults:
agda2hs
- name: Install dependencies
run: |
stack update
cd ..
cabal update
cabal install agda2hs
- name: Build
run: |
agda2hs ./src/Lam/Agda/Lam/Export.agda
mv ./src/Lam/Agda/Lam/*.hs ./src/Lam
rm ./src/Lam/Export.hs
stack build
- name: Run tests
run: stack test