ci: Upgrade clang from 9 to 10
@@ -127,18 +127,10 @@ jobs:
git commit -m "Update docs"
git push -f "https://$GITHUB_TOKEN@github.com/ethereum/evmc.git" HEAD:gh-pages
- build-clang9-coverage:
+ build-clang10-coverage:
docker:
- - image: ethereum/cpp-build-env:12-clang-9
+ - image: ethereum/cpp-build-env:14-clang-10
steps:
- - run:
- name: "Install lcov"
- working_directory: /tmp
- command: |
- sudo apt-get -q update
- # sudo apt-get install -qy lcov --no-install-recommends
- apt-get download lcov
- sudo dpkg -i --force-depends lcov*.deb
- checkout
- build:
build_type: Coverage
@@ -188,6 +180,17 @@ jobs:
- build
- test
+ build-clang10-cxx14-asan:
+ docker:
+ - image: ethereum/cpp-build-env:14-clang-10
+ environment:
+ CMAKE_OPTIONS: -DCMAKE_CXX_STANDARD=14 -DSANITIZE=address
+ UBSAN_OPTIONS: halt_on_error=1
+ steps:
+ - checkout
+ - build
+ - test
+
build-clang9-cxx14-asan:
docker:
- image: ethereum/cpp-build-env:12-clang-9
@@ -378,10 +381,11 @@ workflows:
evmc:
jobs:
- lint
- - build-clang9-coverage
+ - build-clang10-coverage
- build-gcc8-cxx17
- build-gcc10-cxx17-ubsan
- build-clang9-cxx14-asan
+ - build-clang10-cxx14-asan
- build-gcc6
- build-clang5
- build-clang38
