Attempt to fix weird git error by installing deps before clone

This commit is contained in:
Olivier Chafik 2025-01-20 18:03:30 +00:00 committed by GitHub
parent 22ed6028af
commit 4165293c38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -859,19 +859,20 @@ jobs:
name: ubuntu-22-cuda (${{ matrix.cuda.version }} cap ${{ matrix.cuda.cap }}, e.g. ${{ matrix.cuda.example }})
steps:
- name: Dependencies
id: depends
env:
DEBIAN_FRONTEND: noninteractive
run: |
apt-get update
apt install -y cmake build-essential ninja-build libcurl4-openssl-dev libgomp1 git
- name: Clone
id: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
env:
DEBIAN_FRONTEND: noninteractive
run: |
apt update
apt install -y cmake build-essential ninja-build libcurl4-openssl-dev libgomp1 git
- name: Build with CMake
run: |
cmake -S . -B build -G Ninja \