Skip to content

Commit

Permalink
Add CI via Github Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
sellout committed Mar 14, 2022
1 parent 056dd43 commit f835acf
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 5 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: concat
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ghc:
# - "8.0.2" # We've (temporarily?) lost support for these, but still
# - "8.2.2" # have conditional compilation for them. We should either
# - "8.4.1" # fix (some) of them or remove the CPP.
# - "8.6.1"
- "8.8.1"
- "8.10.1"
steps:
- uses: actions/checkout@v2
- uses: haskell/actions/setup@v1
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: "3.6.0.0"
- run: cabal v2-update
- run: cabal v2-freeze $CONFIG
- uses: actions/cache@v2
with:
path: |
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
- run: cabal new-build all
- run: cabal new-test gold-tests
5 changes: 0 additions & 5 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ source-repository-package
tag: master
subdir: verilog

source-repository-package
type: git
location: https://github.com/expipiplus1/vector-sized.git
tag: master

packages:
./inline/concat-inline.cabal
./plugin/concat-plugin.cabal
Expand Down

0 comments on commit f835acf

Please sign in to comment.