File tree Expand file tree Collapse file tree 1 file changed +30
-1
lines changed
Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change 1212 strategy :
1313 fail-fast : false
1414 matrix :
15- arch : [linux/amd64, linux/arm64, linux/arm/v7, linux/ ppc64le]
15+ arch : [linux/amd64, linux/ppc64le]
1616
1717 steps :
1818 - name : Clone
3232 cmake -B build
3333 cmake --build build --config Release -j $(nproc)'
3434
35+ ubuntu-latest-arm :
36+ runs-on : ubuntu-latest
37+
38+ strategy :
39+ fail-fast : false
40+ matrix :
41+ arch : [linux/arm64, linux/arm/v7]
42+ arm_arch_flag :
43+ linux/arm64 : armv8-a
44+ linux/arm/v7 : armv7-a
45+
46+ steps :
47+ - name : Clone
48+ uses : actions/checkout@v4
49+
50+ - name : Set up QEMU
51+ uses : docker/setup-qemu-action@v3
52+
53+ - name : Build ${{ matrix.arch }}
54+ run : |
55+ docker run --platform ${{ matrix.arch }} --rm \
56+ -v ${{ github.workspace }}:/workspace \
57+ -w /workspace ${{ env.ubuntu_image }} /bin/sh -c '
58+ set -e
59+ apt update
60+ apt install -y build-essential libsdl2-dev cmake
61+ cmake -B build -DGGML_NATIVE=OFF -DGGML_CPU_ARM_ARCH=${{ matrix.arm_arch_flag }}
62+ cmake --build build --config Release -j $(nproc)'
63+
3564 macOS-latest :
3665 runs-on : macOS-latest
3766
You can’t perform that action at this time.
0 commit comments