Commit Graph

288 Commits

Author SHA1 Message Date
Alex Beregszaszi
b0e4555db3 Read version from CMakeLists in test_emscripten 2017-07-01 11:22:54 +01:00
Alex Beregszaszi
cc4f2500fb Use BuildInfo.h to retrieve version 2017-06-28 17:58:08 +01:00
Alex Beregszaszi
913b9c0e6b Run solc-js tests on emscripten build 2017-06-28 17:58:08 +01:00
chriseth
314f8beef1 This might fix our windows tests. 2017-06-20 17:47:06 +02:00
chriseth
a87b22c122 Change windows CI to use the same bytecode directory as linux. 2017-06-14 18:59:23 +02:00
chriseth
6d8afab928 Use actual hash. 2017-05-29 15:53:15 +02:00
chriseth
0ca941942b Use HEAD for report directory name 2017-05-24 14:36:46 +02:00
Alex Beregszaszi
e12b990038 Move COMMIT_DATE 2017-05-24 11:03:38 +01:00
chriseth
1ce9b91275 Make bytecode upload more robust and use date for directory name. 2017-05-19 21:08:13 +01:00
chriseth
b741f51bde Also put prerelease.txt into release tarball. 2017-05-17 11:59:34 +02:00
chriseth
bf5c6b7acb Remove wily and add zesty. 2017-05-05 12:50:54 +02:00
chriseth
b024fce150 Do not run IPC tests on windows. 2017-04-26 12:36:23 +02:00
chriseth
89bb8cbd6a Update shasum to new eth version. 2017-04-25 16:47:44 +02:00
chriseth
8758d9fb3c Install eth (including dependencies). 2017-04-25 16:47:44 +02:00
chriseth
cdc64e3cbb Use fixed binary for eth. 2017-04-25 16:47:44 +02:00
chriseth
dae5f7d350 Fix test script. 2017-04-25 16:47:43 +02:00
chriseth
cc1d5e47f9 Do not install eth from PPA for CI. 2017-04-25 16:47:43 +02:00
Alex Beregszaszi
ed32a57b86 Run tests in docker only on Travis 2017-04-25 16:47:43 +02:00
chriseth
1caf1f0b8d Test using eth from docker. 2017-04-25 16:47:43 +02:00
Yoichi Hirai
1927148604 Merge pull request #2128 from ethereum/bytecodeNoPull
Run bytecode upload only if encrypted variables are available.
2017-04-18 14:53:41 +02:00
chriseth
4694eaec43 Run bytecode upload only if encrypted variables are available. 2017-04-18 12:32:38 +02:00
chriseth
a7e605a7a1 Create and update bugs by version list. 2017-04-12 15:20:07 +02:00
chriseth
5c3a80ab5b Also generate optimized code. 2017-03-23 09:56:18 +01:00
chriseth
bbe3557a2f Create bytecode for all tests and push to remote repo. 2017-03-23 09:56:18 +01:00
chriseth
b18aea315d Isolate test cases from all tests and store under hash. 2017-03-23 09:56:17 +01:00
chriseth
b28aefe28c Use "nightly" version string for all CI built binaries. 2017-03-23 09:56:17 +01:00
Alex Beregszaszi
2cde2f9203 Merge pull request #1796 from ethereum/publishalpinestatic
Publish soljson and alpine static build on github release page.
2017-03-20 13:24:55 +00:00
chriseth
73efdabd37 Rename solc binary. 2017-03-20 14:03:11 +01:00
chriseth
acf71db9f6 Fixes spacing around condition. 2017-03-20 12:07:35 +01:00
chriseth
252299a1db Move docker build to its own script. 2017-03-17 12:33:40 +01:00
chriseth
3f83bb80bf Publish soljson and alpine static build on github release page. 2017-03-17 12:33:40 +01:00
chriseth
806b39db02 Specify docker entry point and only run release on tags. 2017-03-16 18:13:34 +01:00
Alex Beregszaszi
6d4cb24842 Merge pull request #1779 from ethereum/moretests
Correctly find contracts with other delimiters.
2017-03-16 13:44:06 +00:00
chriseth
59099908c5 Merge branch 'release' into develop 2017-03-15 17:26:06 +01:00
chriseth
5a939c4e1a Correctly find contracts with other delimiters. 2017-03-15 12:07:59 +01:00
chriseth
41360ccd57 Script for filtering unique failures. 2017-02-24 19:33:05 +01:00
chriseth
eeaa2bad95 Kill the right eth process in tests 2017-02-14 13:48:51 +00:00
chriseth
bc3e3fd709 Fix test expressions. 2017-02-13 12:28:39 +01:00
chriseth
11c4a7b642 Fail if docker deploy failed. 2017-02-13 11:22:07 +01:00
chriseth
4f6ebae36c Check for tag in travis. 2017-02-10 14:07:46 +01:00
RJ Catalano
e9ae50dc59
clarify branches for docker to push on and clarify where to find cmakelists.txt
Signed-off-by: RJ Catalano <rj@monax.io>
2017-02-09 11:36:08 -06:00
RJ Catalano
e884f7a479
minor fixups
Signed-off-by: RJ Catalano <rj@monax.io>
2017-02-09 11:31:07 -06:00
RJ Catalano
d9e7af939c
defeat race condition
Signed-off-by: RJ Catalano <rj@monax.io>
2017-02-09 11:31:02 -06:00
RJ Catalano
d76d9d4169
create automated docker deployment
Signed-off-by: RJ Catalano <rj@monax.io>
2017-02-09 11:30:59 -06:00
RJ Catalano
00feec567a
reorganize deps installation
Signed-off-by: RJ Catalano <rj@monax.io>
2017-02-09 11:30:57 -06:00
Alex Beregszaszi
fba3b84929 Include --show-progress in soltest 2017-02-08 21:50:53 +00:00
Alex Beregszaszi
82c2bf8ed2 Ensure that all commands succed and move back to root 2017-02-08 20:51:29 +00:00
Alex Beregszaszi
9c3b28e21e Fix tests on mac (wc produces whitespace) 2017-02-07 17:40:26 +00:00
RJ Catalano
f50caa967c
implement a build script
Signed-off-by: RJ Catalano <rj@monax.io>
2017-02-02 18:54:47 -06:00
chriseth
364da425d3 Merge pull request #1622 from ethereum/develop
Solidity version 0.4.9
2017-01-31 18:29:51 +01:00
chriseth
f9af2de0b4 Merge pull request #1594 from ethereum/fixStdToken
Make standard token compileable.
2017-01-31 16:05:27 +01:00
chriseth
ff8008cdf7 Merge pull request #1608 from LefterisJP/archlinux_add_ethereum_git
Add ethereum-git to archlinux dependencies
2017-01-26 17:03:36 +01:00
Lefteris Karapetsas
19833c95eb
Add ethereum-git to archlinux dependencies
It's needed for testing, since we need to have the `eth` client installed
2017-01-26 13:17:05 +01:00
chriseth
605455f96b Tests for library checksums. 2017-01-24 23:37:48 +01:00
chriseth
61a15bb92e Test that all constructible std contracts produce bytecode. 2017-01-20 19:50:14 +01:00
chriseth
60cc166851 Merge pull request #1561 from ethereum/develop
Merge develop into release for 0.4.8
2017-01-13 13:05:02 +01:00
Paweł Bylica
ee0bf07487
Travis CI: Install latest CMake 2017-01-12 14:14:19 +01:00
chriseth
1cecaab9b6 Replace `` by $(). 2017-01-09 12:14:01 +01:00
chriseth
e45510d02f Create source tarballs for releases. 2017-01-04 13:21:41 +01:00
chriseth
822622cf5b Merge remote-tracking branch 'origin/develop' into release 2016-12-15 12:16:56 +01:00
chriseth
e53fdb4933 Merge pull request #1357 from federicobond/remove-sierra-note
Remove macOS Sierra note from install_deps.sh
2016-12-12 12:40:39 +01:00
Federico Bond
72f9a4a73e Cleanup and fix scripts/isolate_tests.py 2016-12-06 19:21:38 -03:00
Federico Bond
7a46e15efd Rename isolateTests.py script to isolate_tests.py 2016-12-06 19:21:10 -03:00
chriseth
9c2ed33e9a Merge pull request #1342 from ethereum/emscripten-codesize
Emscripten code size improvements [WIP TEST]
2016-11-25 18:07:10 +01:00
chriseth
5c662022a7 Alpine base docker file. 2016-11-24 21:48:16 +01:00
chriseth
c9293f2f23 Enable the optimizer for test runs. 2016-11-23 16:48:13 +01:00
chriseth
3dbf2830ca Update tests.sh 2016-11-14 23:04:43 +01:00
chriseth
061b50ae19 Add tests for the std files. 2016-11-11 19:59:31 +01:00
Federico Bond
a97befb911 Remove macOS Sierra note from install_deps.sh 2016-11-11 09:28:23 -03:00
Alex Beregszaszi
7bbaeedc31 Add optimisation flags for Emscripten 2016-11-09 02:46:47 +00:00
Alex Beregszaszi
6e0934664b Display emscripten output size 2016-11-08 23:09:40 +00:00
chriseth
dc8a5f4ef5 Fetch jsoncpp tarball during ppa release. 2016-11-08 16:41:25 +01:00
Paweł Bylica
598154ed17
Drop CryptoPP leftovers
Especially, do not compile CryptoPP for Emscripten.
2016-11-08 01:16:31 +01:00
Paweł Bylica
4bde0a2d36 Build jsoncpp from source using jsoncpp.cmake script 2016-10-20 22:18:13 +01:00
Alex Beregszaszi
8fe36599a2 Simplify publish script 2016-10-14 19:35:42 +01:00
Alex Beregszaszi
bb556e1193 Change solc-bin publish script to support npm 2016-10-14 19:33:10 +01:00
chriseth
2d9109ba45 Merge pull request #1196 from ethereum/solc-bin-publish-update
solc-bin publish script should let the update script decide which files changed
2016-10-14 11:57:32 +02:00
chriseth
4825cdb62e Make "-a" more visible. 2016-10-12 15:23:18 +02:00
chriseth
def3f3ea46 Merge pull request #1126 from ethereum/isolateTests
Add script to extract test cases.
2016-10-12 15:20:32 +02:00
Alex Beregszaszi
302affeb29 solc-bin publish script should let the update script decide which files changed 2016-10-10 22:54:37 +01:00
chriseth
ff18c7404a Extend comment. 2016-10-10 22:04:11 +02:00
chriseth
c841eb0a9c Fix deploy script. 2016-10-04 23:10:30 +02:00
chriseth
a8353b7028 Update publish_binary.sh 2016-09-30 18:27:18 +02:00
chriseth
a5810e3793 Add script to extract test cases. 2016-09-30 13:10:17 +02:00
chriseth
0f08c1366b Use "develop" for debian version name. 2016-09-17 18:37:47 +02:00
chriseth
10c0953d0c Do not create prerelease build for release branch. 2016-09-17 18:37:42 +02:00
chriseth
07538346bd Also publish from release branch. 2016-09-17 18:24:31 +02:00
chriseth
82ba5c9615 Fix problem that caused multiple binaries per day. 2016-09-17 18:17:57 +02:00
chriseth
62f13ad8bf Merge pull request #1097 from ethereum/forceeight
Force commit hash to 8 digits.
2016-09-17 11:28:26 +02:00
chriseth
af86bfb07d Force commit hash to 8 digits. 2016-09-15 01:47:37 +02:00
Lefteris Karapetsas
9280954e72 Add warning for CentOS dependencies 2016-09-14 22:29:11 +02:00
Lefteris Karapetsas
b720e7b03d Add Centos to install_deps.sh
Added steps to otain solidity dependencies in CentOS. Tested those steps
on a CentOS 6.8 machine, but the instructions are from memory. May need
some tweaking.
2016-09-12 11:15:49 +02:00
chriseth
29ecc6fe31 Remove leading zeroes in prerelease components. 2016-09-09 14:23:33 +02:00
chriseth
8ca31cebec Store emscripten binaries usig new naming scheme. 2016-09-09 10:32:49 +02:00
Bob Summerwill
18906cce2b Added missing "stop on error" to scripts/install.sh. 2016-09-07 01:23:59 -07:00
chriseth
b962d3c071 Merge pull request #975 from blockchaindev/bug/674-solc-crash
solc crashes without 'export LC_ALL=C'
2016-08-31 21:20:05 +02:00
Dimitry
fa5b55a211 soltest on windows 2016-08-31 18:29:10 +04:00
winsvega
3ccd19868a Merge pull request #947 from winsvega/soltest
rename --ipc to --ipcpath
2016-08-31 12:45:36 +03:00
Christopher Gilbert
1b9147d7db Fixed a bug causing solc to crash on startup due to invalid environment settings for locale 2016-08-30 12:29:37 +01:00
Dimitry
f892d1b9a3 rename --ipc to --ipcpath 2016-08-29 16:21:49 +04:00
chriseth
4588eda622 Store commit hash and handle prerelease vor all automation tools. 2016-08-26 10:14:44 +02:00
chriseth
9db9d3b12b Use the new update script. 2016-08-23 14:22:53 +02:00
rain
b87adc2f46 update comments 2016-08-16 19:54:48 +01:00
rain
d9f4b35133 don't force upgrade on alpine linux install 2016-08-16 19:52:10 +01:00
rain
b998621cf5 replace bash with sh
sh is portable across POSIX systems
2016-08-16 19:45:35 +01:00
rain
3577e8feb2 correct detection string for Alpine 2016-08-16 19:44:26 +01:00
rain
14c15e8154 fall back to os-release if lsb_release not present 2016-08-16 19:37:51 +01:00
rain
f1ee876644 separate function for determining linux distro 2016-08-16 19:11:58 +01:00
chriseth
d479939949 Move custom test options to after -- 2016-08-12 15:12:54 +02:00
chriseth
8f789e29e5 Enable publishing again. 2016-08-12 09:31:18 +02:00
chriseth
2561b73a40 Debug publishing. 2016-08-11 18:25:24 +02:00
chriseth
ded6c67424 Debug publishing. 2016-08-11 16:39:38 +02:00
chriseth
188a9dcb53 Fix the publishing script to not publish multiple times per day. 2016-08-11 12:21:20 +02:00
Bob Summerwill
52a6737aa5 Re-add the ZIP release flow for Solidity.
It is all within conditionals such that it only works for 'release'.
Just want to start on getting it re-enabled.
Also disabled the Appveyor cache, because it is unreliable.
2016-08-10 14:12:37 -07:00
chriseth
988fe5e5aa Merge pull request #859 from chriseth/fixppa
Fix ppa script
2016-08-10 21:07:15 +02:00
chriseth
6f02de791e Fix ppa script. 2016-08-10 21:03:59 +02:00
Bob Summerwill
3fc68da5cf Merge pull request #848 from bobsummerwill/alpine_linux_install_deps
Blind attempt at adding Alpine Linux support to release.sh
2016-08-10 08:06:51 -07:00
chriseth
39ced1ba55 Make aware of branches and only create source tarball once. 2016-08-10 14:46:59 +02:00
chriseth
e404d42f60 Correct jsoncpp versions. 2016-08-10 14:46:59 +02:00
chriseth
ff08a8fab0 Do not compile sphinx docs for now, so we get to a workable state. 2016-08-10 14:46:59 +02:00
chriseth
7aa344a5e8 PPA release script, still work in progress. 2016-08-10 14:46:59 +02:00
chriseth
4c54834908 Rename libevmasm. 2016-08-10 13:52:24 +02:00
Bob Summerwill
2da8820323 Adding Alpine Linux support to release.sh
Thanks for @rainbean and @VoR0220.
2016-08-08 16:45:12 -07:00
chriseth
ccd78d05d6 Correct library usage. 2016-08-08 12:26:07 +02:00
chriseth
ff60ce988b Merge pull request #803 from bobsummerwill/ipc_flag
Switch to simpler --ipc parameterization for softest
2016-08-05 07:57:46 +02:00
Bob Summerwill
0321357e14 Switch to simpler --ipc parameterization for softest.
This is now possible on macOS after winsvega's fix.
2016-08-04 21:48:13 -07:00
chriseth
eda61aed04 Change deploy key. 2016-08-03 14:25:06 +02:00
chriseth
4259776524 Install dependencies for docs. 2016-08-02 14:58:40 +02:00
chriseth
7120c6ba60 Fix docs script. 2016-08-02 12:03:06 +02:00
chriseth
7da7c3208f Do not explicitly specify emscripten compiler. 2016-08-02 11:35:08 +02:00
chriseth
5a4d57a28f Make docs script executable. 2016-08-02 11:18:28 +02:00
chriseth
7ae2cb872a Show ubuntu version in error. 2016-08-02 11:18:28 +02:00
chriseth
8a801879d1 Parallel builds for emscripten and docs. 2016-08-02 11:18:26 +02:00
Bob Summerwill
46be8bcda8 Constraint Emscripten publish step to Ubuntu runs.
More detailed comments for public step and for unit-test retry logic.
Reordered caching steps alphabetically.
2016-08-01 22:04:56 -07:00
chriseth
1445284a78 Build emscripten in build-emscripten to separate cache. 2016-08-01 22:45:50 +02:00
chriseth
168261254b Fix emscripten build. 2016-08-01 16:49:19 +02:00
chriseth
82d113680c Run the tests only three times. 2016-08-01 16:49:19 +02:00
Bob Summerwill
4ee2114127 Make the Solidity repository standalone.
This commit is the culmination of several months of work to decouple Solidity from the webthree-umbrella so that it can be developed in parallel with cpp-ethereum (the Ethereum C++ runtime) and so that even for the Solidity unit-tests there is no hard-dependency onto the C++ runtime.

The Tests-over-IPC refactoring was a major step in the same process which was already committed.

This commit contains the following changes:

- A subset of the CMake functionality in webthree-helpers was extracted and tailored for Solidity into ./cmake.   Further cleanup is certainly possible.
- A subset of the libdevcore functionality in libweb3core was extracted and tailored for Solidity into ./libdevcore.   Further cleanup is certainly possible
- The gas price constants in EVMSchedule were orphaned into libevmasm.
- Some other refactorings and cleanups were made to sever unnecessary EVM dependencies in the Solidity unit-tests.
- TravisCI and Appveyor support was added, covering builds and running of the unit-tests (Linux and macOS only for now)
- A bug-fix was made to get the Tests-over-IPC running on macOS.
- There are still reliability issues in the unit-tests, which need immediate attention.    The Travis build has been flipped to run the unit-tests 5 times, to try to flush these out.
- The Emscripten automation which was previously in webthree-umbrella was merged into the TravisCI automation here.
- The development ZIP deployment step has been commented out, but we will want to read that ONLY for release branch.

Further iteration on these changes will definitely be needed, but I feel these have got to sufficient maturity than holding them back further isn't winning us anything.    It is go time :-)
2016-08-01 01:45:11 -07:00