mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	release : pack /lib and /include in the packages
This commit is contained in:
		
							
								
								
									
										8
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -88,7 +88,7 @@ jobs: | |||||||
|         run: | |         run: | | ||||||
|           cp LICENSE ./build/bin/ |           cp LICENSE ./build/bin/ | ||||||
|           cp examples/run/linenoise.cpp/LICENSE ./build/bin/LICENSE.linenoise.cpp |           cp examples/run/linenoise.cpp/LICENSE ./build/bin/LICENSE.linenoise.cpp | ||||||
|           zip -r llama-${{ steps.tag.outputs.name }}-bin-macos-arm64.zip ./build/bin/* |           zip -r llama-${{ steps.tag.outputs.name }}-bin-macos-arm64.zip ./build/bin/* ./build/lib/* ./build/include/* | ||||||
|  |  | ||||||
|       - name: Upload artifacts |       - name: Upload artifacts | ||||||
|         if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} |         if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} | ||||||
| @@ -151,7 +151,7 @@ jobs: | |||||||
|         run: | |         run: | | ||||||
|           cp LICENSE ./build/bin/ |           cp LICENSE ./build/bin/ | ||||||
|           cp examples/run/linenoise.cpp/LICENSE ./build/bin/LICENSE.linenoise.cpp |           cp examples/run/linenoise.cpp/LICENSE ./build/bin/LICENSE.linenoise.cpp | ||||||
|           zip -r llama-${{ steps.tag.outputs.name }}-bin-macos-x64.zip ./build/bin/* |           zip -r llama-${{ steps.tag.outputs.name }}-bin-macos-x64.zip ./build/bin/* ./build/lib/* ./build/include/* | ||||||
|  |  | ||||||
|       - name: Upload artifacts |       - name: Upload artifacts | ||||||
|         if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} |         if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} | ||||||
| @@ -220,7 +220,7 @@ jobs: | |||||||
|         run: | |         run: | | ||||||
|           cp LICENSE ./build/bin/ |           cp LICENSE ./build/bin/ | ||||||
|           cp examples/run/linenoise.cpp/LICENSE ./build/bin/LICENSE.linenoise.cpp |           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-x64.zip ./build/bin/* ./build/lib/* ./build/include/* | ||||||
|  |  | ||||||
|       - name: Upload artifacts |       - name: Upload artifacts | ||||||
|         if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} |         if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} | ||||||
| @@ -1026,7 +1026,7 @@ jobs: | |||||||
|           cp "${{ env.ONEAPI_ROOT }}/tbb/latest/bin/tbb12.dll" ./build/bin |           cp "${{ env.ONEAPI_ROOT }}/tbb/latest/bin/tbb12.dll" ./build/bin | ||||||
|  |  | ||||||
|           echo "cp oneAPI running time dll files to ./build/bin done" |           echo "cp oneAPI running time dll files to ./build/bin done" | ||||||
|           7z a llama-${{ steps.tag.outputs.name }}-bin-win-sycl-x64.zip ./build/bin/* |           7z a llama-${{ steps.tag.outputs.name }}-bin-win-sycl-x64.zip ./build/bin/* ./build/lib/* ./build/include/* | ||||||
|  |  | ||||||
|       - name: Upload the release package |       - name: Upload the release package | ||||||
|         if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} |         if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Georgi Gerganov
					Georgi Gerganov