Skip to content

Commit f835acf

Browse files
committed
Add CI via Github Actions.
1 parent 056dd43 commit f835acf

File tree

2 files changed

+38
-5
lines changed

2 files changed

+38
-5
lines changed

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: concat
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
types:
8+
- opened
9+
- synchronize
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
ghc:
16+
# - "8.0.2" # We've (temporarily?) lost support for these, but still
17+
# - "8.2.2" # have conditional compilation for them. We should either
18+
# - "8.4.1" # fix (some) of them or remove the CPP.
19+
# - "8.6.1"
20+
- "8.8.1"
21+
- "8.10.1"
22+
steps:
23+
- uses: actions/checkout@v2
24+
- uses: haskell/actions/setup@v1
25+
id: setup-haskell-cabal
26+
with:
27+
ghc-version: ${{ matrix.ghc }}
28+
cabal-version: "3.6.0.0"
29+
- run: cabal v2-update
30+
- run: cabal v2-freeze $CONFIG
31+
- uses: actions/cache@v2
32+
with:
33+
path: |
34+
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
35+
dist-newstyle
36+
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
37+
- run: cabal new-build all
38+
- run: cabal new-test gold-tests

cabal.project

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ source-repository-package
1616
tag: master
1717
subdir: verilog
1818

19-
source-repository-package
20-
type: git
21-
location: https://github.com/expipiplus1/vector-sized.git
22-
tag: master
23-
2419
packages:
2520
./inline/concat-inline.cabal
2621
./plugin/concat-plugin.cabal

0 commit comments

Comments
 (0)