Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#
# For more information, see https://github.com/haskell-CI/haskell-ci
#
# version: 0.11.20210101
# version: 0.11.20210220
#
# REGENDATA ("0.11.20210101",["github","cabal.project"])
# REGENDATA ("0.11.20210220",["github","cabal.project"])
#
name: Haskell-CI
on:
Expand All @@ -22,15 +22,17 @@ on:
- master
jobs:
linux:
name: Haskell-CI Linux - GHC ${{ matrix.ghc }}
name: Haskell-CI - Linux - GHC ${{ matrix.ghc }}
runs-on: ubuntu-18.04
container:
image: buildpack-deps:bionic
continue-on-error: ${{ matrix.allow-failure }}
strategy:
matrix:
include:
- ghc: 8.10.3
- ghc: 9.0.1
allow-failure: false
- ghc: 8.10.4
allow-failure: false
- ghc: 8.8.4
allow-failure: false
Expand Down Expand Up @@ -80,6 +82,7 @@ jobs:
echo "HCNUMVER=$HCNUMVER" >> $GITHUB_ENV
echo "ARG_TESTS=--enable-tests" >> $GITHUB_ENV
echo "ARG_BENCH=--enable-benchmarks" >> $GITHUB_ENV
echo "HEADHACKAGE=false" >> $GITHUB_ENV
echo "ARG_COMPILER=--ghc --with-compiler=/opt/ghc/$GHC_VERSION/bin/ghc" >> $GITHUB_ENV
echo "GHCJSARITH=0" >> $GITHUB_ENV
env:
Expand Down Expand Up @@ -128,10 +131,14 @@ jobs:
uses: actions/checkout@v2
with:
path: source
- name: initial cabal.project for sdist
run: |
touch cabal.project
echo "packages: $GITHUB_WORKSPACE/source/." >> cabal.project
cat cabal.project
- name: sdist
run: |
mkdir -p sdist
cd source || false
$CABAL sdist all --output-dir $GITHUB_WORKSPACE/sdist
- name: unpack
run: |
Expand Down
3 changes: 2 additions & 1 deletion some.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ tested-with:
|| ==8.4.4
|| ==8.6.5
|| ==8.8.4
|| ==8.10.3
|| ==8.10.4
|| ==9.0.1

extra-source-files: ChangeLog.md

Expand Down