|
20 | 20 | # Build with zig cc so we can target glibc 2.17, so we have broader compatibility |
21 | 21 | jobs: |
22 | 22 | linux: |
23 | | - runs-on: ubuntu-latest |
| 23 | + strategy: |
| 24 | + fail-fast: false |
| 25 | + matrix: |
| 26 | + runner: [ ubuntu-22.04, ubuntu-22.04-arm ] |
| 27 | + include: |
| 28 | + - runner: ubuntu-22.04 |
| 29 | + arch: x86_64 |
| 30 | + - runner: ubuntu-22.04-arm |
| 31 | + arch: arm64 |
| 32 | + |
| 33 | + runs-on: ${{ matrix.runner }} |
24 | 34 | outputs: |
25 | 35 | version: ${{ steps.build.outputs.version }} |
26 | 36 | env: |
@@ -79,18 +89,18 @@ jobs: |
79 | 89 |
|
80 | 90 | - uses: actions/upload-artifact@v6 |
81 | 91 | with: |
82 | | - name: appimage |
| 92 | + name: nvim-appimage-${{ matrix.arch }} |
83 | 93 | path: | |
84 | | - build/bin/nvim-linux-x86_64.appimage |
85 | | - build/bin/nvim-linux-x86_64.appimage.zsync |
| 94 | + build/bin/nvim-linux-${{ matrix.arch }}.appimage |
| 95 | + build/bin/nvim-linux-${{ matrix.arch }}.appimage.zsync |
86 | 96 | retention-days: 1 |
87 | 97 |
|
88 | 98 | - uses: actions/upload-artifact@v6 |
89 | 99 | with: |
90 | | - name: nvim-linux64 |
| 100 | + name: nvim-linux-${{ matrix.arch }} |
91 | 101 | path: | |
92 | | - build/nvim-linux-x86_64.tar.gz |
93 | | - build/nvim-linux-x86_64.deb |
| 102 | + build/nvim-linux-${{ matrix.arch }}.tar.gz |
| 103 | + build/nvim-linux-${{ matrix.arch }}.deb |
94 | 104 | retention-days: 1 |
95 | 105 |
|
96 | 106 | - name: Export version |
@@ -152,12 +162,12 @@ jobs: |
152 | 162 | --notes-file "$RUNNER_TEMP/notes.md" \ |
153 | 163 | --title "$SUBJECT" \ |
154 | 164 | --target $GITHUB_SHA \ |
155 | | - nvim-linux64/* appimage/* |
| 165 | + nvim-linux-x86_64/* nvim-linux-arm64/* nvim-appimage-x86_64/* nvim-appimage-arm64/* |
156 | 166 | fi |
157 | 167 |
|
158 | 168 | gh release delete $TAG_NAME --yes || true |
159 | 169 | gh release create $TAG_NAME $PRERELEASE \ |
160 | 170 | --notes-file "$RUNNER_TEMP/notes.md" \ |
161 | 171 | --title "$SUBJECT" \ |
162 | 172 | --target $GITHUB_SHA \ |
163 | | - nvim-linux64/* appimage/* |
| 173 | + nvim-linux-x86_64/* nvim-linux-arm64/* nvim-appimage-x86_64/* nvim-appimage-arm64/* |
0 commit comments