From e57fe17becf834172449948be87b2abdd83b1f71 Mon Sep 17 00:00:00 2001 From: Felipe Gasper Date: Tue, 15 Mar 2022 20:47:47 -0400 Subject: [PATCH] Add GitHub CI to run test suite. --- .github/workflows/testsuite.yml | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/testsuite.yml 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 -- 2.47.3