mirror of https://github.com/status-im/evmc.git
Circle CI: Test build with C++17 and C++14
This commit is contained in:
parent
804a429ba5
commit
77a2fda5d1
23
circle.yml
23
circle.yml
|
@ -3,7 +3,7 @@ jobs:
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
docker:
|
docker:
|
||||||
- image: ethereum/cpp-build-env
|
- image: ethereum/cpp-build-env:7
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
|
@ -18,15 +18,15 @@ jobs:
|
||||||
sudo pip3 install codespell
|
sudo pip3 install codespell
|
||||||
codespell --quiet-level=4 --ignore-words=./.codespell-whitelist
|
codespell --quiet-level=4 --ignore-words=./.codespell-whitelist
|
||||||
|
|
||||||
build: &build
|
build-cxx11: &build
|
||||||
docker:
|
docker:
|
||||||
- image: ethereum/cpp-build-env
|
- image: ethereum/cpp-build-env:7
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: "Configure"
|
name: "Configure"
|
||||||
working_directory: ~/build
|
working_directory: ~/build
|
||||||
command: cmake ../project -DCMAKE_INSTALL_PREFIX=~/install -DBUILD_SHARED_LIBS=ON -DEVMC_EXAMPLES=ON -DEVMC_TESTING=ON
|
command: cmake ../project -DCMAKE_INSTALL_PREFIX=~/install -DBUILD_SHARED_LIBS=ON -DEVMC_EXAMPLES=ON -DEVMC_TESTING=ON $CMAKE_OPTIONS
|
||||||
- run:
|
- run:
|
||||||
name: "Build"
|
name: "Build"
|
||||||
command: cmake --build ~/build
|
command: cmake --build ~/build
|
||||||
|
@ -63,11 +63,19 @@ jobs:
|
||||||
name: "Run evmc-vmtester libevmc-example-vm.so"
|
name: "Run evmc-vmtester libevmc-example-vm.so"
|
||||||
command: ~/install/bin/evmc-vmtester ~/install/lib/libevmc-example-vm.so
|
command: ~/install/bin/evmc-vmtester ~/install/lib/libevmc-example-vm.so
|
||||||
|
|
||||||
build-clang-3.8:
|
build-cxx14:
|
||||||
<<: *build
|
<<: *build
|
||||||
environment:
|
environment:
|
||||||
CC: clang-3.8
|
CC: clang-3.8
|
||||||
CXX: clang++-3.8
|
CXX: clang++-3.8
|
||||||
|
CMAKE_OPTIONS: -DTOOLCHAIN=cxx14-pic
|
||||||
|
|
||||||
|
build-cxx17:
|
||||||
|
<<: *build
|
||||||
|
environment:
|
||||||
|
CC: gcc-6
|
||||||
|
CXX: g++-6
|
||||||
|
CMAKE_OPTIONS: -DTOOLCHAIN=cxx17-pic
|
||||||
|
|
||||||
test-docs:
|
test-docs:
|
||||||
docker:
|
docker:
|
||||||
|
@ -133,8 +141,9 @@ workflows:
|
||||||
evmc:
|
evmc:
|
||||||
jobs:
|
jobs:
|
||||||
- lint
|
- lint
|
||||||
- build
|
- build-cxx11
|
||||||
- build-clang-3.8
|
- build-cxx14
|
||||||
|
- build-cxx17
|
||||||
- bindings-go-1.11
|
- bindings-go-1.11
|
||||||
- bindings-go-1.10
|
- bindings-go-1.10
|
||||||
- bindings-go-1.9
|
- bindings-go-1.9
|
||||||
|
|
Loading…
Reference in New Issue