add ubuntu 21.10 to ci (#4446)
* add ubuntu 21.10 to ci remove ubuntu 20.10 * forgot to update dockerfile * add googletest from repos * update downloaded gtest ideally this should just grab the master version * fix hash * fix cmake issue
This commit is contained in:
parent
656e3230de
commit
7712862036
4 changed files with 7 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM ubuntu:groovy
|
||||
FROM ubuntu:impish
|
||||
|
||||
RUN apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
|
@ -17,7 +17,6 @@ RUN apt-get update && \
|
|||
libqt5svg5-dev \
|
||||
libqt5websockets5-dev \
|
||||
protobuf-compiler \
|
||||
qt5-default \
|
||||
qtmultimedia5-dev \
|
||||
qttools5-dev \
|
||||
qttools5-dev-tools \
|
4
.github/workflows/ci-builds.yml
vendored
4
.github/workflows/ci-builds.yml
vendored
|
@ -82,10 +82,10 @@ jobs:
|
|||
matrix:
|
||||
# these names correspond to the files in .ci/$distro
|
||||
include:
|
||||
- distro: UbuntuHirsute
|
||||
- distro: UbuntuImpish
|
||||
package: DEB
|
||||
|
||||
- distro: UbuntuGroovy
|
||||
- distro: UbuntuHirsute
|
||||
package: DEB
|
||||
test: skip
|
||||
|
||||
|
|
|
@ -4,12 +4,12 @@ project(gtest-download LANGUAGES NONE)
|
|||
|
||||
include(ExternalProject)
|
||||
ExternalProject_Add(googletest
|
||||
URL https://github.com/google/googletest/archive/release-1.7.0.zip
|
||||
URL_HASH SHA1=f89bc9f55477df2fde082481e2d709bfafdb057b
|
||||
URL https://github.com/google/googletest/archive/release-1.11.0.zip
|
||||
URL_HASH SHA1=9ffb7b5923f4a8fcdabf2f42c6540cce299f44c0
|
||||
SOURCE_DIR "${CMAKE_BINARY_DIR}/gtest-src"
|
||||
BINARY_DIR "${CMAKE_BINARY_DIR}/gtest-build"
|
||||
CONFIGURE_COMMAND ""
|
||||
BUILD_COMMAND ""
|
||||
INSTALL_COMMAND ""
|
||||
TEST_COMMAND ""
|
||||
)
|
||||
)
|
||||
|
|
|
@ -29,7 +29,7 @@ if(NOT GTEST_FOUND)
|
|||
# Add the gtest include directory, since gtest
|
||||
# doesn't add that dependency to its gtest target
|
||||
target_include_directories(gtest INTERFACE
|
||||
"${CMAKE_BINARY_DIR}/gtest-src/include" )
|
||||
"$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/gtest-src/include>" )
|
||||
|
||||
SET(GTEST_INCLUDE_DIRS "${CMAKE_BINARY_DIR}/gtest-src/include")
|
||||
SET(GTEST_BOTH_LIBRARIES gtest)
|
||||
|
|
Loading…
Reference in a new issue