Skip to content

Commit f0204a0

Browse files
authored
ci: build test musa with cmake (#10298)
Signed-off-by: Xiaodong Ye <[email protected]>
1 parent 57f8355 commit f0204a0

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/build.yml

+21
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,27 @@ jobs:
414414
cmake -B build2 -S . -DCMAKE_C_COMPILER=hipcc -DCMAKE_CXX_COMPILER=hipcc -DGGML_HIP=ON
415415
cmake --build build2 --config Release -j $(nproc)
416416
417+
ubuntu-22-cmake-musa:
418+
runs-on: ubuntu-22.04
419+
container: mthreads/musa:rc3.1.0-devel-ubuntu22.04
420+
421+
steps:
422+
- name: Clone
423+
id: checkout
424+
uses: actions/checkout@v4
425+
426+
- name: Dependencies
427+
id: depends
428+
run: |
429+
apt-get update
430+
apt-get install -y build-essential git cmake libcurl4-openssl-dev
431+
432+
- name: Build with native CMake MUSA support
433+
id: cmake_build
434+
run: |
435+
cmake -B build -S . -DGGML_MUSA=ON
436+
cmake --build build --config Release -j $(nproc)
437+
417438
ubuntu-22-cmake-sycl:
418439
runs-on: ubuntu-22.04
419440

0 commit comments

Comments
 (0)