mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-26 14:20:31 +01:00
ci : disable server-windows workflow
This commit is contained in:
parent
10ceba354a
commit
4bb03cade0
113
.github/workflows/server.yml
vendored
113
.github/workflows/server.yml
vendored
@ -113,59 +113,60 @@ jobs:
|
|||||||
cd examples/server/tests
|
cd examples/server/tests
|
||||||
PORT=8888 ./tests.sh --stop --no-skipped --no-capture --tags slow
|
PORT=8888 ./tests.sh --stop --no-skipped --no-capture --tags slow
|
||||||
|
|
||||||
|
# note : stopped working on windows for some reason
|
||||||
server-windows:
|
# https://github.com/ggerganov/llama.cpp/actions/runs/9375600457/job/25813996327#step:8:96
|
||||||
runs-on: windows-latest
|
# server-windows:
|
||||||
|
# runs-on: windows-latest
|
||||||
steps:
|
#
|
||||||
- name: Clone
|
# steps:
|
||||||
id: checkout
|
# - name: Clone
|
||||||
uses: actions/checkout@v4
|
# id: checkout
|
||||||
with:
|
# uses: actions/checkout@v4
|
||||||
fetch-depth: 0
|
# with:
|
||||||
ref: ${{ github.event.inputs.sha || github.event.pull_request.head.sha || github.sha || github.head_ref || github.ref_name }}
|
# fetch-depth: 0
|
||||||
|
# ref: ${{ github.event.inputs.sha || github.event.pull_request.head.sha || github.sha || github.head_ref || github.ref_name }}
|
||||||
- name: libCURL
|
#
|
||||||
id: get_libcurl
|
# - name: libCURL
|
||||||
env:
|
# id: get_libcurl
|
||||||
CURL_VERSION: 8.6.0_6
|
# env:
|
||||||
run: |
|
# CURL_VERSION: 8.6.0_6
|
||||||
curl.exe -o $env:RUNNER_TEMP/curl.zip -L "https://curl.se/windows/dl-${env:CURL_VERSION}/curl-${env:CURL_VERSION}-win64-mingw.zip"
|
# run: |
|
||||||
mkdir $env:RUNNER_TEMP/libcurl
|
# curl.exe -o $env:RUNNER_TEMP/curl.zip -L "https://curl.se/windows/dl-${env:CURL_VERSION}/curl-${env:CURL_VERSION}-win64-mingw.zip"
|
||||||
tar.exe -xvf $env:RUNNER_TEMP/curl.zip --strip-components=1 -C $env:RUNNER_TEMP/libcurl
|
# mkdir $env:RUNNER_TEMP/libcurl
|
||||||
|
# tar.exe -xvf $env:RUNNER_TEMP/curl.zip --strip-components=1 -C $env:RUNNER_TEMP/libcurl
|
||||||
- name: Build
|
#
|
||||||
id: cmake_build
|
# - name: Build
|
||||||
run: |
|
# id: cmake_build
|
||||||
cmake -B build -DLLAMA_CURL=ON -DCURL_LIBRARY="$env:RUNNER_TEMP/libcurl/lib/libcurl.dll.a" -DCURL_INCLUDE_DIR="$env:RUNNER_TEMP/libcurl/include"
|
# run: |
|
||||||
cmake --build build --config Release -j ${env:NUMBER_OF_PROCESSORS} --target server
|
# cmake -B build -DLLAMA_CURL=ON -DCURL_LIBRARY="$env:RUNNER_TEMP/libcurl/lib/libcurl.dll.a" -DCURL_INCLUDE_DIR="$env:RUNNER_TEMP/libcurl/include"
|
||||||
|
# cmake --build build --config Release -j ${env:NUMBER_OF_PROCESSORS} --target server
|
||||||
- name: Python setup
|
#
|
||||||
id: setup_python
|
# - name: Python setup
|
||||||
uses: actions/setup-python@v5
|
# id: setup_python
|
||||||
with:
|
# uses: actions/setup-python@v5
|
||||||
python-version: '3.11'
|
# with:
|
||||||
|
# python-version: '3.11'
|
||||||
- name: Tests dependencies
|
#
|
||||||
id: test_dependencies
|
# - name: Tests dependencies
|
||||||
run: |
|
# id: test_dependencies
|
||||||
pip install -r examples/server/tests/requirements.txt
|
# run: |
|
||||||
|
# pip install -r examples/server/tests/requirements.txt
|
||||||
- name: Copy Libcurl
|
#
|
||||||
id: prepare_libcurl
|
# - name: Copy Libcurl
|
||||||
run: |
|
# id: prepare_libcurl
|
||||||
cp $env:RUNNER_TEMP/libcurl/bin/libcurl-x64.dll ./build/bin/Release/libcurl-x64.dll
|
# run: |
|
||||||
|
# cp $env:RUNNER_TEMP/libcurl/bin/libcurl-x64.dll ./build/bin/Release/libcurl-x64.dll
|
||||||
- name: Tests
|
#
|
||||||
id: server_integration_tests
|
# - name: Tests
|
||||||
if: ${{ !matrix.disabled_on_pr || !github.event.pull_request }}
|
# id: server_integration_tests
|
||||||
run: |
|
# if: ${{ !matrix.disabled_on_pr || !github.event.pull_request }}
|
||||||
cd examples/server/tests
|
# run: |
|
||||||
behave.exe --summary --stop --no-capture --exclude 'issues|wrong_usages|passkey' --tags llama.cpp
|
# cd examples/server/tests
|
||||||
|
# behave.exe --summary --stop --no-capture --exclude 'issues|wrong_usages|passkey' --tags llama.cpp
|
||||||
- name: Slow tests
|
#
|
||||||
id: server_integration_tests_slow
|
# - name: Slow tests
|
||||||
if: ${{ (github.event.schedule || github.event.inputs.slow_tests == 'true') && matrix.build_type == 'Release' }}
|
# id: server_integration_tests_slow
|
||||||
run: |
|
# if: ${{ (github.event.schedule || github.event.inputs.slow_tests == 'true') && matrix.build_type == 'Release' }}
|
||||||
cd examples/server/tests
|
# run: |
|
||||||
behave.exe --stop --no-skipped --no-capture --tags slow
|
# cd examples/server/tests
|
||||||
|
# behave.exe --stop --no-skipped --no-capture --tags slow
|
||||||
|
Loading…
Reference in New Issue
Block a user