Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 7 additions & 28 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ jobs:
- name: Package
shell: bash
run: |
mkdir -p nitro && mkdir -p nitro/config
cp config.json nitro/config/
mkdir -p nitro
cp build/nitro nitro/
zip -r nitro.zip nitro

Expand Down Expand Up @@ -116,8 +115,7 @@ jobs:
- name: Package
shell: bash
run: |
mkdir -p nitro && mkdir -p nitro/config
cp config.json nitro/config/
mkdir -p nitro
cp build/nitro nitro/
zip -r nitro.zip nitro

Expand Down Expand Up @@ -163,9 +161,8 @@ jobs:
- name: Package
shell: bash
run: |
mkdir -p nitro && mkdir -p nitro/config
cp config.json nitro/config/
cp llama.cpp/ggml-metal.h nitro/
mkdir -p nitro
cp llama.cpp/ggml-metal.metal nitro/
cp build/nitro nitro/
zip -r nitro.zip nitro

Expand Down Expand Up @@ -210,8 +207,7 @@ jobs:
- name: Package
shell: bash
run: |
mkdir -p nitro && mkdir -p nitro/config
cp config.json nitro/config/
mkdir -p nitro
cp build/nitro nitro/
zip -r nitro.zip nitro

Expand Down Expand Up @@ -269,7 +265,7 @@ jobs:
run: |
cmake -S ./nitro_deps -B ./build_deps/nitro_deps
cmake --build ./build_deps/nitro_deps --config Release
mkdir build
mkdir -p build
cd build
cmake ..
cmake --build . --config Release -j 4
Expand All @@ -280,8 +276,6 @@ jobs:
$dst='.\build\Release'
robocopy build_deps\_install\bin\zlib.dll $dst
robocopy build\bin\Release\llama.dll $dst
mkdir -p .\build\Release\config
robocopy config.json .\build\Release\config
7z a nitro.zip .\build\Release\*

- uses: actions/upload-release-asset@v1.0.1
Expand Down Expand Up @@ -327,7 +321,7 @@ jobs:
run: |
cmake -S ./nitro_deps -B ./build_deps/nitro_deps
cmake --build ./build_deps/nitro_deps --config Release
mkdir build
mkdir -p build
cd build
cmake .. -DLLAMA_NATIVE=OFF -DLLAMA_BUILD_SERVER=ON -DLLAMA_CUBLAS=ON -DBUILD_SHARED_LIBS=ON
cmake --build . --config Release -j 4
Expand All @@ -341,8 +335,6 @@ jobs:
$dst='.\build\Release'
robocopy build_deps\_install\bin\zlib.dll $dst
robocopy build\bin\Release\llama.dll $dst
mkdir -p .\build\Release\config
robocopy config.json .\build\Release\config
7z a nitro.zip .\build\Release\*

- uses: actions/upload-release-asset@v1.0.1
Expand All @@ -358,23 +350,10 @@ jobs:
update_release_draft:
needs: [ubuntu-amd64-build, ubuntu-amd64-cuda-build, macOS-M-build, macOS-Intel-build, windows-amd64-build, windows-amd64-cuda-build]
permissions:
# write permission is required to create a github release
contents: write
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
runs-on: ubuntu-latest
steps:
# (Optional) GitHub Enterprise requires GHE_HOST variable set
#- name: Set GHE_HOST
# run: |
# echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV

# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
# with:
# config-name: my-config.yml
# disable-autolabeler: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}