mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-16 10:49:26 +03:00
23cc08d224
Necessitates pulling in setuptools and wheel explicitly so meson can build.
58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
dist: xenial
|
|
language: node_js
|
|
node_js:
|
|
- 4
|
|
|
|
# Uncomment me if this gets annoying
|
|
#
|
|
# notifications:
|
|
# email: false
|
|
|
|
before_install:
|
|
- wget https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip
|
|
- unzip ninja-linux.zip
|
|
- sudo mv ninja /usr/bin/
|
|
|
|
install:
|
|
# pwd: ~/urbit
|
|
- pip3 install --user -I meson==0.44.1
|
|
|
|
script:
|
|
- meson . ./build --buildtype=debugoptimized -Dgc=true -Dprof=true
|
|
- cd ./build
|
|
- ninja
|
|
- ninja test
|
|
- sudo ninja install
|
|
- cd ../.travis
|
|
- npm install
|
|
- ulimit -c unlimited -S
|
|
- npm run -s test; bash print-core-backtrace.sh $?
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- python3
|
|
- python3-pip
|
|
- python3-setuptools
|
|
- python3-wheel
|
|
- libgmp3-dev
|
|
- libsigsegv-dev
|
|
- openssl
|
|
- libssl-dev
|
|
- libncurses5-dev
|
|
- gcc
|
|
- libcurl4-gnutls-dev
|
|
- unzip
|
|
- gdb
|
|
# before_deploy: "make deb" # TODO
|
|
deploy:
|
|
skip_cleanup: true
|
|
provider: releases
|
|
prerelease: true # turn this off for official releases
|
|
api_key:
|
|
secure: V4E7784ECSS3MO6ZIRtang9XwibDyvDYGb0MoSaP2CTlmzIAhdokr4KJFM0qM4KRaaajCdQuqi0lojgOjwdxs7e0GkAwScb33LFxQ7Chj/QkFOY7V1AnSRLR5OsXnazB0nur5aSwvcvnggQ2XW3OeF7zIvGfs9aR97SEz/xCrVE=
|
|
file: ./build/urbit # TODO upload package from before_deploy
|
|
on:
|
|
repo: urbit/urbit
|
|
tags: true
|