CI: update script path

This commit is contained in:
Ștefan Talpalaru 2019-08-24 05:01:23 +02:00
parent 5b1307cb1f
commit 08fec021c0
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
3 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ install:
# build nim from our own branch - this to avoid the day-to-day churn and # build nim from our own branch - this to avoid the day-to-day churn and
# regressions of the fast-paced Nim development while maintaining the # regressions of the fast-paced Nim development while maintaining the
# flexibility to apply patches # flexibility to apply patches
- curl -O -L -s -S https://raw.githubusercontent.com/status-im/nimbus/devel/build_nim.sh - curl -O -L -s -S https://raw.githubusercontent.com/status-im/nimbus-build-system/master/scripts/build_nim.sh
- env MAKE="mingw32-make -j2" ARCH_OVERRIDE=%PLATFORM% bash build_nim.sh Nim csources dist/nimble NimBinaries - env MAKE="mingw32-make -j2" ARCH_OVERRIDE=%PLATFORM% bash build_nim.sh Nim csources dist/nimble NimBinaries
build_script: build_script:

View File

@ -28,12 +28,12 @@ install:
# build nim from our own branch - this to avoid the day-to-day churn and # build nim from our own branch - this to avoid the day-to-day churn and
# regressions of the fast-paced Nim development while maintaining the # regressions of the fast-paced Nim development while maintaining the
# flexibility to apply patches # flexibility to apply patches
- curl -O -L -s -S https://raw.githubusercontent.com/status-im/nimbus/devel/build_nim.sh - curl -O -L -s -S https://raw.githubusercontent.com/status-im/nimbus-build-system/master/scripts/build_nim.sh
- env MAKE="make -j2" bash build_nim.sh Nim csources dist/nimble NimBinaries - env MAKE="make -j2" bash build_nim.sh Nim csources dist/nimble NimBinaries
- export PATH=$PWD/Nim/bin:$PATH - export PATH=$PWD/Nim/bin:$PATH
# build our own rocksdb to test with a fixed version that we think works # build our own rocksdb to test with a fixed version that we think works
- curl -O -L -s -S https://raw.githubusercontent.com/status-im/nimbus/devel/build_rocksdb.sh - curl -O -L -s -S https://raw.githubusercontent.com/status-im/nimbus-build-system/master/scripts/build_rocksdb.sh
- bash build_rocksdb.sh rocksdbCache - bash build_rocksdb.sh rocksdbCache
script: script:

View File

@ -16,7 +16,7 @@ proc test(name: string, lang: string = "c") =
if not dirExists "nimcache": if not dirExists "nimcache":
mkDir "nimcache" mkDir "nimcache"
--run --run
--nimcache: "nimcache" --nimcache: nimcache
switch("out", ("./build/" & name)) switch("out", ("./build/" & name))
--threads: on --threads: on
setCommand lang, "tests/" & name & ".nim" setCommand lang, "tests/" & name & ".nim"