-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 917 Bytes
/
build.yml
File metadata and controls
37 lines (31 loc) · 917 Bytes
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
name: Build
on:
pull_request:
branches: ["**"]
jobs:
build:
name: Build (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Checkout repository (with submodules)
uses: actions/checkout@v4
with:
submodules: recursive
- name: Configure (CMake – CPU only, Release)
run: |
cmake -S . -B build \
-DCMAKE_BUILD_TYPE=Release \
-DLTX_CUDA=OFF \
-DLTX_VULKAN=OFF \
-DLTX_METAL=OFF \
-DLTX_HIP=OFF
- name: Build
run: cmake --build build --config Release --parallel
- name: Verify binaries exist
run: |
test -f build/ltx-generate || test -f build/Release/ltx-generate
test -f build/ltx-quantize || test -f build/Release/ltx-quantize