aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f6a2dd6..b6e21b4 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -104,6 +104,40 @@ jobs:
cd build
ctest --verbose --timeout 900
+ ubuntu-latest-cmake-mpi:
+ runs-on: ubuntu-latest
+
+ continue-on-error: true
+
+ strategy:
+ matrix:
+ mpi_library: [mpich, libopenmpi-dev]
+
+ steps:
+ - name: Clone
+ id: checkout
+ uses: actions/checkout@v1
+
+ - name: Dependencies
+ id: depends
+ run: |
+ sudo apt-get update
+ sudo apt-get install build-essential ${{ matrix.mpi_library }}
+
+ - name: Build
+ id: cmake_build
+ run: |
+ mkdir build
+ cd build
+ cmake -DLLAMA_MPI=ON ..
+ cmake --build . --config Release
+
+ - name: Test
+ id: cmake_test
+ run: |
+ cd build
+ ctest --verbose
+
macOS-latest-make:
runs-on: macos-latest