forked from open-mpi/hwloc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.github/workflows: add a quick draft of make distcheck
Signed-off-by: Brice Goglin <[email protected]>
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 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} |