aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorSIGSEGV <21287366+akr2002@users.noreply.github.com>2023-07-11 00:36:02 +0530
committerGitHub <noreply@github.com>2023-07-11 00:36:02 +0530
commitc1f29d1bb1d9f3084c9dc177fe9bf9269b9e35af (patch)
tree2caac8240545f2639f3efa3a4d13c24dfd5b92f6 /.github/workflows/build.yml
parent26a3a9952636e8e5332e1cdc4f552d32e61b12ce (diff)
parent5656d10599bd756dc0f17284e418e704200b43f3 (diff)
Merge branch 'ggerganov:master' into master
Diffstat (limited to '.github/workflows/build.yml')
-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