Skip to content

Commit

Permalink
Add action to build ggml for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ua741 committed Oct 25, 2023
1 parent 8f34872 commit d946748
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: C++ Build

on:
push: {}

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [windows-latest]

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive

- name: actions-setup-cmake
uses: jwlawson/actions-setup-cmake@v1.14.1
with:
cmake-version: '3.22.x'

- name: Build C++ program
run: |
cd ggml/src/
mkdir -p build
cd build
cmake ..
cmake --build . # Use CMake to build the project
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: ggml-${{ matrix.os }}
path: ggml/src//build/ggml*

0 comments on commit d946748

Please sign in to comment.