diff --git a/buildspec-release.yml b/buildspec-release.yml index 2eaa009..59647f4 100644 --- a/buildspec-release.yml +++ b/buildspec-release.yml @@ -4,10 +4,14 @@ phases: pre_build: commands: - apt-get update - - apt-get -y install libcurl4-openssl-dev g++-9 + - apt install software-properties-common + - add-apt-repository ppa:ubuntu-toolchain-r/test + - apt-get -y install libcurl4-openssl-dev g++-9 gcc-9 + + # Confirm GCC install went through because it fails silently sometimes + - echo $(ls /usr/bin/) - python3.8 -m pip install cpplint - start-dockerd - build: commands: # prepare the release (update versions, changelog etc.) diff --git a/buildspec.yml b/buildspec.yml index 8ab41cf..2bf4821 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -4,9 +4,15 @@ phases: pre_build: commands: - apt-get update - - apt-get -y install libcurl4-openssl-dev g++-9 + - apt install software-properties-common + - add-apt-repository ppa:ubuntu-toolchain-r/test + - apt-get -y install libcurl4-openssl-dev g++-9 gcc-9 + + # Confirm GCC install went through because it fails silently sometimes + - echo $(ls /usr/bin/) - python3.8 -m pip install cpplint - start-dockerd + build: commands: - tox -e flake8