-
Notifications
You must be signed in to change notification settings - Fork 60
59 lines (50 loc) · 1.32 KB
/
Copy pathlinux-build.yml
File metadata and controls
59 lines (50 loc) · 1.32 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Linux Build
on:
push:
branches:
- ci/**
- main
- dev
- release-0.3
pull_request:
branches:
- main
- dev
- release-0.3
workflow_dispatch:
jobs:
build:
name: Linux ${{ matrix.backend }}
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
include:
- backend: cpu
enable_vulkan: "OFF"
- backend: vulkan
enable_vulkan: "ON"
env:
CC: gcc-13
CXX: g++-13
BUILD_DIR: build/ci-linux-${{ matrix.backend }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check loader/catalog sync
run: |
python3 tools/check_loader_catalog_sync.py --self-test
python3 tools/check_loader_catalog_sync.py
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y gcc-13 g++-13 cmake make glslc libvulkan-dev spirv-headers
- name: Configure
run: |
cmake -S . -B "$BUILD_DIR" \
-DCMAKE_BUILD_TYPE=Debug \
-DENGINE_ENABLE_CUDA=OFF \
-DENGINE_ENABLE_VULKAN=${{ matrix.enable_vulkan }}
- name: Build
run: |
cmake --build "$BUILD_DIR" --parallel "$(nproc)" --target audiocpp_cli audiocpp_server audiocpp_gguf