mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-29 07:30:25 +01:00
Missing arg
This commit is contained in:
parent
087d05308d
commit
d4457719f8
@ -13,7 +13,7 @@ addons:
|
|||||||
|
|
||||||
# Edit etc/ci-script.sh to change GHC version
|
# Edit etc/ci-script.sh to change GHC version
|
||||||
script:
|
script:
|
||||||
- ./etc/curator-2-check.sh
|
- ./etc/check.sh
|
||||||
|
|
||||||
# Caching doesn't work with sudo: true
|
# Caching doesn't work with sudo: true
|
||||||
#cache:
|
#cache:
|
||||||
|
|||||||
@ -11,11 +11,8 @@ export PATH=$HOME/.local/bin:$PATH
|
|||||||
curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
|
curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
|
||||||
|
|
||||||
# Get new Stackage curator
|
# Get new Stackage curator
|
||||||
CURATOR2=curator-85b021a53833ff310fc66b3fdc5ca3f7828ce18b.bz2
|
curl "https://download.fpcomplete.com/stackage-curator-2/curator-85b021a53833ff310fc66b3fdc5ca3f7828ce18b.bz2" | bunzip2 > curator
|
||||||
wget "https://download.fpcomplete.com/stackage-curator-2/$CURATOR2.bz2"
|
chmod +x curator
|
||||||
bunzip2 "$CURATOR2.bz2"
|
|
||||||
chmod +x $CURATOR2
|
|
||||||
mv $CURATOR2 ~/.local/bin/stackage-curator-2
|
|
||||||
|
|
||||||
# Install GHC
|
# Install GHC
|
||||||
stack setup $GHCVER
|
stack setup $GHCVER
|
||||||
@ -24,8 +21,8 @@ stack setup $GHCVER
|
|||||||
# because of a different constraints handling in minor LTS version bumps
|
# because of a different constraints handling in minor LTS version bumps
|
||||||
NIGHTLY="nightly-$(date +%Y-%m-%d)"
|
NIGHTLY="nightly-$(date +%Y-%m-%d)"
|
||||||
# New curator check
|
# New curator check
|
||||||
stackage-curator-2 update &&
|
./curator update &&
|
||||||
stackage-curator-2 constraints --target=$NIGHTLY &&
|
./curator constraints --target=$NIGHTLY &&
|
||||||
stackage-curator-2 snapshot-incomplete &&
|
./curator snapshot-incomplete --target=$NIGHTLY &&
|
||||||
stackage-curator-2 snapshot &&
|
./curator snapshot &&
|
||||||
stack --resolver ghc-$GHCVER exec stackage-curator-2 check-snapshot
|
stack --resolver ghc-$GHCVER exec ./curator check-snapshot
|
||||||
Loading…
Reference in New Issue
Block a user