-
Notifications
You must be signed in to change notification settings - Fork 31
49 lines (40 loc) · 1.14 KB
/
repo-ghc-8.6-cabal-2.4.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: install-hackage-ghc-8.6-cabal-2.4
# Trigger the workflow on push or pull request
on:
- pull_request
- push
jobs:
cabal:
name: ${{ matrix.os }} / ghc ${{ matrix.ghc }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
cabal: ["2.4"]
ghc:
- "8.6"
steps:
# - uses: haskell-actions/setup@main
# id: setup-haskell-cabal
# name: Setup Haskell
# with:
# ghc-version: ${{ matrix.ghc }}
# cabal-version: ${{ matrix.cabal }}
# - name: Prepare environment
# run: |
# echo "$HOME/.ghcup/bin" >> $GITHUB_PATH
# echo "$HOME/.cabal/bin" >> $GITHUB_PATH
- uses: actions/checkout@v4
- name: Create sandbox
run: |
echo "$PWD/.cabal-sandbox/bin" >> $GITHUB_PATH
ls
pwd
# cabal v1-sandbox init
# - name: Install Alex, Happy
# run: |
# cabal v1-install alex happy
# - name: Install ogma
# run: |
# cabal v1-install ogma-**/ --enable-tests
# cabal v1-install ogma-**/ --enable-tests --run-tests- j1