diff options
author | Juha Alanen <juha.alanen@mapbox.com> | 2020-01-24 12:20:51 +0200 |
---|---|---|
committer | Juha Alanen <juha.alanen@mapbox.com> | 2020-01-28 10:29:38 +0200 |
commit | a62e4f48b5b6e80adf7b19526cd768f6808147ba (patch) | |
tree | ae9a062f70785e4b1eaf8dfa79a22a77631fff6e | |
parent | ea13e2f9025c3058fa61fe4b643de0706d6ea15d (diff) | |
download | qtlocation-mapboxgl-a62e4f48b5b6e80adf7b19526cd768f6808147ba.tar.gz |
[build] Run apt upgrade for tsan build
-rw-r--r-- | circle.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/circle.yml b/circle.yml index cb213421d4..b052928d72 100644 --- a/circle.yml +++ b/circle.yml @@ -103,6 +103,7 @@ workflows: name: linux-tsan executor_name: ubuntu-disco target_is_linux: true + update_packages: true requires: - sanity-checks config_params: '-G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER=clang-8 -DCMAKE_CXX_COMPILER=clang++-8 -DMBGL_WITH_SANITIZER=thread' @@ -582,6 +583,9 @@ jobs: style_tests: type: boolean default: false + update_packages: + type: boolean + default: false executor: << parameters.executor_name >> steps: - checkout @@ -598,6 +602,12 @@ jobs: steps: - prepare - prepare-linux + - when: + condition: << parameters.update_packages >> + steps: + - run: + name: Run apt upgrade + command: apt update && apt upgrade -y - config: config_params: << parameters.config_params >> - build: |