@@ -71,13 +71,13 @@ jobs:
71
71
72
72
- name : Pack artifacts
73
73
id : pack_artifacts
74
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event. inputs.create_release == 'true' }}
74
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || inputs.create_release == 'true' }}
75
75
run : |
76
76
cp LICENSE ./build/bin/
77
77
zip -r llama-${{ steps.tag.outputs.name }}-bin-macos-arm64.zip ./build/bin/*
78
78
79
79
- name : Upload artifacts
80
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event. inputs.create_release == 'true' }}
80
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || inputs.create_release == 'true' }}
81
81
uses : actions/upload-artifact@v4
82
82
with :
83
83
path : llama-${{ steps.tag.outputs.name }}-bin-macos-arm64.zip
@@ -131,13 +131,13 @@ jobs:
131
131
132
132
- name : Pack artifacts
133
133
id : pack_artifacts
134
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event. inputs.create_release == 'true' }}
134
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || inputs.create_release == 'true' }}
135
135
run : |
136
136
cp LICENSE ./build/bin/
137
137
zip -r llama-${{ steps.tag.outputs.name }}-bin-macos-x64.zip ./build/bin/*
138
138
139
139
- name : Upload artifacts
140
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event. inputs.create_release == 'true' }}
140
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || inputs.create_release == 'true' }}
141
141
uses : actions/upload-artifact@v4
142
142
with :
143
143
path : llama-${{ steps.tag.outputs.name }}-bin-macos-x64.zip
@@ -259,13 +259,13 @@ jobs:
259
259
260
260
- name : Pack artifacts
261
261
id : pack_artifacts
262
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event. inputs.create_release == 'true' }}
262
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || inputs.create_release == 'true' }}
263
263
run : |
264
264
cp LICENSE ./build/bin/
265
265
zip -r llama-${{ steps.tag.outputs.name }}-bin-ubuntu-x64.zip ./build/bin/*
266
266
267
267
- name : Upload artifacts
268
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event. inputs.create_release == 'true' }}
268
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || inputs.create_release == 'true' }}
269
269
uses : actions/upload-artifact@v4
270
270
with :
271
271
path : llama-${{ steps.tag.outputs.name }}-bin-ubuntu-x64.zip
@@ -808,13 +808,13 @@ jobs:
808
808
809
809
- name : Pack artifacts
810
810
id : pack_artifacts
811
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event. inputs.create_release == 'true' }}
811
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || inputs.create_release == 'true' }}
812
812
run : |
813
813
Copy-Item LICENSE .\build\bin\Release\llama.cpp.txt
814
814
7z a llama-${{ steps.tag.outputs.name }}-bin-win-${{ matrix.build }}-x64.zip .\build\bin\Release\*
815
815
816
816
- name : Upload artifacts
817
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event. inputs.create_release == 'true' }}
817
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || inputs.create_release == 'true' }}
818
818
uses : actions/upload-artifact@v4
819
819
with :
820
820
path : llama-${{ steps.tag.outputs.name }}-bin-win-${{ matrix.build }}-x64.zip
@@ -865,12 +865,12 @@ jobs:
865
865
866
866
- name : Pack artifacts
867
867
id : pack_artifacts
868
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event. inputs.create_release == 'true' }}
868
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || inputs.create_release == 'true' }}
869
869
run : |
870
870
7z a llama-${{ steps.tag.outputs.name }}-bin-win-${{ matrix.build }}-cu${{ matrix.cuda }}-x64.zip .\build\bin\Release\*
871
871
872
872
- name : Upload artifacts
873
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event. inputs.create_release == 'true' }}
873
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || inputs.create_release == 'true' }}
874
874
uses : actions/upload-artifact@v4
875
875
with :
876
876
path : llama-${{ steps.tag.outputs.name }}-bin-win-${{ matrix.build }}-cu${{ matrix.cuda }}-x64.zip
@@ -884,7 +884,7 @@ jobs:
884
884
7z a cudart-llama-bin-win-cu${{ matrix.cuda }}-x64.zip $dst\*
885
885
886
886
- name : Upload Cuda runtime
887
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event. inputs.create_release == 'true' }}
887
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || inputs.create_release == 'true' }}
888
888
uses : actions/upload-artifact@v4
889
889
with :
890
890
path : cudart-llama-bin-win-cu${{ matrix.cuda }}-x64.zip
@@ -930,12 +930,12 @@ jobs:
930
930
931
931
- name : Pack artifacts
932
932
id : pack_artifacts
933
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event. inputs.create_release == 'true' }}
933
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || inputs.create_release == 'true' }}
934
934
run : |
935
935
7z a llama-${{ steps.tag.outputs.name }}-bin-win-sycl-x64.zip ./build/bin/*
936
936
937
937
- name : Upload artifacts
938
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event. inputs.create_release == 'true' }}
938
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || inputs.create_release == 'true' }}
939
939
uses : actions/upload-artifact@v4
940
940
with :
941
941
path : llama-${{ steps.tag.outputs.name }}-bin-win-sycl-x64.zip
@@ -993,7 +993,7 @@ jobs:
993
993
# gmake CC=/usr/local/bin/clang15 CXX=/usr/local/bin/clang++15 -j `sysctl -n hw.ncpu`
994
994
995
995
release :
996
- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event. inputs.create_release == 'true' }}
996
+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || inputs.create_release == 'true' }}
997
997
998
998
runs-on : ubuntu-latest
999
999
0 commit comments