Skip to content

Commit

Permalink
.github/workflows: add a quick draft of make distcheck
Browse files Browse the repository at this point in the history
Signed-off-by: Brice Goglin <[email protected]>
  • Loading branch information
bgoglin committed Nov 27, 2023
1 parent cfd3a3c commit 7d27819
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/buildcheck.yaml
Original file line number Diff line number Diff line change
@@ -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}

0 comments on commit 7d27819

Please sign in to comment.