mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-14 04:19:22 +03:00
1216510fdb
commit 8f6aee0fdb29bbe4049f99c6d79b25f9e5fca303 Author: Ted Blackman <ted@tlon.io> Date: Thu Jun 25 03:13:19 2020 -0400 ci: revert debugging artifacts commit e13a7fc050fd3e87cf9ae449d7fd4f14558b8092 Author: Ted Blackman <ted@tlon.io> Date: Thu Jun 25 02:48:55 2020 -0400 ci: try @joemfb's one weird trick
66 lines
1.7 KiB
YAML
66 lines
1.7 KiB
YAML
jobs:
|
|
include:
|
|
- os: linux
|
|
language: nix
|
|
nix: 2.3.6
|
|
before_install:
|
|
- git lfs pull
|
|
- echo "trusted-users = root travis" | sudo tee -a /etc/nix/nix.conf && sudo pkill nix-daemon
|
|
install:
|
|
- nix-env -iA cachix -f https://cachix.org/api/v1/install
|
|
script:
|
|
- cachix use urbit2
|
|
- ./sh/cachix
|
|
- make build
|
|
- make release
|
|
- sh/ci-tests
|
|
|
|
- os: linux
|
|
language: generic
|
|
env: STACK_YAML=pkg/hs/stack.yaml
|
|
cache:
|
|
directories:
|
|
- $HOME/.ghc
|
|
- $HOME/.cabal
|
|
- $HOME/.stack
|
|
- $TRAVIS_BUILD_DIR/.stack-work
|
|
before_install:
|
|
- sh/travis-install-stack
|
|
install:
|
|
- stack --no-terminal --install-ghc build urbit-king --only-dependencies
|
|
script:
|
|
- stack test
|
|
- sh/release-king-linux64-dynamic
|
|
|
|
- os: osx
|
|
language: generic
|
|
sudo: required
|
|
env: STACK_YAML=pkg/hs/stack.yaml
|
|
cache:
|
|
directories:
|
|
- $HOME/.ghc
|
|
- $HOME/.cabal
|
|
- $HOME/.stack
|
|
- $TRAVIS_BUILD_DIR/.stack-work
|
|
before_install:
|
|
- sh/travis-install-stack
|
|
install:
|
|
- stack --no-terminal --install-ghc build urbit-king --only-dependencies
|
|
script:
|
|
- stack test
|
|
- sh/release-king-darwin-dynamic
|
|
|
|
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
|