Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable cache/no-cache PDC CI tests #171

Merged
merged 6 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/dependencies-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ sudo apt-get update
sudo apt-get install libopenmpi-dev libhdf5-dev

# libfabric
# git clone https://github.com/ofiwg/libfabric.git
wget https://github.com/ofiwg/libfabric/archive/refs/tags/v1.12.1.tar.gz
tar xf v1.12.1.tar.gz
cd libfabric-1.12.1
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/ubuntu-cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Ubuntu (cache)

on:
pull_request:
branches: [ stable, develop ]

workflow_dispatch:

jobs:
PDC:
runs-on: ubuntu-latest
timeout-minutes: 60

steps:
- uses: actions/checkout@v3

- name: Dependencies
run: .github/workflows/dependencies-linux.sh

- name: Build PDC
run: |
mkdir build && cd build
cmake ../ -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DPDC_SERVER_CACHE=ON -DBUILD_TESTING=ON -DPDC_ENABLE_MPI=ON -DCMAKE_C_COMPILER=mpicc
make -j2

- name: Test PDC
working-directory: build
run: ctest -L serial
28 changes: 28 additions & 0 deletions .github/workflows/ubuntu-no-cache.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Ubuntu (no-cache)

on:
pull_request:
branches: [ stable, develop ]

workflow_dispatch:

jobs:
PDC:
runs-on: ubuntu-latest
timeout-minutes: 60

steps:
- uses: actions/checkout@v3

- name: Dependencies
run: .github/workflows/dependencies-linux.sh

- name: Build PDC
run: |
mkdir build && cd build
cmake ../ -DBUILD_MPI_TESTING=ON -DBUILD_SHARED_LIBS=ON -DPDC_SERVER_CACHE=OFF -DBUILD_TESTING=ON -DPDC_ENABLE_MPI=ON -DCMAKE_C_COMPILER=mpicc
make -j2

- name: Test PDC
working-directory: build
run: ctest -L serial
Loading