aboutsummaryrefslogtreecommitdiffstats
path: root/circle.yml
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-08 23:12:04 +0800
committerchriseth <chris@ethereum.org>2018-02-09 00:35:08 +0800
commit55bffcc7584d74f9e5a9f5f4288978ddf7378acc (patch)
tree8480bfd0d8621db03e4351ea7e0d9b6c10b75751 /circle.yml
parent63fb319db3dd927320d28bec2cbf926350cec01c (diff)
downloaddexon-solidity-55bffcc7584d74f9e5a9f5f4288978ddf7378acc.tar.gz
dexon-solidity-55bffcc7584d74f9e5a9f5f4288978ddf7378acc.tar.zst
dexon-solidity-55bffcc7584d74f9e5a9f5f4288978ddf7378acc.zip
Run regular x86 build via circle.
Diffstat (limited to 'circle.yml')
-rw-r--r--circle.yml48
1 files changed, 47 insertions, 1 deletions
diff --git a/circle.yml b/circle.yml
index db685da1..2a09cb19 100644
--- a/circle.yml
+++ b/circle.yml
@@ -1,6 +1,6 @@
version: 2
jobs:
- build:
+ build_emscripten:
docker:
- image: trzeci/emscripten:sdk-tag-1.37.21-64bit
steps:
@@ -48,3 +48,49 @@ jobs:
- store_artifacts:
path: build/solc/soljson.js
destination: soljson.js
+ build_x86:
+ docker:
+ - image: buildpack-deps:artful
+ steps:
+ - checkout
+ - run:
+ name: Install build dependencies
+ command: |
+ apt-get -qq update
+ apt-get -qy install ccache cmake libboost-all-dev libz3-dev
+ - run:
+ name: Init submodules
+ command: |
+ git submodule update --init
+ - run:
+ name: Store commit hash and prerelease
+ command: |
+ date -u +"nightly.%Y.%-m.%-d" > prerelease.txt
+ echo -n "$CIRCLE_SHA1" > commit_hash.txt
+ - restore_cache:
+ key: ccache-{{ arch }}-{{ .Branch }}
+ key: ccache-{{ arch }}
+ key: ccache
+ - run:
+ name: Build
+ command: ./scripts/build.sh RelWithDebInfo
+ - save_cache:
+ key: ccache-{{ arch }}-{{ .Branch }}
+ paths:
+ - ~/.ccache
+ - run:
+ name: Commandline tests
+ command: test/cmdlineTests.sh
+ - run:
+ name: Test without optimizer (exclude IPC tests)
+ command: build/test/soltest --show-progress -- --no-ipc
+ - run:
+ name: Test with optimizer (exclude IPC tests)
+ command: build/test/soltest --show-progress -- --optimize --no-ipc
+
+workflows:
+ version: 2
+ build_all:
+ jobs:
+ - build_emscripten
+ - build_x86