Use git depth 1 for Meson subprojects (#4138)

* Use git depth 1 for Meson subprojects
* Disable git depth on Debian CI
This commit is contained in:
Anton Kochkov 2024-01-22 21:14:32 +08:00 committed by GitHub
parent caca0799c6
commit 046918075e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 13 additions and 1 deletions

View file

@ -415,6 +415,10 @@ jobs:
- name: Checkout our Testsuite Binaries
run: git clone https://github.com/rizinorg/rizin-testbins test/bins
working-directory: rizin
# Old Debian git doesn't recognize this directive
- name: Workaround to disable git depth
run: find subprojects -name '*.wrap' | xargs sed -i '/^depth = 1$/d'
working-directory: rizin
- name: Build with Meson + Ninja
run: meson setup --prefix=/usr build && ninja -C build
working-directory: rizin

View file

@ -2,3 +2,4 @@
url = https://github.com/BLAKE3-team/BLAKE3.git
revision = 3f396d223946f722ab060fe9377cd1cebacaf4c0
patch_directory = blake3
depth = 1

View file

@ -3,3 +3,4 @@ url = https://github.com/capstone-engine/capstone.git
revision = 31ea133e64cb6576524e61b734681260104d0a6f
directory = capstone-next
patch_directory = capstone-next
depth = 1

View file

@ -3,3 +3,4 @@ url = https://github.com/capstone-engine/capstone.git
revision = v4
patch_directory = capstone-4.0.2
directory = capstone-4.0.2
depth = 1

View file

@ -3,3 +3,4 @@ url = https://github.com/capstone-engine/capstone.git
revision = v5
patch_directory = capstone-5.0.1
directory = capstone-5.0.1
depth = 1

View file

@ -1,3 +1,4 @@
[wrap-git]
url = https://github.com/rizinorg/rz-libdemangle.git
revision = 3eb0ef8efdf8d22bd5cfde1f7df1c1e48ef75a70
depth = 1

View file

@ -2,3 +2,4 @@
url = https://github.com/kyz/libmspack.git
revision = v1.11
patch_directory = libmspack
depth = 1

View file

@ -1,3 +1,4 @@
[wrap-git]
url = https://github.com/rizinorg/sigdb.git
revision = main
revision = main
depth = 1

View file

@ -3,3 +3,4 @@ url = https://github.com/rizinorg/tree-sitter-c
revision = 81d96d8822b4ae5983a1c6bae0f9fe764b666581
patch_directory = tree-sitter-c
directory = tree-sitter-c
depth = 1