From: Sadie Powell Date: Fri, 7 May 2021 18:52:31 +0000 (+0100) Subject: Switch from the Ubuntu 16.04 image to the 18.04 Ubuntu image. X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=d848034590bc402277da975b7efdbc78ce1722fc;p=user%2Fhenk%2Fcode%2Finspircd.git Switch from the Ubuntu 16.04 image to the 18.04 Ubuntu image. The Argon2 PPA is broken again and I don't want to deal with the stress of working out why. The 16.04 image is EOL soon (see actions/virtual-environments/#1084) so switching off it is just easier. --- diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml index a622bbc0a..9d3365e53 100644 --- a/.github/workflows/ci-linux.yml +++ b/.github/workflows/ci-linux.yml @@ -4,7 +4,7 @@ on: - push jobs: build: - runs-on: ubuntu-16.04 + runs-on: ubuntu-18.04 env: CXXFLAGS: -std=${{ matrix.standard }} TEST_BUILD_MODULES: argon2 geo_maxmind ldap mysql pgsql regex_pcre regex_posix regex_re2 regex_stdlib regex_tre sqlite3 ssl_gnutls ssl_mbedtls ssl_openssl sslrehashsignal @@ -14,7 +14,7 @@ jobs: run: | sudo apt-get update --assume-yes sudo apt-get install --assume-yes --no-install-recommends clang g++ git make libc++-dev libc++abi-dev pkg-config - sudo apt-get install --assume-yes --no-install-recommends libargon2-dev libgnutls28-dev libldap2-dev libmaxminddb-dev libmbedtls-dev libmysqlclient-dev libpcre3-dev libpq-dev libre2-dev libsqlite3-dev libssl-dev libtre-dev + sudo apt-get install --assume-yes --no-install-recommends libargon2-0-dev libgnutls28-dev libldap2-dev libmaxminddb-dev libmbedtls-dev libmysqlclient-dev libpcre3-dev libpq-dev libre2-dev libsqlite3-dev libssl-dev libtre-dev - name: Run test-build run: ./tools/test-build ${{ matrix.compiler }} strategy: diff --git a/src/modules/extra/m_regex_re2.cpp b/src/modules/extra/m_regex_re2.cpp index 35414baf1..e3e793d6d 100644 --- a/src/modules/extra/m_regex_re2.cpp +++ b/src/modules/extra/m_regex_re2.cpp @@ -17,7 +17,7 @@ * along with this program. If not, see . */ -/// $CompilerFlags: find_compiler_flags("re2" "") +/// $CompilerFlags: find_compiler_flags("re2" "-std=c++11") /// $LinkerFlags: find_linker_flags("re2" "-lre2") /// $PackageInfo: require_system("arch") pkgconf re2