|
12 | 12 | strategy: |
13 | 13 | fail-fast: false |
14 | 14 | matrix: |
15 | | - arch: [linux/amd64, linux/arm64, linux/arm/v7, linux/ppc64le] |
| 15 | + arch: [linux/amd64, linux/ppc64le] |
16 | 16 |
|
17 | 17 | steps: |
18 | 18 | - name: Clone |
|
32 | 32 | cmake -B build |
33 | 33 | cmake --build build --config Release -j $(nproc)' |
34 | 34 |
|
| 35 | + ubuntu-latest-arm64: |
| 36 | + runs-on: ubuntu-latest-arm64 |
| 37 | + |
| 38 | + strategy: |
| 39 | + fail-fast: false |
| 40 | + matrix: |
| 41 | + arch: [linux/arm64, linux/arm/v7] |
| 42 | + |
| 43 | + steps: |
| 44 | + - name: Clone |
| 45 | + uses: actions/checkout@v4 |
| 46 | + |
| 47 | + - name: Set up QEMU |
| 48 | + uses: docker/setup-qemu-action@v3 |
| 49 | + |
| 50 | + - name: Build ${{ matrix.arch }} |
| 51 | + run: | |
| 52 | + docker run --platform ${{ matrix.arch }} --rm \ |
| 53 | + -v ${{ github.workspace }}:/workspace \ |
| 54 | + -w /workspace ${{ env.ubuntu_image }} /bin/sh -c ' |
| 55 | + set -e |
| 56 | + apt update |
| 57 | + apt install -y build-essential libsdl2-dev cmake |
| 58 | + cmake -B build -DGGML_NATIVE=OFF -DGGML_CPU_ARM_ARCH=armv8-a |
| 59 | + cmake --build build --config Release -j $(nproc)' |
| 60 | +
|
| 61 | + ubuntu-latest-arm-v7: |
| 62 | + runs-on: ubuntu-latest-arm-v7 |
| 63 | + |
| 64 | + strategy: |
| 65 | + fail-fast: false |
| 66 | + matrix: |
| 67 | + arch: [linux/arm64, linux/arm/v7] |
| 68 | + |
| 69 | + steps: |
| 70 | + - name: Clone |
| 71 | + uses: actions/checkout@v4 |
| 72 | + |
| 73 | + - name: Set up QEMU |
| 74 | + uses: docker/setup-qemu-action@v3 |
| 75 | + |
| 76 | + - name: Build ${{ matrix.arch }} |
| 77 | + run: | |
| 78 | + docker run --platform ${{ matrix.arch }} --rm \ |
| 79 | + -v ${{ github.workspace }}:/workspace \ |
| 80 | + -w /workspace ${{ env.ubuntu_image }} /bin/sh -c ' |
| 81 | + set -e |
| 82 | + apt update |
| 83 | + apt install -y build-essential libsdl2-dev cmake |
| 84 | + cmake -B build -DGGML_NATIVE=OFF -DGGML_CPU_ARM_ARCH=armv7-a |
| 85 | + cmake --build build --config Release -j $(nproc)' |
| 86 | +
|
35 | 87 | macOS-latest: |
36 | 88 | runs-on: macOS-latest |
37 | 89 |
|
|
0 commit comments