Skip to content

Commit

Permalink
CI for Metal backend on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
PABannier committed Oct 23, 2023
1 parent d90feda commit 70d95f8
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,30 @@ jobs:
cd build
cmake ..
cmake --build . --config Release
macOS-latest-metal:
runs-on: macos-13

steps:
- name: Clone
id: checkout
uses: actions/checkout@v4
with:
submodules: true

- name: Dependencies
id: depends
continue-on-error: true
run: |
brew update
-name: Create build environment
run: mkdir build

- name: Configure CMake
working_directory: ./build
run: cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DGGML_METAL=ON ..

- name: Build
working_directory: ./build
run: cmake --build . --config Release

0 comments on commit 70d95f8

Please sign in to comment.