| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,9 +8,9 @@ | |||
| 8 | 8 | # | |
| 9 | 9 | # For more information, see https://github.com/haskell-CI/haskell-ci | |
| 10 | 10 | # | |
| 11 | - # version: 0.13.20210827 | ||
| 11 | + # version: 0.13.20211111 | ||
| 12 | 12 | # | |
| 13 | - # REGENDATA ("0.13.20210827",["--config=cabal.haskell-ci","github","cabal.project"]) | ||
| 13 | + # REGENDATA ("0.13.20211111",["--config=cabal.haskell-ci","github","cabal.project"]) | ||
| 14 | 14 | # | |
| 15 | 15 | name: Haskell-CI | |
| 16 | 16 | on: | |
@@ -24,21 +24,28 @@ jobs: | |||
| 24 | 24 | linux: | |
| 25 | 25 | name: Haskell-CI - Linux - ${{ matrix.compiler }} | |
| 26 | 26 | runs-on: ubuntu-18.04 | |
| 27 | + timeout-minutes: | ||
| 28 | + 60 | ||
| 27 | 29 | container: | |
| 28 | 30 | image: buildpack-deps:bionic | |
| 29 | 31 | continue-on-error: ${{ matrix.allow-failure }} | |
| 30 | 32 | strategy: | |
| 31 | 33 | matrix: | |
| 32 | 34 | include: | |
| 35 | + - compiler: ghc-9.2.1 | ||
| 36 | + compilerKind: ghc | ||
| 37 | + compilerVersion: 9.2.1 | ||
| 38 | + setup-method: ghcup | ||
| 39 | + allow-failure: false | ||
| 33 | 40 | - compiler: ghc-9.0.1 | |
| 34 | 41 | compilerKind: ghc | |
| 35 | 42 | compilerVersion: 9.0.1 | |
| 36 | 43 | setup-method: hvr-ppa | |
| 37 | 44 | allow-failure: false | |
| 38 | - - compiler: ghc-8.10.4 | ||
| 45 | + - compiler: ghc-8.10.7 | ||
| 39 | 46 | compilerKind: ghc | |
| 40 | - compilerVersion: 8.10.4 | ||
| 41 | - setup-method: hvr-ppa | ||
| 47 | + compilerVersion: 8.10.7 | ||
| 48 | + setup-method: ghcup | ||
| 42 | 49 | allow-failure: false | |
| 43 | 50 | - compiler: ghc-8.8.4 | |
| 44 | 51 | compilerKind: ghc | |
@@ -81,9 +88,21 @@ jobs: | |||
| 81 | 88 | run: | | |
| 82 | 89 | apt-get update | |
| 83 | 90 | apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5 | |
| 84 | - apt-add-repository -y 'ppa:hvr/ghc' | ||
| 85 | - apt-get update | ||
| 86 | - apt-get install -y "$HCNAME" cabal-install-3.4 | ||
| 91 | + if [ "${{ matrix.setup-method }}" = ghcup ]; then | ||
| 92 | + mkdir -p "$HOME/.ghcup/bin" | ||
| 93 | + curl -sL https://downloads.haskell.org/ghcup/0.1.17.3/x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup" | ||
| 94 | + chmod a+x "$HOME/.ghcup/bin/ghcup" | ||
| 95 | + "$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" | ||
| 96 | + "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 | ||
| 97 | + else | ||
| 98 | + apt-add-repository -y 'ppa:hvr/ghc' | ||
| 99 | + apt-get update | ||
| 100 | + apt-get install -y "$HCNAME" | ||
| 101 | + mkdir -p "$HOME/.ghcup/bin" | ||
| 102 | + curl -sL https://downloads.haskell.org/ghcup/0.1.17.3/x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup" | ||
| 103 | + chmod a+x "$HOME/.ghcup/bin/ghcup" | ||
| 104 | + "$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0 | ||
| 105 | + fi | ||
| 87 | 106 | env: | |
| 88 | 107 | HCKIND: ${{ matrix.compilerKind }} | |
| 89 | 108 | HCNAME: ${{ matrix.compiler }} | |
@@ -95,11 +114,20 @@ jobs: | |||
| 95 | 114 | echo "CABAL_DIR=$HOME/.cabal" >> "$GITHUB_ENV" | |
| 96 | 115 | echo "CABAL_CONFIG=$HOME/.cabal/config" >> "$GITHUB_ENV" | |
| 97 | 116 | HCDIR=/opt/$HCKIND/$HCVER | |
| 98 | - HC=$HCDIR/bin/$HCKIND | ||
| 99 | - echo "HC=$HC" >> "$GITHUB_ENV" | ||
| 100 | - echo "HCPKG=$HCDIR/bin/$HCKIND-pkg" >> "$GITHUB_ENV" | ||
| 101 | - echo "HADDOCK=$HCDIR/bin/haddock" >> "$GITHUB_ENV" | ||
| 102 | - echo "CABAL=/opt/cabal/3.4/bin/cabal -vnormal+nowrap" >> "$GITHUB_ENV" | ||
| 117 | + if [ "${{ matrix.setup-method }}" = ghcup ]; then | ||
| 118 | + HC=$HOME/.ghcup/bin/$HCKIND-$HCVER | ||
| 119 | + echo "HC=$HC" >> "$GITHUB_ENV" | ||
| 120 | + echo "HCPKG=$HOME/.ghcup/bin/$HCKIND-pkg-$HCVER" >> "$GITHUB_ENV" | ||
| 121 | + echo "HADDOCK=$HOME/.ghcup/bin/haddock-$HCVER" >> "$GITHUB_ENV" | ||
| 122 | + echo "CABAL=$HOME/.ghcup/bin/cabal-3.6.2.0 -vnormal+nowrap" >> "$GITHUB_ENV" | ||
| 123 | + else | ||
| 124 | + HC=$HCDIR/bin/$HCKIND | ||
| 125 | + echo "HC=$HC" >> "$GITHUB_ENV" | ||
| 126 | + echo "HCPKG=$HCDIR/bin/$HCKIND-pkg" >> "$GITHUB_ENV" | ||
| 127 | + echo "HADDOCK=$HCDIR/bin/haddock" >> "$GITHUB_ENV" | ||
| 128 | + echo "CABAL=$HOME/.ghcup/bin/cabal-3.6.2.0 -vnormal+nowrap" >> "$GITHUB_ENV" | ||
| 129 | + fi | ||
| 130 | + | ||
| 103 | 131 | HCNUMVER=$(${HC} --numeric-version|perl -ne '/^(\d+)\.(\d+)\.(\d+)(\.(\d+))?$/; print(10000 * $1 + 100 * $2 + ($3 == 0 ? $5 != 1 : $3))') | |
| 104 | 132 | echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV" | |
| 105 | 133 | echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV" | |
@@ -133,6 +161,10 @@ jobs: | |||
| 133 | 161 | repository hackage.haskell.org | |
| 134 | 162 | url: http://hackage.haskell.org/ | |
| 135 | 163 | EOF | |
| 164 | + cat >> $CABAL_CONFIG <<EOF | ||
| 165 | + program-default-options | ||
| 166 | + ghc-options: $GHCJOBS +RTS -M3G -RTS | ||
| 167 | + EOF | ||
| 136 | 168 | cat $CABAL_CONFIG | |
| 137 | 169 | - name: versions | |
| 138 | 170 | run: | | |
@@ -185,14 +217,13 @@ jobs: | |||
| 185 | 217 | if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo "package github-samples" >> cabal.project ; fi | |
| 186 | 218 | if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods" >> cabal.project ; fi | |
| 187 | 219 | cat >> cabal.project <<EOF | |
| 188 | - constraints: hashable ^>=1.3 | ||
| 220 | + constraints: hashable >=1.3 | ||
| 189 | 221 | constraints: semigroups ^>=0.19 | |
| 190 | 222 | constraints: github +openssl | |
| 191 | 223 | constraints: github-samples +openssl | |
| 192 | 224 | allow-newer: deepseq-generics-0.2.0.0:base | |
| 193 | 225 | allow-newer: deepseq-generics-0.2.0.0:ghc-prim | |
| 194 | - allow-newer: cryptohash-sha1-0.11.100.1:base | ||
| 195 | - allow-newer: http-link-header-1.2.0:attoparsec | ||
| 226 | + allow-newer: HsOpenSSL:bytestring | ||
| 196 | 227 | optimization: False | |
| 197 | 228 | EOF | |
| 198 | 229 | $HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(github|github-samples)$/; }' >> cabal.project.local | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,13 +4,12 @@ packages: samples | |||
| 4 | 4 | optimization: False | |
| 5 | 5 | tests: True | |
| 6 | 6 | ||
| 7 | - constraints: hashable ^>=1.3 | ||
| 7 | + constraints: hashable >=1.3 | ||
| 8 | 8 | constraints: semigroups ^>=0.19 | |
| 9 | 9 | ||
| 10 | 10 | constraints: github +openssl | |
| 11 | 11 | constraints: github-samples +openssl | |
| 12 | 12 | ||
| 13 | 13 | allow-newer: deepseq-generics-0.2.0.0:base | |
| 14 | 14 | allow-newer: deepseq-generics-0.2.0.0:ghc-prim | |
| 15 | - allow-newer: cryptohash-sha1-0.11.100.1:base | ||
| 16 | - allow-newer: http-link-header-1.2.0:attoparsec | ||
| 15 | + allow-newer: HsOpenSSL:bytestring | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,7 @@ | |||
| 1 | 1 | cabal-version: >=1.10 | |
| 2 | 2 | name: github | |
| 3 | 3 | version: 0.27 | |
| 4 | + x-revision: 1 | ||
| 4 | 5 | synopsis: Access to the GitHub API, v3. | |
| 5 | 6 | category: Network | |
| 6 | 7 | description: | |
@@ -37,8 +38,9 @@ tested-with: | |||
| 37 | 38 | || ==8.4.4 | |
| 38 | 39 | || ==8.6.5 | |
| 39 | 40 | || ==8.8.4 | |
| 40 | - || ==8.10.4 | ||
| 41 | + || ==8.10.7 | ||
| 41 | 42 | || ==9.0.1 | |
| 43 | + || ==9.2.1 | ||
| 42 | 44 | ||
| 43 | 45 | extra-source-files: | |
| 44 | 46 | README.md | |
@@ -158,9 +160,9 @@ library | |||
| 158 | 160 | ||
| 159 | 161 | -- Packages bundles with GHC, mtl and text are also here | |
| 160 | 162 | build-depends: | |
| 161 | - base >=4.7 && <4.16 | ||
| 163 | + base >=4.7 && <4.17 | ||
| 162 | 164 | , binary >=0.7.1.0 && <0.11 | |
| 163 | - , bytestring >=0.10.4.0 && <0.11 | ||
| 165 | + , bytestring >=0.10.4.0 && <0.12 | ||
| 164 | 166 | , containers >=0.5.5.1 && <0.7 | |
| 165 | 167 | , deepseq >=1.3.0.2 && <1.5 | |
| 166 | 168 | , mtl >=2.1.3.1 && <2.2 || >=2.2.1 && <2.3 | |
@@ -177,7 +179,7 @@ library | |||
| 177 | 179 | , cryptohash-sha1 >=0.11.100.1 && <0.12 | |
| 178 | 180 | , deepseq-generics >=0.2.0.0 && <0.3 | |
| 179 | 181 | , exceptions >=0.10.2 && <0.11 | |
| 180 | - , hashable >=1.2.7.0 && <1.4 | ||
| 182 | + , hashable >=1.2.7.0 && <1.5 | ||
| 181 | 183 | , http-client >=0.5.12 && <0.8 | |
| 182 | 184 | , http-link-header >=1.0.3.1 && <1.3 | |
| 183 | 185 | , http-types >=0.12.3 && <0.13 | |
@@ -209,7 +211,7 @@ test-suite github-test | |||
| 209 | 211 | hs-source-dirs: spec | |
| 210 | 212 | main-is: Spec.hs | |
| 211 | 213 | ghc-options: -Wall -threaded | |
| 212 | - build-tool-depends: hspec-discover:hspec-discover >=2.7.1 && <2.8 | ||
| 214 | + build-tool-depends: hspec-discover:hspec-discover >=2.7.1 && <2.10 | ||
| 213 | 215 | other-extensions: TemplateHaskell | |
| 214 | 216 | other-modules: | |
| 215 | 217 | GitHub.ActivitySpec | |
@@ -234,7 +236,7 @@ test-suite github-test | |||
| 234 | 236 | , bytestring | |
| 235 | 237 | , file-embed | |
| 236 | 238 | , github | |
| 237 | - , hspec >=2.6.1 && <2.8 | ||
| 239 | + , hspec >=2.6.1 && <2.10 | ||
| 238 | 240 | , tagged | |
| 239 | 241 | , text | |
| 240 | 242 | , unordered-containers | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -16,8 +16,9 @@ tested-with: | |||
| 16 | 16 | || ==8.4.4 | |
| 17 | 17 | || ==8.6.5 | |
| 18 | 18 | || ==8.8.4 | |
| 19 | - || ==8.10.4 | ||
| 19 | + || ==8.10.7 | ||
| 20 | 20 | || ==9.0.1 | |
| 21 | + || ==9.2.1 | ||
| 21 | 22 | ||
| 22 | 23 | library | |
| 23 | 24 | hs-source-dirs: src | |
| Back | FazBrowse Home | New Git URL |
0 commit comments