From 8eb46eee38e5b3063a8b3fa03b9632bbb93ebe71 Mon Sep 17 00:00:00 2001 From: Brice Goglin Date: Mon, 27 Nov 2023 18:28:12 +0100 Subject: [PATCH] .github/workflows: add a quick draft of make distcheck Signed-off-by: Brice Goglin --- .github/workflows/buildcheck.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/buildcheck.yaml diff --git a/.github/workflows/buildcheck.yaml b/.github/workflows/buildcheck.yaml new file mode 100644 index 0000000000..8446ad21b3 --- /dev/null +++ b/.github/workflows/buildcheck.yaml @@ -0,0 +1,23 @@ +name: Build checks + +on: [push, pull_request] + +jobs: + build-tarball: + runs-on: ubuntu-20.04 + steps: + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y --no-install-recommends libltdl-dev libcairo2-dev libx11-dev libxml2-dev libxml2-utils libncurses5-dev libxnvctrl-dev libpciaccess-dev libudev-dev pkg-config ocl-icd-opencl-dev autoconf automake libtool doxygen-latex transfig + - uses: actions/checkout@v2 + - name: Build hwloc + run: | + ./autogen.sh + ./configure --prefix=${PWD}/install + make distcheck + - name: Archive tarballs + uses: actions/upload-artifact@v3 + with: + name: tarball + path: hwloc-*.tar.{bz2gz}