From 7d27819bad55a3fa5ad449d838eb22f5dfa53287 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..ebeb51c8ae --- /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 | opencl-dev, opencl-headers, 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.{bz2,gz}