-
Notifications
You must be signed in to change notification settings - Fork 29
61 lines (59 loc) · 2.24 KB
/
end_to_end_regression.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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
run: |
git submodule update --init
export PATH=$PWD/mpich_install/bin:$PATH
# use automated script to build Darshan
export DARSHAN_INSTALL_PREFIX=$PWD/darshan_install
darshan-test/automated/build-darshan.sh
# try to format log directory to ensure this works
./darshan_install/bin/darshan-mk-log-dirs.pl
- 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