Skip to content

Commit 1a09960

Browse files
authored
Merge pull request #60 from haskell-servant/maksbotan/bytestring-0.11
Update dependency for bytestring-0.11, add 9.2 CI
2 parents 0c7469b + b840a39 commit 1a09960

File tree

6 files changed

+24
-28
lines changed

6 files changed

+24
-28
lines changed

.github/workflows/ghcjs.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88

99
jobs:
1010
ghcjs:
11-
name: ubuntu-18.04 / ghcjs 8.4
12-
runs-on: "ubuntu-18.04"
11+
name: ubuntu-20.04 / ghcjs 8.4
12+
runs-on: "ubuntu-20.04"
1313

1414
steps:
1515
- uses: actions/checkout@v2
@@ -20,6 +20,10 @@ jobs:
2020
2121
- name: Install ghcjs and cabal
2222
run: |
23+
sudo apt-get update -y
24+
sudo apt-get install -y --no-install-recommends software-properties-common
25+
# Needed to get nodejs and npm
26+
sudo add-apt-repository -y universe
2327
# Default GitHub image dropped ppa:hvr/ghc, so we add it ourselves
2428
sudo add-apt-repository ppa:hvr/ghc
2529
sudo add-apt-repository ppa:hvr/ghcjs

.github/workflows/haskell-ci.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
#
99
# For more information, see https://github.com/haskell-CI/haskell-ci
1010
#
11-
# version: 0.14
11+
# version: 0.14.3
1212
#
13-
# REGENDATA ("0.14",["github","cabal.project","--allow-failures",">= 9.2","--distribution","focal"])
13+
# REGENDATA ("0.14.3",["github","cabal.project","--allow-failures",">= 9.2","--distribution","focal"])
1414
#
1515
name: Haskell-CI
1616
on:
@@ -32,6 +32,11 @@ jobs:
3232
strategy:
3333
matrix:
3434
include:
35+
- compiler: ghc-9.2.2
36+
compilerKind: ghc
37+
compilerVersion: 9.2.2
38+
setup-method: ghcup
39+
allow-failure: true
3540
- compiler: ghc-9.0.2
3641
compilerKind: ghc
3742
compilerVersion: 9.0.2
@@ -60,7 +65,7 @@ jobs:
6065
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
6166
if [ "${{ matrix.setup-method }}" = ghcup ]; then
6267
mkdir -p "$HOME/.ghcup/bin"
63-
curl -sL https://downloads.haskell.org/ghcup/0.1.17.3/x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup"
68+
curl -sL https://downloads.haskell.org/ghcup/0.1.17.5/x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup"
6469
chmod a+x "$HOME/.ghcup/bin/ghcup"
6570
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER"
6671
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
@@ -69,7 +74,7 @@ jobs:
6974
apt-get update
7075
apt-get install -y "$HCNAME"
7176
mkdir -p "$HOME/.ghcup/bin"
72-
curl -sL https://downloads.haskell.org/ghcup/0.1.17.3/x86_64-linux-ghcup-0.1.17.3 > "$HOME/.ghcup/bin/ghcup"
77+
curl -sL https://downloads.haskell.org/ghcup/0.1.17.5/x86_64-linux-ghcup-0.1.17.5 > "$HOME/.ghcup/bin/ghcup"
7378
chmod a+x "$HOME/.ghcup/bin/ghcup"
7479
"$HOME/.ghcup/bin/ghcup" install cabal 3.6.2.0
7580
fi
@@ -244,17 +249,9 @@ jobs:
244249
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.19.*' all
245250
- name: constraint set servant-0.18
246251
run: |
247-
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.18.*' --dependencies-only -j2 all
248-
$CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.18.*' all
252+
if [ $((HCNUMVER < 90200)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.18.*' --dependencies-only -j2 all ; fi
253+
if [ $((HCNUMVER < 90200)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.18.*' all ; fi
249254
- name: constraint set servant-0.17
250255
run: |
251256
if [ $((HCNUMVER < 81000)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.17.*' --dependencies-only -j2 all ; fi
252257
if [ $((HCNUMVER < 81000)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='servant ==0.17.*' all ; fi
253-
- name: constraint set network-3.0
254-
run: |
255-
if [ $((HCNUMVER < 80800)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='network == 3.0.*' --dependencies-only -j2 all ; fi
256-
if [ $((HCNUMVER < 80800)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='network == 3.0.*' all ; fi
257-
- name: constraint set network-2.8
258-
run: |
259-
if [ $((HCNUMVER < 80800)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='network == 2.8.*' --dependencies-only -j2 all ; fi
260-
if [ $((HCNUMVER < 80800)) -ne 0 ] ; then $CABAL v2-build $ARG_COMPILER --disable-tests --disable-benchmarks --constraint='network == 2.8.*' all ; fi

cabal.haskell-ci

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
branches: master
22

3-
constraint-set network-2.8
4-
ghc: >= 8.0 && <8.8
5-
constraints: network == 2.8.*
6-
7-
constraint-set network-3.0
8-
ghc: >= 8.0 && <8.8
9-
constraints: network == 3.0.*
10-
113
constraint-set servant-0.17
124
ghc: >= 8.0 && <8.10
135
constraints: servant ==0.17.*
146

157
constraint-set servant-0.18
16-
ghc: >= 8.0 && <9.4
8+
ghc: >= 8.0 && <9.2
179
constraints: servant ==0.18.*
1810

1911
constraint-set servant-0.19

servant-multipart-api/servant-multipart-api.cabal

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ tested-with:
2020
|| ==8.8.4
2121
|| ==8.10.7
2222
|| ==9.0.2
23+
|| ==9.2.2
2324

2425
library
2526
default-language: Haskell2010
@@ -29,7 +30,7 @@ library
2930
-- ghc boot libs
3031
build-depends:
3132
base >=4.9 && <5
32-
, bytestring >=0.10.8.1 && <0.11
33+
, bytestring >=0.10.8.1 && <0.12
3334
, text >=1.2.3.0 && <2.1
3435
, transformers >=0.5.2.0 && <0.6
3536

servant-multipart-client/servant-multipart-client.cabal

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ tested-with:
1919
|| ==8.8.4
2020
|| ==8.10.7
2121
|| ==9.0.2
22+
|| ==9.2.2
2223

2324
library
2425
default-language: Haskell2010
@@ -29,7 +30,7 @@ library
2930
build-depends:
3031
array >=0.5.1.1 && <0.6
3132
, base >=4.9 && <5
32-
, bytestring >=0.10.8.1 && <0.11
33+
, bytestring >=0.10.8.1 && <0.12
3334
, text >=1.2.3.0 && <2.1
3435
, random >=0.1.1 && <1.3
3536

servant-multipart/servant-multipart.cabal

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ tested-with:
1919
|| ==8.8.4
2020
|| ==8.10.7
2121
|| ==9.0.2
22+
|| ==9.2.2
2223

2324
library
2425
default-language: Haskell2010
@@ -28,7 +29,7 @@ library
2829
-- ghc boot libs
2930
build-depends:
3031
base >=4.9 && <5
31-
, bytestring >=0.10.8.1 && <0.11
32+
, bytestring >=0.10.8.1 && <0.12
3233
, directory >=1.3 && <1.4
3334
, text >=1.2.3.0 && <2.1
3435

0 commit comments

Comments
 (0)