mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	ci: server: fix python installation (#6922)
This commit is contained in:
		
							
								
								
									
										16
									
								
								.github/workflows/server.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/server.yml
									
									
									
									
										vendored
									
									
								
							| @@ -58,6 +58,7 @@ jobs: | |||||||
|             git \ |             git \ | ||||||
|             cmake \ |             cmake \ | ||||||
|             python3-pip \ |             python3-pip \ | ||||||
|  |             python3-venv \ | ||||||
|             curl \ |             curl \ | ||||||
|             wget \ |             wget \ | ||||||
|             language-pack-en \ |             language-pack-en \ | ||||||
| @@ -100,16 +101,13 @@ jobs: | |||||||
|               -DLLAMA_SANITIZE_${{ matrix.sanitizer }}=ON ; |               -DLLAMA_SANITIZE_${{ matrix.sanitizer }}=ON ; | ||||||
|           cmake --build . --config ${{ matrix.build_type }} -j $(nproc) --target server |           cmake --build . --config ${{ matrix.build_type }} -j $(nproc) --target server | ||||||
|  |  | ||||||
|       - name: Python setup |       - name: Setup python env | ||||||
|         id: setup_python |         id: pipenv | ||||||
|         uses: actions/setup-python@v5 |  | ||||||
|         with: |  | ||||||
|           python-version: '3.11' |  | ||||||
|  |  | ||||||
|       - name: Tests dependencies |  | ||||||
|         id: test_dependencies |  | ||||||
|         run: | |         run: | | ||||||
|           pip install -r examples/server/tests/requirements.txt |           cd examples/server/tests | ||||||
|  |           python3 -m venv venv | ||||||
|  |           source venv/bin/activate | ||||||
|  |           pip install -r requirements.txt | ||||||
|  |  | ||||||
|       - name: Tests |       - name: Tests | ||||||
|         id: server_integration_tests |         id: server_integration_tests | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Pierrick Hymbert
					Pierrick Hymbert