ci: preinstall node+git в CUDA container (actions/checkout требует node)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -21,14 +21,19 @@ jobs:
|
||||
container:
|
||||
image: nvidia/cuda:12.4.1-cudnn-devel-ubuntu22.04
|
||||
steps:
|
||||
- name: Install build deps
|
||||
# actions/checkout requires node + git в container — preinstall their PATH
|
||||
- name: Bootstrap node + git (для actions/checkout)
|
||||
run: |
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends nodejs git ca-certificates
|
||||
|
||||
- name: Install build deps
|
||||
run: |
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get install -y --no-install-recommends \
|
||||
build-essential cmake ninja-build pkg-config git \
|
||||
libavformat-dev libavcodec-dev libavutil-dev libswscale-dev \
|
||||
ca-certificates
|
||||
build-essential cmake ninja-build pkg-config \
|
||||
libavformat-dev libavcodec-dev libavutil-dev libswscale-dev
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user