forked from ggerganov/llama.cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci : update checkout, setup-python and upload-artifact to latest (gge…
…rganov#6456) * CI: Update actions/checkout to v4 * CI: Update actions/setup-python to v5 * CI: Update actions/upload-artifact to v4
- Loading branch information
Showing
10 changed files
with
48 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ jobs: | |
steps: | ||
- name: Clone | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Dependencies | ||
id: depends | ||
|
@@ -76,7 +76,7 @@ jobs: | |
- name: Upload artifacts | ||
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: | | ||
llama-${{ steps.tag.outputs.name }}-bin-macos-arm64.zip | ||
|
@@ -87,7 +87,7 @@ jobs: | |
steps: | ||
- name: Clone | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Dependencies | ||
id: depends | ||
|
@@ -132,7 +132,7 @@ jobs: | |
- name: Upload artifacts | ||
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: | | ||
llama-${{ steps.tag.outputs.name }}-bin-macos-x64.zip | ||
|
@@ -146,7 +146,7 @@ jobs: | |
steps: | ||
- name: Clone | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Dependencies | ||
id: depends | ||
|
@@ -158,7 +158,7 @@ jobs: | |
with: | ||
node-version: "20" | ||
|
||
- uses: actions/setup-python@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.11" | ||
|
||
|
@@ -181,7 +181,7 @@ jobs: | |
steps: | ||
- name: Clone | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Dependencies | ||
id: depends | ||
|
@@ -203,7 +203,7 @@ jobs: | |
steps: | ||
- name: Clone | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Dependencies | ||
id: depends | ||
|
@@ -249,7 +249,7 @@ jobs: | |
# steps: | ||
# - name: Clone | ||
# id: checkout | ||
# uses: actions/checkout@v3 | ||
# uses: actions/checkout@v4 | ||
# | ||
# - name: Dependencies | ||
# id: depends | ||
|
@@ -283,7 +283,7 @@ jobs: | |
steps: | ||
- name: Clone | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Dependencies | ||
id: depends | ||
|
@@ -311,7 +311,7 @@ jobs: | |
steps: | ||
- name: Clone | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Dependencies | ||
id: depends | ||
|
@@ -357,7 +357,7 @@ jobs: | |
- name: Clone | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build | ||
id: cmake_build | ||
|
@@ -398,7 +398,7 @@ jobs: | |
- name: Clone | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build | ||
id: cmake_build | ||
|
@@ -418,7 +418,7 @@ jobs: | |
steps: | ||
- name: Clone | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Dependencies | ||
id: depends | ||
|
@@ -449,7 +449,7 @@ jobs: | |
steps: | ||
- name: Clone | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Dependencies | ||
id: depends | ||
|
@@ -593,7 +593,7 @@ jobs: | |
steps: | ||
- name: Clone | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -723,7 +723,7 @@ jobs: | |
- name: Upload artifacts | ||
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: | | ||
llama-${{ steps.tag.outputs.name }}-bin-win-${{ matrix.build }}-x64.zip | ||
|
@@ -739,7 +739,7 @@ jobs: | |
steps: | ||
- name: Clone | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -779,7 +779,7 @@ jobs: | |
- name: Upload artifacts | ||
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: | | ||
llama-${{ steps.tag.outputs.name }}-bin-win-${{ matrix.build }}-cu${{ matrix.cuda }}-x64.zip | ||
|
@@ -793,7 +793,7 @@ jobs: | |
- name: Upload Cuda runtime | ||
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: | | ||
cudart-llama-bin-win-cu${{ matrix.cuda }}-x64.zip | ||
|
@@ -812,7 +812,7 @@ jobs: | |
steps: | ||
- name: Clone | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -844,7 +844,7 @@ jobs: | |
- name: Upload artifacts | ||
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }} | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
path: | | ||
llama-${{ steps.tag.outputs.name }}-bin-win-sycl-x64.zip | ||
|
@@ -854,7 +854,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build Xcode project | ||
run: xcodebuild -project examples/llama.swiftui/llama.swiftui.xcodeproj -scheme llama.swiftui -sdk iphoneos CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= -destination 'generic/platform=iOS' build | ||
|
@@ -864,7 +864,7 @@ jobs: | |
|
||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
|
@@ -887,7 +887,7 @@ jobs: | |
# runs-on: macos-12 | ||
# steps: | ||
# - name: Clone | ||
# uses: actions/checkout@v3 | ||
# uses: actions/checkout@v4 | ||
# | ||
# - name: Build | ||
# uses: cross-platform-actions/[email protected] | ||
|
@@ -918,7 +918,7 @@ jobs: | |
steps: | ||
- name: Clone | ||
id: checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -937,7 +937,7 @@ jobs: | |
- name: Download artifacts | ||
id: download-artifact | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4 | ||
|
||
- name: Create release | ||
id: create_release | ||
|
@@ -978,7 +978,7 @@ jobs: | |
# | ||
# steps: | ||
# - name: Clone | ||
# uses: actions/checkout@v3 | ||
# uses: actions/checkout@v4 | ||
# | ||
# - name: Dependencies | ||
# run: | | ||
|
@@ -1002,7 +1002,7 @@ jobs: | |
# | ||
# steps: | ||
# - name: Clone | ||
# uses: actions/checkout@v3 | ||
# uses: actions/checkout@v4 | ||
# | ||
# - name: Dependencies | ||
# run: | | ||
|
@@ -1026,7 +1026,7 @@ jobs: | |
# | ||
# steps: | ||
# - name: Clone | ||
# uses: actions/checkout@v3 | ||
# uses: actions/checkout@v4 | ||
# | ||
# - name: Dependencies | ||
# run: | | ||
|
@@ -1056,7 +1056,7 @@ jobs: | |
# | ||
# steps: | ||
# - name: Clone | ||
# uses: actions/checkout@v3 | ||
# uses: actions/checkout@v4 | ||
# | ||
# - name: Add msbuild to PATH | ||
# uses: microsoft/setup-msbuild@v1 | ||
|
@@ -1072,7 +1072,7 @@ jobs: | |
# msbuild ALL_BUILD.vcxproj -t:build -p:configuration=${{ matrix.build }} -p:platform=${{ matrix.arch }} | ||
# | ||
# - name: Upload binaries | ||
# uses: actions/upload-artifact@v1 | ||
# uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: llama-bin-${{ matrix.arch }} | ||
# path: build/bin/${{ matrix.build }} | ||
|
@@ -1095,7 +1095,7 @@ jobs: | |
# | ||
# steps: | ||
# - name: Clone | ||
# uses: actions/checkout@v3 | ||
# uses: actions/checkout@v4 | ||
# | ||
# - name: Add msbuild to PATH | ||
# uses: microsoft/setup-msbuild@v1 | ||
|
@@ -1127,7 +1127,7 @@ jobs: | |
# | ||
# - name: Upload binaries | ||
# if: matrix.blas == 'ON' | ||
# uses: actions/upload-artifact@v1 | ||
# uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: llama-blas-bin-${{ matrix.arch }} | ||
# path: build/bin/${{ matrix.build }} | ||
|
@@ -1141,7 +1141,7 @@ jobs: | |
# | ||
# steps: | ||
# - name: Clone | ||
# uses: actions/checkout@v3 | ||
# uses: actions/checkout@v4 | ||
# | ||
# - name: Dependencies | ||
# run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.