Add Linux static CUDA toolkit engine build profile

This commit is contained in:
Pavlo Ratushnyi
2026-10-04 06:51:41 +02:00
parent 84f61f7263
commit a36e45ac78
9 changed files with 238 additions and 2 deletions
+20
View File
@@ -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