mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-13 00:05:10 +00:00
32 lines
788 B
YAML
32 lines
788 B
YAML
language: c
|
|
dist: bionic
|
|
|
|
cache:
|
|
directories:
|
|
- NimBinaries
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
arch: amd64
|
|
env:
|
|
- NPROC=2
|
|
- os: linux
|
|
arch: arm64
|
|
env:
|
|
- NPROC=6 # Worth trying more than 2 parallel jobs: https://travis-ci.community/t/no-cache-support-on-arm64/5416/8
|
|
- os: osx
|
|
env:
|
|
- NPROC=2
|
|
|
|
install:
|
|
- git clone -b version-1-4 --depth 1 git://github.com/nim-lang/nim nim/
|
|
- curl -O -L -s -S https://raw.githubusercontent.com/status-im/nimbus-build-system/master/scripts/build_nim.sh
|
|
- env MAKE="make -j${NPROC}" QUICK_AND_DIRTY_COMPILER=1 bash build_nim.sh Nim csources dist/nimble NimBinaries
|
|
- export PATH=$PWD/Nim/bin:$PATH
|
|
|
|
script:
|
|
- set -e # fail fast
|
|
- make NIMFLAGS="--parallelBuild:${NPROC}" test
|
|
|