ci/vkd3d: fetch only the desired commit
Standardize with the way most repos in CI are cloned. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39670>
This commit is contained in:
parent
3a923461d0
commit
0b03492957
1 changed files with 5 additions and 2 deletions
|
|
@ -24,9 +24,12 @@ if [ ! -d "$VKD3D_PROTON_WINE_DIR" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git clone https://github.com/HansKristian-Work/vkd3d-proton.git --single-branch -b master --no-checkout "$VKD3D_PROTON_SRC_DIR"
|
mkdir -p "$VKD3D_PROTON_SRC_DIR"
|
||||||
pushd "$VKD3D_PROTON_SRC_DIR"
|
pushd "$VKD3D_PROTON_SRC_DIR"
|
||||||
git checkout "$VKD3D_PROTON_COMMIT"
|
git init
|
||||||
|
git remote add origin https://github.com/HansKristian-Work/vkd3d-proton.git
|
||||||
|
git fetch --depth 1 origin "$VKD3D_PROTON_COMMIT"
|
||||||
|
git checkout FETCH_HEAD
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
meson setup \
|
meson setup \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue