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

View File

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