Skip to content

Commit 63244f5

Browse files
committed
Enable cache/no-cache PDC CI tests (#171)
CI with cache and no-cache versions of PDC
1 parent e0024e3 commit 63244f5

File tree

4 files changed

+275
-62
lines changed

4 files changed

+275
-62
lines changed

.github/workflows/dependencies-linux.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ sudo apt-get update
66
sudo apt-get install libopenmpi-dev libhdf5-dev
77

88
# libfabric
9-
# git clone https://github.com/ofiwg/libfabric.git
109
wget https://github.com/ofiwg/libfabric/archive/refs/tags/v1.12.1.tar.gz
1110
tar xf v1.12.1.tar.gz
1211
cd libfabric-1.12.1

.github/workflows/ubuntu-cache.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Ubuntu (cache)
2+
3+
on:
4+
pull_request:
5+
branches: [ stable, develop ]
6+
7+
workflow_dispatch:
8+
9+
jobs:
10+
PDC:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 60
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
17+
- name: Dependencies
18+
run: .github/workflows/dependencies-linux.sh
19+
20+
- name: Build PDC
21+
run: |
22+
mkdir build && cd build
23+
cmake ../ -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DPDC_SERVER_CACHE=ON -DBUILD_TESTING=ON -DPDC_ENABLE_MPI=ON -DCMAKE_C_COMPILER=mpicc
24+
make -j2
25+
26+
- name: Test PDC
27+
working-directory: build
28+
run: ctest -L serial
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Ubuntu (no-cache)
2+
3+
on:
4+
pull_request:
5+
branches: [ stable, develop ]
6+
7+
workflow_dispatch:
8+
9+
jobs:
10+
PDC:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 60
13+
14+
steps:
15+
- uses: actions/checkout@v3
16+
17+
- name: Dependencies
18+
run: .github/workflows/dependencies-linux.sh
19+
20+
- name: Build PDC
21+
run: |
22+
mkdir build && cd build
23+
cmake ../ -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DPDC_SERVER_CACHE=OFF -DBUILD_TESTING=ON -DPDC_ENABLE_MPI=ON -DCMAKE_C_COMPILER=mpicc
24+
make -j2
25+
26+
- name: Test PDC
27+
working-directory: build
28+
run: ctest -L serial

0 commit comments

Comments
 (0)