mirror of https://github.com/status-im/evmc.git
Circle CI: Test minimal supported compilers
This commit is contained in:
parent
a2c0934073
commit
00ff5e4427
45
circle.yml
45
circle.yml
|
@ -3,7 +3,7 @@ jobs:
|
|||
|
||||
lint:
|
||||
docker:
|
||||
- image: ethereum/cpp-build-env:7
|
||||
- image: ethereum/cpp-build-env:10
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
|
@ -19,11 +19,21 @@ jobs:
|
|||
sudo pip3 install codespell
|
||||
codespell --quiet-level=4 --ignore-words=./.codespell-whitelist
|
||||
|
||||
build-cxx11: &build
|
||||
build: &build
|
||||
docker:
|
||||
- image: ethereum/cpp-build-env:7
|
||||
- image: ethereum/cpp-build-env:10
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: "Environment"
|
||||
command: |
|
||||
CC=${CC:-cc}
|
||||
CXX=${CXX:-cpp}
|
||||
echo CC: $CC
|
||||
echo CXX: $CXX
|
||||
$CC --version
|
||||
$CXX --version
|
||||
cmake --version
|
||||
- run:
|
||||
name: "Configure"
|
||||
working_directory: ~/build
|
||||
|
@ -64,23 +74,35 @@ jobs:
|
|||
name: "Run evmc-vmtester libevmc-example-vm.so"
|
||||
command: ~/install/bin/evmc-vmtester ~/install/lib/libevmc-example-vm.so
|
||||
|
||||
build-cxx17:
|
||||
<<: *build
|
||||
environment:
|
||||
CC: gcc-8
|
||||
CXX: g++-8
|
||||
CMAKE_OPTIONS: -DTOOLCHAIN=cxx17-pic
|
||||
|
||||
build-cxx14:
|
||||
<<: *build
|
||||
environment:
|
||||
CC: clang-3.8
|
||||
CXX: clang++-3.8
|
||||
CC: clang-8
|
||||
CXX: clang++-8
|
||||
CMAKE_OPTIONS: -DTOOLCHAIN=cxx14-pic
|
||||
|
||||
build-cxx17:
|
||||
build-gcc6:
|
||||
<<: *build
|
||||
environment:
|
||||
CC: gcc-6
|
||||
CXX: g++-6
|
||||
CMAKE_OPTIONS: -DTOOLCHAIN=cxx17-pic
|
||||
|
||||
build-clang3.8:
|
||||
<<: *build
|
||||
environment:
|
||||
CC: clang-3.8
|
||||
CXX: clang++-3.8
|
||||
|
||||
test-docs:
|
||||
docker:
|
||||
- image: ethereum/cpp-build-env
|
||||
- image: ethereum/cpp-build-env:10
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
|
@ -99,7 +121,7 @@ jobs:
|
|||
|
||||
upload-docs:
|
||||
docker:
|
||||
- image: ethereum/cpp-build-env
|
||||
- image: ethereum/cpp-build-env:10
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
|
@ -142,9 +164,10 @@ workflows:
|
|||
evmc:
|
||||
jobs:
|
||||
- lint
|
||||
- build-cxx11
|
||||
- build-cxx14
|
||||
- build-cxx17
|
||||
- build-cxx14
|
||||
- build-gcc6
|
||||
- build-clang3.8
|
||||
- bindings-go-1.11
|
||||
- bindings-go-1.10
|
||||
- bindings-go-1.9
|
||||
|
|
Loading…
Reference in New Issue