From: Peter van Dijk Date: Mon, 5 Oct 2020 17:29:45 +0000 (+0200) Subject: codeql: separate build steps for auth/rec/dnsdist X-Git-Tag: auth-4.4.0-alpha2~46^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f323442e6570924fbec3ec8c3fc0f2a81e440768;p=thirdparty%2Fpdns.git codeql: separate build steps for auth/rec/dnsdist --- diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c554979205..6e281f63fc 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -58,9 +58,8 @@ jobs: # and modify them (or add more) to build your code if your project # uses a compiled language - - run: | - free -m - cat /proc/cpuinfo + - name: Install dependencies + run: | sudo apt-get --no-install-recommends install -qq -y \ bison \ default-libmysqlclient-dev \ @@ -94,12 +93,16 @@ jobs: ragel \ unixodbc-dev + - name: Build auth + run: | autoreconf -vfi ./configure --with-modules='bind geoip gmysql godbc gpgsql gsqlite3 ldap lmdb lua2 pipe random remote tinydns' --enable-tools --enable-ixfrdist --enable-dns-over-tls --enable-experimental-pkcs11 --with-libsodium --with-protobuf --enable-lua-records CFLAGS='-O0' CXXFLAGS='-O0' make -j8 -C ext make -j8 -C modules make -j8 -C pdns + - name: Build dnsdist + run: | cd pdns/dnsdistdist autoreconf -vfi ./configure --enable-unit-tests --enable-dnstap --enable-dnscrypt --enable-dns-over-tls --enable-dns-over-https LIBS=-lwslay CFLAGS='-O0' CXXFLAGS='-O0' @@ -107,7 +110,9 @@ jobs: make -j8 -C ext/yahttp make -j8 dnsdist - cd ../recursordist + - name: Build recursor + run: | + cd pdns/recursordist autoreconf -vfi ./configure --enable-unit-tests --enable-nod --enable-dnstap CFLAGS='-O0' CXXFLAGS='-O0' make -j8 -C ext