Skip to content

Commit

Permalink
ci : fix arm upload artifacts (#12024)
Browse files Browse the repository at this point in the history
* ci : fix arm upload artifacts

* cont : fix archive name to use matrix
  • Loading branch information
ggerganov authored Feb 22, 2025
1 parent 5fa07c2 commit f3e6485
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,12 @@ jobs:
ubuntu-cpu-cmake:
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-22.04-arm]
include:
- build: 'x64'
os: ubuntu-22.04
- build: 'arm64'
os: ubuntu-22.04-arm

runs-on: ${{ matrix.os }}

steps:
Expand Down Expand Up @@ -242,14 +247,14 @@ jobs:
run: |
cp LICENSE ./build/bin/
cp examples/run/linenoise.cpp/LICENSE ./build/bin/LICENSE.linenoise.cpp
zip -r llama-${{ steps.tag.outputs.name }}-bin-ubuntu-x64.zip ./build/bin/*
zip -r llama-${{ steps.tag.outputs.name }}-bin-ubuntu-${{ matrix.build }}.zip ./build/bin/*
- name: Upload artifacts
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
uses: actions/upload-artifact@v4
with:
path: llama-${{ steps.tag.outputs.name }}-bin-ubuntu-x64.zip
name: llama-bin-ubuntu-x64.zip
path: llama-${{ steps.tag.outputs.name }}-bin-ubuntu-${{ matrix.build }}.zip
name: llama-bin-ubuntu-${{ matrix.build }}.zip

ubuntu-latest-cmake-sanitizer:
runs-on: ubuntu-latest
Expand Down

0 comments on commit f3e6485

Please sign in to comment.