aboutsummaryrefslogtreecommitdiff
path: root/ci
AgeCommit message (Collapse)AuthorFilesLines
2024-05-24Update GoogleTest CI Docker image to use Clang 19, GCC 14, and CMake 3.29.3Derek Mauro1-1/+1
PiperOrigin-RevId: 636977286 Change-Id: Id9e09398a991c74c2137672948a1eb7dd2d96596
2024-01-25Add support for Bzlmod for the next releaseDerek Mauro3-2/+7
https://bazel.build/external/overview#bzlmod Bzlmod will be the default in a future Bazel release. By default it requires projects to be registered with the Bazel Central Registry (https://registry.bazel.build/) and thus uses regular releases by default. Users that want to "live-at-head" can still do this through with overrides (https://bazel.build/external/module#overrides). This change updates GoogleTest dependencies to use released versions. CI uses Bzlmod except in the case of linux_gcc-floor, which will keep testing the old WORKSPACE-based dependency system. PiperOrigin-RevId: 601489729 Change-Id: I6be52034eba0d0e5fe12110e5e82879305cf73ff
2024-01-09Update CI builds to use Bazel 7.0.0Derek Mauro3-7/+5
--features=external_include_paths has been removed from Windows builds since it appears cause build command errors currently PiperOrigin-RevId: 597020418 Change-Id: Ie37be0d05f3a154ab0d3c3f7d39b4e2c0ed650a3
2023-08-21CI: Update the Linux hybrid-latest docker container used for testingDerek Mauro1-1/+1
The following are the major updates * LLVM 17 branch (https://github.com/llvm/llvm-project b744f4c99cf91155c74a3c92db6f1335232ff3d) * GCC 13.2 * CMake 3.27.1 * Bazel 6.2.1 PiperOrigin-RevId: 558818264 Change-Id: Ib08d8331e2a8b2d68a702670451beaaac5d266f4
2023-03-28Remove the Win64 arch from the CMake Generator sinceDerek Mauro1-5/+5
this can't be used with MSVC 2022 We also have to use Python 3.4 since that is what the base image has, however, I will create a new image soon that has a modern version of Python. PiperOrigin-RevId: 520010732 Change-Id: Icf2420fd97d2bbc310382a17793045b6e16d62bb
2023-03-27Migrate CI builds to MSVC 2022Derek Mauro1-9/+11
PiperOrigin-RevId: 519792199 Change-Id: Ic821b264bf1aef5e03f22fb0e288dd9d56fd536b
2023-03-07Add -Wundef to the CI scripts when building with BazelTom Hughes2-0/+4
The CMake build already adds -Wundef for gcc/clang. This change makes sure that the gcc/clang Bazel builds also compile correctly with -Wundef (#3267). PiperOrigin-RevId: 514864451 Change-Id: I7798a4a4c68d037e23625db24ee29df454367734
2023-02-22Update googletest's test docker containersDino Radakovic1-2/+2
PiperOrigin-RevId: 511500508 Change-Id: Ib686f93d317b95ac9b9bcb0a5566500316ba1929
2023-02-02Fix compiler flags in Linux presubmitTom Hughes1-1/+1
CXX_FLAGS should be CXXFLAGS and the quoting was wrong. As a result, "-Werror -Wdeprecated" was not being applied. https://cmake.org/cmake/help/latest/envvar/CXXFLAGS.html PiperOrigin-RevId: 506656655 Change-Id: Ic5e861be3b9c32257eb9aabb845c931f3cba7122
2022-10-17Add Windows CI scriptDino Radakovic1-0/+56
PiperOrigin-RevId: 481680362 Change-Id: I87b2b71427a8ad2603f5445d6ef794c3fa84746e
2022-09-13Rollback 4fa8cfe3f4dee8975ee02d98633a5245ab67c6d7Derek Mauro2-0/+2
Breaks the intended C++ version on some CI builds PiperOrigin-RevId: 474022587 Change-Id: I41a58893802c90864e0f2cc3d15e6c169c59146d
2022-08-19bazel: move -std=c++14 to .bazelrcKeith Smiley2-2/+0
Bazel defaults to -std=c++11 on macOS which gtest doesn't support.
2022-08-12Add --features=external_include_paths to Bazel CI to ignore warningsDerek Mauro2-0/+4
from dependencies PiperOrigin-RevId: 467244441 Change-Id: Iefa65474d8c62e7c4c942957dc8e275715076e5f
2022-07-01Remove the Bazel provided default cxxopt -std=c++0x and replace itDerek Mauro1-0/+1
with -std=c++14 when testing with GCC 5. PiperOrigin-RevId: 458502826 Change-Id: I83637a222b5c0a54e55d93ce7fdbc878af27b250
2022-06-30Remove support for C++11Derek Mauro2-4/+5
v1.12.x is the last branch to support C++11 Future releases will require at least C++14 PiperOrigin-RevId: 458250106 Change-Id: Ibee2248649ff3c13daaa179135887848bf730f3f
2022-06-21Update GCC floor container used by CI to fix the Bazel cache errorDerek Mauro1-1/+2
PiperOrigin-RevId: 456323043 Change-Id: I86e3d52b72b51c2d4e96f536daa7f84a52c598f5
2022-04-25Merge pull request #3797 from glandium:issue3514Copybara-Service1-0/+3
PiperOrigin-RevId: 444444700 Change-Id: I8ac5cc96cc6eb9d583fa7e3fb304ef3dcaa95b5b
2022-02-17Update GCC/Clang Linux tests to use Bazel 5.0.0Derek Mauro1-1/+1
PiperOrigin-RevId: 429400664 Change-Id: I6454cf52cb2fc616a96663823de997591b63dfae
2022-01-14Update test Docker image to GCC 11.2, Clang 14 (prerelease),Derek Mauro1-1/+1
CMake 3.22.1, and Bazel 4.2.2 PiperOrigin-RevId: 421814198 Change-Id: Ief4e39d7f077089f10afdc8d63cc1e51dc18e97f
2021-10-13Googletest exportAbseil Team1-2/+2
Use newer Docker images in CI The new floor image contains GCC 5.5.0, like the old one. PiperOrigin-RevId: 402402465
2021-06-02Googletest exportdmauro1-1/+3
Updates Linux docker image to use Bazel 4.1.0 and GCC 11.1 Updates Bazel dependencies Removes the last usage of the deprecated and removed Python2 PiperOrigin-RevId: 375759184
2021-04-09Googletest exportAbseil Team2-8/+12
Generalize root directory in CI scripts PiperOrigin-RevId: 367628939
2021-03-09Googletest exportAbseil Team2-0/+193
Add CI test scripts PiperOrigin-RevId: 360931988
2021-02-05Googletest exportdmauro8-330/+0
Disable Travis CI. The migration to travis-ci.com is incompatible with security policy. These tests are now run on Kokoro. PiperOrigin-RevId: 355438343
2021-01-13Googletest exportdmauro2-7/+0
Remove platformio tests. This currently uses gcc 4.8.2 which is no longer supported. PiperOrigin-RevId: 351667999
2020-12-02Googletest exportdmauro3-17/+6
Fix the TravisCI build by updating the required tools PiperOrigin-RevId: 344882646
2020-05-28Googletest exportdmauro3-4/+3
Update Travis CI to use Ubuntu Bionic in some cases PiperOrigin-RevId: 313639562
2020-05-01Merge pull request #2797 from Jyun-Neng:masterGennadiy Rozental1-15/+0
PiperOrigin-RevId: 307604377
2020-04-05Remove duplicate codes existed in get-nprocessors.shJi Jyun-Neng1-15/+0
2020-03-28Fix a typo in .travis.ymlArthur O'Dwyer1-5/+5
The old code was trying to pass -Wgnu-zero-variadic-macro-arguments as part of CXXFLAGS, but it forgot the quotation marks needed around whitespace. This meant that option was ignored: https://travis-ci.org/github/google/googletest/jobs/666534177#L760 Unfortunately, the codebase is not remotely clean with respect to that warning option. It fails like this: https://travis-ci.org/github/Quuxplusone/googletest/jobs/668118135 So, remove that failing configuration from the test matrix until someone has time to look at it.
2019-09-29Googletest exportmisterg1-1/+1
fix OSS Travis Builds -remove hardcoded updated package from brew PiperOrigin-RevId: 271863378
2019-08-16Googletest exportmisterg1-0/+1
Stop depending on the abseil master PiperOrigin-RevId: 263789087
2019-06-18Googletest exportmisterg1-4/+1
Move Googletest OSS bazel builds to latest bazel. The latest bazel ( 0.27.0 as of now ) does not run on trusty. PiperOrigin-RevId: 253829774
2019-06-17Fixing CI break by going to bazel 0.26.1Gennadiy Civil1-1/+4
2019-06-13Finish removing autotoolsGennadiy Civil1-44/+0
2019-02-12Googletest exportmisterg11-0/+407
Internal Change PiperOrigin-RevId: 233614147
2019-02-12Googletest exportAbseil Team11-407/+0
Internal change PiperOrigin-RevId: 232362580
2019-02-04Test out changes with clang/OSX each PR using Travis CIEnji Cooper2-2/+9
This will help ensure that test coverage isn't missed when changes that can impact OSX with clang are submitted. Although not perfect, testing changes on OSX with clang is an ok proxy [for now] for testing changes on FreeBSD with clang (testing on FreeBSD is non-trivial, as Travis CI doesn't support operating systems other than Linux and OSX). In order to support this, install the packages via homebrew using a `addons::homebrew::packages` block (similar to `addons::apt::packages` for Ubuntu), as documented in the Travis CI docs ( https://docs.travis-ci.com/user/installing-dependencies/ ). While here, try pushing apt* calls into the Travis config for Ubuntu, instead of delaying the equivalent calls in the `ci/*.sh` scripts. Keep the `ci/*.sh` scripts for ease of testing locally (and extend the OSX one to install gcc 4.9 and llvm 3.9, like the travis config does). In order to accomodate this change (and because the homebrew package for llvm@3.9 doesn't automatically add clang*-3.9 to `$PATH`), `$PATH` needs to be adjusted to find the llvm@3.9 toolchain. Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
2018-12-04feat: Add initial support for PlatformIO and ArduinoChris Johnson2-0/+7
2018-10-11fix typoRyan Yee1-1/+2
2018-09-25Revert "Add clang format check to one of the builds"Gennadiy Civil1-33/+0
2018-09-25typoGennadiy Civil1-0/+0
2018-09-25Add clang format check to one of the builds to provide indication that ↵Gennadiy Civil1-0/+33
formatting is incorrect
2018-08-29Changing clang tp 3.9 as 3.7 no longer works on TravisGennadiy Civil3-3/+3
2018-05-01Add no-exception and no-rtti to build matrixScott Graham1-0/+8
2018-01-31Merges and also adding new bazel build modeGennadiy Civil1-0/+1
2017-12-24Build both googletest and googlemock.Carlos O'Ryan1-2/+0
2017-12-24Create a autotools-based build for Travis.Carlos O'Ryan3-0/+96
When this build works, we know the autoconf support is working.
2017-12-08Implement bazel-based builds in Travis.Carlos O'Ryan7-0/+289
This refactored test build scripts to enable bazel-build scripts in Travis.