Skip to content

Commit 1bc9e80

Browse files
committed
update CI
1 parent dd6a162 commit 1bc9e80

File tree

3 files changed

+30
-15
lines changed

3 files changed

+30
-15
lines changed

.github/workflows/dependencies-linux.sh

-1
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
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
name: linux
1+
name: Ubuntu (cache)
22

33
on:
4-
# push:
5-
# branches: [ stable ]
64
pull_request:
75
branches: [ stable, develop ]
86

9-
# Allows to run this workflow manually from the Actions tab
107
workflow_dispatch:
118

129
jobs:
@@ -21,20 +18,11 @@ jobs:
2118
run: .github/workflows/dependencies-linux.sh
2219

2320
- name: Build PDC
24-
# working-directory: ./src
2521
run: |
2622
mkdir build && cd build
27-
cmake ../ -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DPDC_ENABLE_MPI=ON -DCMAKE_C_COMPILER=mpicc
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
2824
make -j2
2925
30-
# - name: Debug test PDC
31-
# working-directory: ./src/build/bin
32-
# run: |
33-
# mpirun -n 1 ./pdc_server.exe &
34-
# sleep 1
35-
# mpirun -n 1 ./pdc_init
36-
# mpirun -n 1 ./close_server
37-
3826
- name: Test PDC
3927
working-directory: build
4028
run: ctest -L serial
+28
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)