mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-12 06:08:30 +09:00
[CI] keep OpenRA fixture out of LFS
This commit is contained in:
@@ -1,2 +1,4 @@
|
|||||||
tools/trace_replay/fixtures/*.tgz filter=lfs diff=lfs merge=lfs -text
|
tools/trace_replay/fixtures/*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
tools/trace_replay/fixtures/*.png filter=lfs diff=lfs merge=lfs -text
|
tools/trace_replay/fixtures/*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
tools/trace_replay/fixtures/openra.tgz -filter -diff -merge -text
|
||||||
|
tools/trace_replay/fixtures/openra.0000031249.png -filter -diff -merge -text
|
||||||
|
|||||||
@@ -88,6 +88,18 @@ case "${case_name}" in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
include="$(IFS=,; echo "${files[*]}")"
|
include="$(IFS=,; echo "${files[*]}")"
|
||||||
|
if [ "${case_name}" = "OpenRA" ]; then
|
||||||
|
echo "Fixture files for ${case_name} are stored in Git: ${include}"
|
||||||
|
for file in "${files[@]}"; do
|
||||||
|
test -s "${file}"
|
||||||
|
if head -n 1 "${file}" | grep -q "version https://git-lfs.github.com/spec/v1"; then
|
||||||
|
echo "fixture should not be stored as an LFS pointer: ${file}" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Fetching LFS fixture files for ${case_name}: ${include}"
|
echo "Fetching LFS fixture files for ${case_name}: ${include}"
|
||||||
|
|
||||||
git lfs install --local
|
git lfs install --local
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 131 B After Width: | Height: | Size: 394 KiB |
Binary file not shown.
Reference in New Issue
Block a user