From: Felipe Gasper Date: Wed, 16 Mar 2022 00:47:47 +0000 (-0400) Subject: Add GitHub CI to run test suite. X-Git-Tag: 1.8.2-rc.1~22^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F158%2Fhead;p=thirdparty%2Fldns.git Add GitHub CI to run test suite. --- diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml new file mode 100644 index 00000000..69594e9a --- /dev/null +++ b/.github/workflows/testsuite.yml @@ -0,0 +1,39 @@ +on: + push: + branches: + - '*' + tags-ignore: + - '*' + pull_request: + +jobs: + linux: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + - run: libtoolize -ci + - run: autoreconf -fi + - run: ./configure + - run: make test + + mac: + runs-on: macos-latest + + steps: + - run: brew install automake libtool + - uses: actions/checkout@v3 + with: + submodules: recursive + - run: glibtoolize -ci + - run: autoreconf -fi + + # macOS’s system OpenSSL (LibreSSL, actually) isn’t meant for linking, + # and Homebrew’s# OpenSSL isn’t CI-friendly. So build without OpenSSL. + - run: ./configure --without-ssl --disable-sha2 --disable-gost --disable-ecdsa --disable-dane + + # As of now the test suite requires OpenSSL, so no tests. + # cf. https://github.com/NLnetLabs/ldns/issues/162 + - run: make