Skip to content

Commit 6898b43

Browse files
hlint-from-scratch workflow for ghc-next (#1583)
1 parent 626f8b3 commit 6898b43

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/ghc-next.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: ghc-next-from-scratch
2+
on:
3+
push:
4+
branches:
5+
- 'ghc-next*'
6+
schedule:
7+
- cron: '0 3 * * 5'
8+
jobs:
9+
ghc-9-10:
10+
name: ${{ matrix.os }}
11+
runs-on: ${{ matrix.os }}-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: [ubuntu, macos, windows]
16+
steps:
17+
- name: Install build tools
18+
run: brew install automake
19+
if: matrix.os == 'macos'
20+
- name: Configure
21+
# e.g. Don't recursively delete '.stack-work' (`stack clean --full`)
22+
run: echo "GHCLIB_AZURE='1'" >> $GITHUB_ENV
23+
shell: bash
24+
- name: Boot
25+
run: |-
26+
cabal update
27+
git clone https://github.com/shayne-fletcher/hlint-from-scratch.git
28+
hlint-from-scratch/hlint-from-scratch.sh --init="$HOME/project"
29+
shell: bash
30+
- name: Build and Test ('ghc-next')
31+
run: hlint-from-scratch/hlint-from-scratch.sh --ghc-flavor="" --stack-yaml=stack-exact.yaml --resolver=ghc-9.6.4 --no-checkout
32+
shell: bash

0 commit comments

Comments
 (0)