Skip to content

Commit d6731ce

Browse files
committed
Include new CI tests with novel Darshan releases
1 parent 239f3ed commit d6731ce

File tree

2 files changed

+200
-0
lines changed

2 files changed

+200
-0
lines changed
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
name: Drishti (Darshan 3.4.1)
2+
3+
on:
4+
pull_request:
5+
push:
6+
workflow_dispatch:
7+
8+
jobs:
9+
drishti:
10+
runs-on: ubuntu-latest
11+
container: jlbez/dxt-explorer-ubuntu-20.04
12+
timeout-minutes: 60
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
submodules: true
18+
19+
- name: Dependencies
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install cmake gcc git libtool python3 python3-pip libcurl4-openssl-dev software-properties-common -y
23+
24+
# Darshan
25+
git clone https://github.com/darshan-hpc/darshan.git darshan-3.4.1
26+
cd darshan-3.4.1
27+
git checkout darshan-3.4.1
28+
29+
pip install --upgrade pip
30+
31+
- name: Build Darshan
32+
run: |
33+
export DARSHAN_DIR=/opt/darshan
34+
35+
mkdir $DARSHAN_DIR
36+
cd darshan-3.4.1
37+
bash prepare.sh
38+
cd darshan-util
39+
./configure --prefix=$DARSHAN_DIR
40+
make
41+
make install
42+
43+
- name: Install py-darshan
44+
run: |
45+
pip install darshan==3.4.1
46+
47+
- name: Install Drishti
48+
run: |
49+
pip install -r requirements.txt
50+
pip install .
51+
52+
- name: Run Drishti (--help)
53+
run: |
54+
export PATH=/opt/darshan/bin:$PATH
55+
56+
drishti -h
57+
58+
- name: Run Drishti (--issues)
59+
run: |
60+
export PATH=/opt/darshan/bin:$PATH
61+
62+
drishti --issues sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
63+
64+
- name: Run Drishti (--code)
65+
run: |
66+
export PATH=/opt/darshan/bin:$PATH
67+
68+
drishti --code sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
69+
70+
- name: Run DXT Explorer (--verbose)
71+
run: |
72+
export PATH=/opt/darshan/bin:$PATH
73+
74+
drishti --verbose sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
75+
76+
- name: Run DXT Explorer (--path)
77+
run: |
78+
export PATH=/opt/darshan/bin:$PATH
79+
80+
drishti --path sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
81+
82+
- name: Run DXT Explorer (--html)
83+
run: |
84+
export PATH=/opt/darshan/bin:$PATH
85+
86+
drishti --html sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
87+
88+
- name: Run DXT Explorer (--svg)
89+
run: |
90+
export PATH=/opt/darshan/bin:$PATH
91+
92+
drishti --svg sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
93+
94+
- name: Upload Artifact
95+
if: always()
96+
uses: actions/upload-artifact@v2
97+
with:
98+
name: tests
99+
path: sample/**
100+
retention-days: 1
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
name: Drishti (Darshan 3.4.2)
2+
3+
on:
4+
pull_request:
5+
push:
6+
workflow_dispatch:
7+
8+
jobs:
9+
drishti:
10+
runs-on: ubuntu-latest
11+
container: jlbez/dxt-explorer-ubuntu-20.04
12+
timeout-minutes: 60
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
submodules: true
18+
19+
- name: Dependencies
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install cmake gcc git libtool python3 python3-pip libcurl4-openssl-dev software-properties-common -y
23+
24+
# Darshan
25+
git clone https://github.com/darshan-hpc/darshan.git darshan-3.4.2
26+
cd darshan-3.4.2
27+
git checkout darshan-3.4.2
28+
29+
pip install --upgrade pip
30+
31+
- name: Build Darshan
32+
run: |
33+
export DARSHAN_DIR=/opt/darshan
34+
35+
mkdir $DARSHAN_DIR
36+
cd darshan-3.4.2
37+
bash prepare.sh
38+
cd darshan-util
39+
./configure --prefix=$DARSHAN_DIR
40+
make
41+
make install
42+
43+
- name: Install py-darshan
44+
run: |
45+
pip install darshan==3.4.2
46+
47+
- name: Install Drishti
48+
run: |
49+
pip install -r requirements.txt
50+
pip install .
51+
52+
- name: Run Drishti (--help)
53+
run: |
54+
export PATH=/opt/darshan/bin:$PATH
55+
56+
drishti -h
57+
58+
- name: Run Drishti (--issues)
59+
run: |
60+
export PATH=/opt/darshan/bin:$PATH
61+
62+
drishti --issues sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
63+
64+
- name: Run Drishti (--code)
65+
run: |
66+
export PATH=/opt/darshan/bin:$PATH
67+
68+
drishti --code sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
69+
70+
- name: Run DXT Explorer (--verbose)
71+
run: |
72+
export PATH=/opt/darshan/bin:$PATH
73+
74+
drishti --verbose sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
75+
76+
- name: Run DXT Explorer (--path)
77+
run: |
78+
export PATH=/opt/darshan/bin:$PATH
79+
80+
drishti --path sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
81+
82+
- name: Run DXT Explorer (--html)
83+
run: |
84+
export PATH=/opt/darshan/bin:$PATH
85+
86+
drishti --html sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
87+
88+
- name: Run DXT Explorer (--svg)
89+
run: |
90+
export PATH=/opt/darshan/bin:$PATH
91+
92+
drishti --svg sample/jlbez_8a_benchmark_write_parallel_id1321662_8-21-5892-15802854900629188750_106.darshan
93+
94+
- name: Upload Artifact
95+
if: always()
96+
uses: actions/upload-artifact@v2
97+
with:
98+
name: tests
99+
path: sample/**
100+
retention-days: 1

0 commit comments

Comments
 (0)