Skip to content

Merge pull request #978 from darshan-hpc/snyder/_exit-intercept #17

Merge pull request #978 from darshan-hpc/snyder/_exit-intercept

Merge pull request #978 from darshan-hpc/snyder/_exit-intercept #17

name: End-to-end Testing (regression)
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
end_to_end_regression:
strategy:
matrix:
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update -y
sudo apt-get install -y gfortran bc
- name: Install MPICH
run: |
mkdir mpich_install
export MPICH_INSTALL_PATH=$PWD/mpich_install
wget https://www.mpich.org/static/downloads/3.2.1/mpich-3.2.1.tar.gz
tar -xzvf mpich-3.2.1.tar.gz
cd mpich-3.2.1
mkdir build
cd build
FFLAGS="-w -fallow-argument-mismatch" ../configure --disable-dependency-tracking --prefix=$MPICH_INSTALL_PATH
make
make install
- name: Install darshan-runtime
run: |
mkdir darshan_install
export DARSHAN_INSTALL_PATH=$PWD/darshan_install
export PATH=$PWD/mpich_install/bin:$PATH
git submodule update --init
./prepare.sh
cd darshan-runtime
mkdir build
cd build
CC=mpicc ../configure --prefix=$DARSHAN_INSTALL_PATH --with-log-path-by-env=DARSHAN_LOGPATH --with-jobid-env=NONE
make
make install
- name: Install darshan-util
run: |
export DARSHAN_INSTALL_PATH=$PWD/darshan_install
cd darshan-util
mkdir build
cd build
../configure --prefix=$DARSHAN_INSTALL_PATH --enable-apxc-mod --enable-apmpi-mod
make
make install
- name: Run end-to-end regression tests (ld_preload)
run: |
export DARSHAN_INSTALL_PATH=$PWD/darshan_install
export PATH=$PWD/mpich_install/bin:$PATH
cd darshan-test/regression
./run-all.sh $DARSHAN_INSTALL_PATH /tmp/darshan-ld-preload workstation-ld-preload
- name: Run end-to-end regression tests (prof conf dynamic)
run: |
export DARSHAN_INSTALL_PATH=$PWD/darshan_install
export PATH=$PWD/mpich_install/bin:$PATH
cd darshan-test/regression
./run-all.sh $DARSHAN_INSTALL_PATH /tmp/darshan-prof-conf-dynamic workstation-profile-conf-dynamic
- name: Run end-to-end regression tests (prof conf static)
run: |
export DARSHAN_INSTALL_PATH=$PWD/darshan_install
export PATH=$PWD/mpich_install/bin:$PATH
cd darshan-test/regression
./run-all.sh $DARSHAN_INSTALL_PATH /tmp/darshan-prof-conf-static workstation-profile-conf-static