Actually use lmdb-static package plus don't build all deps.

This commit is contained in:
Benjamin Summers 2019-12-10 22:06:43 -08:00
parent a46ce7b1cc
commit 624e054be4
2 changed files with 26 additions and 23 deletions

View File

@ -36,34 +36,37 @@ install:
- echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
- SAVED_OPTIONS=$(set +o)
- set -ex
- stack --no-terminal --install-ghc build king --only-dependencies
- stack --no-terminal --install-ghc build lmdb-static
- stack --no-terminal --install-ghc build classy-prelude lens
# stack --no-terminal --install-ghc build king --only-dependencies
- eval "$SAVED_OPTIONS"
script:
- cachix use urbit2
- ./sh/cachix || true
- echo hi
# - cachix use urbit2
# - ./sh/cachix || true
- make
- make release
# - make
# - make release
- sh/ci-tests
# - sh/ci-tests
# King Haskell
- export PATH="${PATH}:$(pwd)/bin"
- stack build --fast --copy-bins --local-bin-path ./bin
# - export PATH="${PATH}:$(pwd)/bin"
# - stack build --fast --copy-bins --local-bin-path ./bin
# otool -L ./bin/king-linux64-demo
- mv bin/king release/king-linux64-demo
# - mv bin/king release/king-linux64-demo
deploy:
- skip_cleanup: true
provider: gcs
access_key_id: GOOGTADOPP55X5ZTH3IKAXQW
secret_access_key:
secure: rSPif0VHX3Q3QpWM9iUt/Z9sicCY8ABuwVFPeT3YUnAAmSXM46PIHKieoGs79kx9IelFyQsM8xS0XWyt4S/haR7VaTJY+zHJjf0AnA1sr5ZIV70t3K0SXzq4+E1ffOZRiC0VmHatPz10wjaIpHxpjcROqQV4M1dBCq2H/rpccIE=
bucket: bootstrap.urbit.org
local-dir: release/
acl: public-read
on:
condition: "-d release/"
repo: urbit/urbit
all_branches: true
# deploy:
# - skip_cleanup: true
# provider: gcs
# access_key_id: GOOGTADOPP55X5ZTH3IKAXQW
# secret_access_key:
# secure: rSPif0VHX3Q3QpWM9iUt/Z9sicCY8ABuwVFPeT3YUnAAmSXM46PIHKieoGs79kx9IelFyQsM8xS0XWyt4S/haR7VaTJY+zHJjf0AnA1sr5ZIV70t3K0SXzq4+E1ffOZRiC0VmHatPz10wjaIpHxpjcROqQV4M1dBCq2H/rpccIE=
# bucket: bootstrap.urbit.org
# local-dir: release/
# acl: public-read
# on:
# condition: "-d release/"
# repo: urbit/urbit
# all_branches: true

View File

@ -60,7 +60,7 @@ dependencies:
- iproute
- largeword
- lens
- lmdb
- lmdb-static
- lock-file
- megaparsec
- memory