-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hlint-from-scratch workflow for ghc-next (#1583)
- Loading branch information
1 parent
626f8b3
commit 6898b43
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: ghc-next-from-scratch | ||
on: | ||
push: | ||
branches: | ||
- 'ghc-next*' | ||
schedule: | ||
- cron: '0 3 * * 5' | ||
jobs: | ||
ghc-9-10: | ||
name: ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }}-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu, macos, windows] | ||
steps: | ||
- name: Install build tools | ||
run: brew install automake | ||
if: matrix.os == 'macos' | ||
- name: Configure | ||
# e.g. Don't recursively delete '.stack-work' (`stack clean --full`) | ||
run: echo "GHCLIB_AZURE='1'" >> $GITHUB_ENV | ||
shell: bash | ||
- name: Boot | ||
run: |- | ||
cabal update | ||
git clone https://github.com/shayne-fletcher/hlint-from-scratch.git | ||
hlint-from-scratch/hlint-from-scratch.sh --init="$HOME/project" | ||
shell: bash | ||
- name: Build and Test ('ghc-next') | ||
run: hlint-from-scratch/hlint-from-scratch.sh --ghc-flavor="" --stack-yaml=stack-exact.yaml --resolver=ghc-9.6.4 --no-checkout | ||
shell: bash |