Commit Graph

52 Commits

Author SHA1 Message Date
Ștefan Talpalaru c22c1d303f
fix the `go-checks` target on macOS and add it to CI 2019-08-07 18:08:48 +02:00
Ștefan Talpalaru 4c29a519e5
build_rocksdb.sh 2019-06-16 23:22:58 +02:00
Ștefan Talpalaru 0b5f595805
CI: disable LFS file downloading during regular cloning 2019-06-12 15:19:14 +02:00
Ștefan Talpalaru a0066abf95
CI: cache the Nim compiler binaries between builds 2019-06-10 02:05:32 +02:00
Ștefan Talpalaru e27cc0c90b
`make test` uses "-d:release" now
also bump vendor/nim-eth, vendor/nim-faststreams
2019-03-31 22:49:32 +02:00
Ștefan Talpalaru f2bcf35949
Nimbus CI: add nim-beacon-chain tests
We need to make sure that bumping Git submodules doesn't break
nim-beacon-chain here, since this is the recommeded setup for using that
repo.
2019-03-28 19:36:37 +01:00
Ștefan Talpalaru 9f0c945336 CI: use a release build for the test suite (#278)
* CI: use a release build for the test suite

Makefile: the "testsuite" target is no longer needed

* rename EXTRA_NIM_PARAMS to NIMFLAGS
2019-03-16 18:54:30 -06:00
Jacek Sieka 9bd5b02f93
ci: make everything (#270)
* ci: make everything
* remove tools from test target, do avoid duplicate work in CI
2019-03-14 14:11:31 -06:00
Ștefan Talpalaru f06238aaae
CI: don't set a depth for submodule cloning
because the build will fail when we're too far behind upstream and our
target commit is not included in that depth any more
2019-03-07 12:46:44 +01:00
Ștefan Talpalaru da79a7e996 very simple reproducibility test
Additional changes:
- Makefile verbosity control
- nimble.sh can now run in parallel on the same *.nimble file
- nimble.sh no longer used in the Makefile, in favour of a nimbus.nims
  symlink that eliminates race risks in parallel jobs
- nimbus.nimble takes extra params in the command line, with the caveat
  that they also apply to nim
- setCommand() replaced with exec(), to avoid splitting param strings
2019-02-24 10:41:05 +02:00
Ștefan Talpalaru 6ca9f7b83d Travis: increase Git clone depth to 10 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru ba0c25cb1c Travis CI: use the Makefile 2019-02-24 10:41:05 +02:00
Ștefan Talpalaru bd9d15d947 new build system
- isolate dependencies (both Git repos and ".nimble" dir) in "vendor"
- ensure that everything is compiled using our version of Nim with
  something as simple as "make"
- pull the latest changes with "make update"
- re-create Nimble's package dir and re-build the Nim compiler automatically when needed
- "env.sh" script that can be used to prefix any command that needs to use
  "nim" or "nimble" from our Nim repo
- move the top level nim.cfg to nimbus/nim.cfg so it doesn't apply to
  deps
- "fetch-dlls" `make` target for Windows to get precompiled Snappy, RocksDB and SQLite DLLs
2019-01-09 14:25:00 +02:00
Jacek Sieka 817a1fb348
ci: update 2018-09-04 21:01:33 -06:00
Jacek Sieka e1bc482f39
travis: cleanup 2018-09-03 12:13:45 -06:00
Yuriy Glukhov 0ddab47427 Install nimbus during tests to make sure it compiles 2018-09-03 15:00:10 +03:00
Jacek Sieka 446ea60a02
travis: wipe rocksdb cache on rebuild 2018-08-31 16:29:05 -06:00
Jacek Sieka 884fa63383
travis: skip brew update (as travis docs recommend) 2018-08-31 12:55:54 -06:00
Jacek Sieka fa92b99322
build rocksdb on osx as well 2018-08-31 09:47:41 -06:00
Jacek Sieka 6df5daee5e
travis: check for nimble also 2018-08-26 21:51:23 -06:00
Jacek Sieka e34578b019
travis: clean nim dir before building 2018-08-26 15:09:43 -06:00
Jacek Sieka a5660439ce
travis: use public git repo url 2018-08-26 14:56:52 -06:00
Jacek Sieka 1d80646127
travis: quote 2018-08-26 09:34:10 -06:00
Jacek Sieka 87163160df
travis: cache full nim installation 2018-08-26 09:22:29 -06:00
Jacek Sieka 84f992d9df
travis: cache creates directory - check file instead before downloading 2018-08-21 14:15:26 -06:00
Jacek Sieka 4aca1e5b9c
travis: try caching full rocksdb build 2018-08-21 14:12:23 -06:00
Jacek Sieka c1d405a032
travis: install rocksdb from tarball instead 2018-08-21 13:35:40 -06:00
Jacek Sieka fcbd10e6f7
travis: simplify script 2018-08-21 13:13:35 -06:00
Jacek Sieka 5de3fc761c
travis: build specific rocksdb version and install in /usr 2018-08-21 11:54:42 -06:00
Jacek Sieka fd955be92a
travis: build rocksdb also 2018-08-21 10:46:10 -06:00
Jacek Sieka 21fd963906
travis: use ccache 2018-08-21 10:30:35 -06:00
Zahary Karadjov 14a1b51981 Updated Nix build environment for working with Nimbus
Other changes:

* For the macOS builds in Travis, attempt to install rocksdb through brew
2018-06-24 17:46:43 +03:00
Yuriy Glukhov 4da71f76b9 Fixed TTInt rlp encoding. Fixes #9. (#12) 2018-04-12 12:34:20 +02:00
mratsim fef28e876a Failures allowed for mac temporarily 2018-04-11 16:56:24 +02:00
mratsim 10689dd321 change the order of nim compilation and GCC compilation 2018-04-11 16:45:17 +02:00
mratsim d7379c1e11 Make travis OSX also use GCC 2018-04-11 16:41:08 +02:00
Mamy Ratsimbazafy 09d53bd8dd
make Linux test green again 2018-04-11 15:58:48 +02:00
Mamy Ratsimbazafy 0d426df981
fix docker for Travis 2018-04-11 15:48:33 +02:00
Mamy Ratsimbazafy 2b9c35ab22
Add MacOS CI to Travis 2018-04-11 15:27:56 +02:00
mratsim 0b5df0fee1 Add sh -c 2018-04-04 12:45:45 +02:00
mratsim 5493656c36 fix use statusteam 2018-04-04 12:33:21 +02:00
mratsim ea80536f8f okay this should work now 2018-04-04 12:28:58 +02:00
mratsim 3d1d5afd67 Travis: Refresh package.json 2018-04-04 12:14:39 +02:00
mratsim 467a4b15f7 Use Status docker 2018-04-04 11:40:37 +02:00
mratsim 94d805792f Travis: refresh nimble packages (deleted by mistake) 2018-04-03 18:19:47 +02:00
mratsim 6c5ceda9b3 Update Travis config 2018-04-03 18:15:44 +02:00
Alexander Ivanov 35e43fa32e Pass correctly commands to docker command for travis 2018-02-07 13:46:07 +02:00
Alexander Ivanov e07fc0562d Separate test build from run 2018-02-07 13:15:54 +02:00
Alexander Ivanov 8a7a8f3e06 Travis: try to run sh 2018-02-07 13:07:38 +02:00
Alexander Ivanov 04546ef629 Compile actual test files 2018-02-07 11:58:17 +02:00