File tree 3 files changed +30
-15
lines changed
3 files changed +30
-15
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ sudo apt-get update
6
6
sudo apt-get install libopenmpi-dev libhdf5-dev
7
7
8
8
# libfabric
9
- # git clone https://github.com/ofiwg/libfabric.git
10
9
wget https://github.com/ofiwg/libfabric/archive/refs/tags/v1.12.1.tar.gz
11
10
tar xf v1.12.1.tar.gz
12
11
cd libfabric-1.12.1
Original file line number Diff line number Diff line change 1
- name : linux
1
+ name : Ubuntu (cache)
2
2
3
3
on :
4
- # push:
5
- # branches: [ stable ]
6
4
pull_request :
7
5
branches : [ stable, develop ]
8
6
9
- # Allows to run this workflow manually from the Actions tab
10
7
workflow_dispatch :
11
8
12
9
jobs :
@@ -21,20 +18,11 @@ jobs:
21
18
run : .github/workflows/dependencies-linux.sh
22
19
23
20
- name : Build PDC
24
- # working-directory: ./src
25
21
run : |
26
22
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
28
24
make -j2
29
25
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
-
38
26
- name : Test PDC
39
27
working-directory : build
40
28
run : ctest -L serial
Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments