Skip to content

ci: Add quick distchecks to CI #3

ci: Add quick distchecks to CI

ci: Add quick distchecks to CI #3

Workflow file for this run

name: Distribution checks
on: [push, pull_request]
env:
APT_PACKAGES: >-
build-essential
gcc
git
liblttng-ust-dev
make
pkg-config
APT_REPOS: >-
ppa:lttng/ppa
jobs:
linux:
runs-on: '${{ matrix.os }}'
strategy:
matrix:
cc:
- gcc
- clang
fail-fast: false
steps:
- name: Install dependencies (Linux)
run: |
sudo apt-add-repository ${{ env.APT_REPOS }}
sudo apt-get update
sudo apt-get install -y ${{ env.APT_PACKAGES }}
- name: Build Check
uses: actions/checkout@v4
run: |

Check failure on line 30 in .github/workflows/distcheck.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/distcheck.yaml

Invalid workflow file

You have an error in your yaml syntax on line 30
set -x
git clone --depth 1 https://github.com/ofiwg/libfabric.git
pushd libfabric
./autogen.sh
./configure --prefix=$PWD/install CC=${{ matrix.cc }}
make -j 4; make install
popd
$PWD/install/bin/fi_info -l
./autogen.sh
./configure --with-libfabric=$PWD/libfabric/install --with-cuda=/usr/local/cuda/ CC=clang
make -j4; make check; make distcheck
- name: Upload build logs
if: failure()
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.cc }}-config.log
path: config.log