Skip to content

Commit 4165293

Browse files
authored
Attempt to fix weird git error by installing deps before clone
1 parent 22ed602 commit 4165293

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -859,19 +859,20 @@ jobs:
859859
name: ubuntu-22-cuda (${{ matrix.cuda.version }} cap ${{ matrix.cuda.cap }}, e.g. ${{ matrix.cuda.example }})
860860

861861
steps:
862+
- name: Dependencies
863+
id: depends
864+
env:
865+
DEBIAN_FRONTEND: noninteractive
866+
run: |
867+
apt-get update
868+
apt install -y cmake build-essential ninja-build libcurl4-openssl-dev libgomp1 git
869+
862870
- name: Clone
863871
id: checkout
864872
uses: actions/checkout@v4
865873
with:
866874
fetch-depth: 0
867875

868-
- name: Install dependencies
869-
env:
870-
DEBIAN_FRONTEND: noninteractive
871-
run: |
872-
apt update
873-
apt install -y cmake build-essential ninja-build libcurl4-openssl-dev libgomp1 git
874-
875876
- name: Build with CMake
876877
run: |
877878
cmake -S . -B build -G Ninja \

0 commit comments

Comments
 (0)