Update cmake.yml

This commit is contained in:
James Ravenscroft 2023-04-10 10:03:04 +01:00 committed by GitHub
parent c3410de791
commit 0386ceb38e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,4 +29,13 @@ jobs:
cd ${{github.workspace}}/ggml
cmake -B ${{github.workspace}}/ggml/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -D CMAKE_EXE_LINKER_FLAGS="-static"
cd ${{github.workspace}}/ggml/build
make codegen
make codegen codegen-serve
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3.1.2
with:
# Artifact name
name: codegen-serve-amd64-linux # optional, default is artifact
# A file, directory or wildcard pattern that describes what to upload
path: ${{github.workspace}}/ggml/build/bin/codegen-serve
# The desired behavior if no files are found using the provided path.