Add Linux static CUDA toolkit engine build profile
This commit is contained in:
@@ -11,6 +11,10 @@ on:
|
||||
description: Run synthetic Keyless CUDA tests on the private GPU runner
|
||||
type: boolean
|
||||
default: false
|
||||
static_cuda_package:
|
||||
description: Build and audit static CUDA toolkit linkage on the private Linux runner (no inference)
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -35,6 +39,22 @@ jobs:
|
||||
- name: Query-routing, streaming and snapshot GPU tests
|
||||
run: scripts/check-keyless-gpu.sh
|
||||
|
||||
static-cuda-package:
|
||||
if: github.event_name == 'workflow_dispatch' && inputs.static_cuda_package
|
||||
needs: verify
|
||||
runs-on: [self-hosted, linux, x64, strata-gpu]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build and audit engine without GPU inference
|
||||
env:
|
||||
CUDA_VISIBLE_DEVICES: ''
|
||||
BUILD_JOBS: '2'
|
||||
STRATA_BUILD_DIR: ${{ runner.temp }}/strata-static-cuda-${{ github.run_id }}
|
||||
run: nice -n 10 scripts/build-static-cuda.sh
|
||||
- name: Remove private build intermediates
|
||||
if: always()
|
||||
run: rm -rf -- "${RUNNER_TEMP}/strata-static-cuda-${GITHUB_RUN_ID}"
|
||||
|
||||
linux-static-cli:
|
||||
needs: verify
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
Reference in New Issue
Block a user