Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 01c1b81

Browse files
ggerganovmglambda
authored andcommitted
ci : fix arm upload artifacts (ggml-org#12024)
* ci : fix arm upload artifacts * cont : fix archive name to use matrix
1 parent 70ad760 commit 01c1b81

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,12 @@ jobs:
175175
ubuntu-cpu-cmake:
176176
strategy:
177177
matrix:
178-
os: [ubuntu-22.04, ubuntu-22.04-arm]
178+
include:
179+
- build: 'x64'
180+
os: ubuntu-22.04
181+
- build: 'arm64'
182+
os: ubuntu-22.04-arm
183+
179184
runs-on: ${{ matrix.os }}
180185

181186
steps:
@@ -242,14 +247,14 @@ jobs:
242247
run: |
243248
cp LICENSE ./build/bin/
244249
cp examples/run/linenoise.cpp/LICENSE ./build/bin/LICENSE.linenoise.cpp
245-
zip -r llama-${{ steps.tag.outputs.name }}-bin-ubuntu-x64.zip ./build/bin/*
250+
zip -r llama-${{ steps.tag.outputs.name }}-bin-ubuntu-${{ matrix.build }}.zip ./build/bin/*
246251
247252
- name: Upload artifacts
248253
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
249254
uses: actions/upload-artifact@v4
250255
with:
251-
path: llama-${{ steps.tag.outputs.name }}-bin-ubuntu-x64.zip
252-
name: llama-bin-ubuntu-x64.zip
256+
path: llama-${{ steps.tag.outputs.name }}-bin-ubuntu-${{ matrix.build }}.zip
257+
name: llama-bin-ubuntu-${{ matrix.build }}.zip
253258

254259
ubuntu-latest-cmake-sanitizer:
255260
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)