broaden compiler support

- build in CI using snapshots from lts-13 through lts-22 and nightly
- allow building with alex >= 3.2 and happy >= 1.19
- fallback to cabal version string with incompatible versions of githash
This commit is contained in:
Zachary Snow
2024-05-05 16:00:35 -04:00
parent bc1329a72b
commit 988f76b92b
3 changed files with 40 additions and 2 deletions
+31
View File
@@ -0,0 +1,31 @@
name: Resolver
on:
push:
branches:
- '*'
pull_request:
schedule:
- cron: '0 0 * * 0'
jobs:
build:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
resolver:
- nightly
- lts-22
- lts-21
- lts-20
- lts-19
- lts-18
- lts-17
- lts-16
- lts-15
- lts-14
- lts-13
steps:
- uses: actions/checkout@v4
- run: stack build --resolver ${{ matrix.resolver }}
- run: stack exec sv2v --resolver ${{ matrix.resolver }} -- --help
- run: stack exec sv2v --resolver ${{ matrix.resolver }} -- test/basic/*.sv