mirror of
https://github.com/Bodigrim/tasty-bench.git
synced 2024-08-16 20:20:21 +03:00
Regenerate CI config
This commit is contained in:
parent
f12ec7b644
commit
95be26d47d
23
.github/workflows/haskell-ci.yml
vendored
23
.github/workflows/haskell-ci.yml
vendored
@ -8,9 +8,9 @@
|
||||
#
|
||||
# For more information, see https://github.com/haskell-CI/haskell-ci
|
||||
#
|
||||
# version: 0.11.20210111
|
||||
# version: 0.11.20210222
|
||||
#
|
||||
# REGENDATA ("0.11.20210111",["github","tasty-bench.cabal"])
|
||||
# REGENDATA ("0.11.20210222",["github","tasty-bench.cabal"])
|
||||
#
|
||||
name: Haskell-CI
|
||||
on:
|
||||
@ -18,7 +18,7 @@ on:
|
||||
- pull_request
|
||||
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
|
||||
@ -26,7 +26,9 @@ jobs:
|
||||
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
|
||||
@ -58,7 +60,7 @@ jobs:
|
||||
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common
|
||||
apt-add-repository -y 'ppa:hvr/ghc'
|
||||
apt-get update
|
||||
apt-get install -y ghc-$GHC_VERSION cabal-install-3.2
|
||||
apt-get install -y ghc-$GHC_VERSION cabal-install-3.4
|
||||
env:
|
||||
GHC_VERSION: ${{ matrix.ghc }}
|
||||
- name: Set PATH and environment variables
|
||||
@ -71,12 +73,13 @@ jobs:
|
||||
echo "HC=$HC" >> $GITHUB_ENV
|
||||
echo "HCPKG=/opt/ghc/$GHC_VERSION/bin/ghc-pkg" >> $GITHUB_ENV
|
||||
echo "HADDOCK=/opt/ghc/$GHC_VERSION/bin/haddock" >> $GITHUB_ENV
|
||||
echo "CABAL=/opt/cabal/3.2/bin/cabal -vnormal+nowrap" >> $GITHUB_ENV
|
||||
echo "CABAL=/opt/cabal/3.4/bin/cabal -vnormal+nowrap" >> $GITHUB_ENV
|
||||
HCNUMVER=$(${HC} --numeric-version|perl -ne '/^(\d+)\.(\d+)\.(\d+)(\.(\d+))?$/; print(10000 * $1 + 100 * $2 + ($3 == 0 ? $5 != 1 : $3))')
|
||||
echo "HCNUMVER=$HCNUMVER" >> $GITHUB_ENV
|
||||
echo "ARG_TESTS=--enable-tests" >> $GITHUB_ENV
|
||||
echo "ARG_BENCH=--enable-benchmarks" >> $GITHUB_ENV
|
||||
echo "ARG_COMPILER=--ghc --with-compiler=/opt/ghc/$GHC_VERSION/bin/ghc" >> $GITHUB_ENV
|
||||
echo "HEADHACKAGE=false" >> $GITHUB_ENV
|
||||
echo "ARG_COMPILER=--ghc --with-compiler=$HC" >> $GITHUB_ENV
|
||||
echo "GHCJSARITH=0" >> $GITHUB_ENV
|
||||
env:
|
||||
GHC_VERSION: ${{ matrix.ghc }}
|
||||
@ -124,10 +127,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: |
|
||||
|
@ -21,7 +21,7 @@ extra-source-files:
|
||||
changelog.md
|
||||
README.md
|
||||
|
||||
tested-with: GHC==9.0.1, GHC==8.10.3, GHC==8.8.4, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4
|
||||
tested-with: GHC==9.0.1, GHC==8.10.4, GHC==8.8.4, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2, GHC==7.0.4
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
|
Loading…
Reference in New Issue
Block a user