-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (34 loc) · 934 Bytes
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
name: Build quantize binary
permissions:
contents: read
on:
push:
branches:
- main
tags:
- "v*"
pull_request:
branches:
- main
workflow_dispatch:
jobs:
macos-build:
name: "Build quantize on macOS ARM64 (M1)"
runs-on: "macos-14"
steps:
- uses: "actions/checkout@v4"
with:
submodules: true
- name: system info
run: sysctl -a
- name: make build/quantize from llama.cpp sources
env:
CMAKE_ARGS: "-DLLAMA_FATAL_WARNINGS=ON -DLLAMA_METAL_EMBED_LIBRARY=ON"
run: make build/quantize
- name: file info
run: file build/quantize
- uses: actions/upload-artifact@v4
with:
name: "quantize-macos"
path: build/quantize