mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Run regular x86 build via circle.
This commit is contained in:
parent
63fb319db3
commit
55bffcc758
48
circle.yml
48
circle.yml
@ -1,6 +1,6 @@
|
|||||||
version: 2
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build_emscripten:
|
||||||
docker:
|
docker:
|
||||||
- image: trzeci/emscripten:sdk-tag-1.37.21-64bit
|
- image: trzeci/emscripten:sdk-tag-1.37.21-64bit
|
||||||
steps:
|
steps:
|
||||||
@ -48,3 +48,49 @@ jobs:
|
|||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: build/solc/soljson.js
|
path: build/solc/soljson.js
|
||||||
destination: 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
|
||||||
|
Loading…
Reference in New Issue
Block a user