Skip to content

Commit a01719f

Browse files
committed
esp/ci: Fix git dubious ownership error
1 parent e5e3894 commit a01719f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ before_script:
6363
script:
6464
- *get_toolchain_build_scripts
6565
- LLVM_PROJECT_PATH=$PWD
66+
- git config --global --add safe.directory ${LLVM_PROJECT_PATH}
6667
- BUILD_PATH=$PWD/${BUILD_DIR}
6768
- mkdir -p ${BUILD_PATH}
6869
- BUILD_HOST=$(gcc -dumpmachine)
@@ -187,6 +188,8 @@ build_and_test:
187188
fi
188189
script:
189190
- BUILD_PATH=$PWD/${BUILD_DIR}
191+
- LLVM_PROJECT_PATH=$PWD
192+
- git config --global --add safe.directory ${LLVM_PROJECT_PATH}
190193
- mkdir -p ${BUILD_PATH}
191194
- cmake -G Ninja
192195
-S llvm

0 commit comments

Comments
 (0)