mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-11 03:27:48 -04:00
Merge pull request #4025 from pwithnall/git-clone
check: Limit clone depth for clones done as part of CI builds
This commit is contained in:
15
.github/workflows/check.yml
vendored
15
.github/workflows/check.yml
vendored
@@ -48,18 +48,16 @@ jobs:
|
||||
submodules: true
|
||||
- name: Build malcontent dependency
|
||||
run: |
|
||||
git clone https://gitlab.freedesktop.org/pwithnall/malcontent.git ./malcontent
|
||||
git clone --branch 0.4.0 --depth 1 --no-tags https://gitlab.freedesktop.org/pwithnall/malcontent.git ./malcontent
|
||||
pushd ./malcontent
|
||||
git checkout tags/0.4.0
|
||||
meson setup --prefix=/usr _build
|
||||
ninja -C _build
|
||||
sudo ninja -C _build install
|
||||
popd
|
||||
- name: Build ostree dependency
|
||||
run: |
|
||||
git clone https://github.com/ostreedev/ostree.git ./ostree
|
||||
git clone --branch v2020.8 --depth 1 --no-tags https://github.com/ostreedev/ostree.git ./ostree
|
||||
pushd ./ostree
|
||||
git checkout 7bc53f006351fcf5d32d9427e61a4f842f57f67b
|
||||
./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --sysconfdir=/etc --localstatedir=/var
|
||||
make -j $(getconf _NPROCESSORS_ONLN)
|
||||
sudo make install
|
||||
@@ -113,9 +111,8 @@ jobs:
|
||||
libgirepository1.0-dev libappstream-glib-dev libdconf-dev clang e2fslibs-dev
|
||||
- name: Build ostree dependency
|
||||
run: |
|
||||
git clone https://github.com/ostreedev/ostree.git ./ostree
|
||||
git clone --branch v2020.8 --depth 1 --no-tags https://github.com/ostreedev/ostree.git ./ostree
|
||||
pushd ./ostree
|
||||
git checkout 7bc53f006351fcf5d32d9427e61a4f842f57f67b
|
||||
./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --sysconfdir=/etc --localstatedir=/var
|
||||
make -j $(getconf _NPROCESSORS_ONLN)
|
||||
sudo make install
|
||||
@@ -151,9 +148,8 @@ jobs:
|
||||
submodules: true
|
||||
- name: Build ostree dependency
|
||||
run: |
|
||||
git clone https://github.com/ostreedev/ostree.git ./ostree
|
||||
git clone --branch v2020.8 --depth 1 --no-tags https://github.com/ostreedev/ostree.git ./ostree
|
||||
pushd ./ostree
|
||||
git checkout 7bc53f006351fcf5d32d9427e61a4f842f57f67b
|
||||
./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --sysconfdir=/etc --localstatedir=/var
|
||||
make -j $(getconf _NPROCESSORS_ONLN)
|
||||
sudo make install
|
||||
@@ -186,9 +182,8 @@ jobs:
|
||||
submodules: true
|
||||
- name: Build ostree dependency
|
||||
run: |
|
||||
git clone https://github.com/ostreedev/ostree.git ./ostree
|
||||
git clone --branch v2020.8 --depth 1 --no-tags https://github.com/ostreedev/ostree.git ./ostree
|
||||
pushd ./ostree
|
||||
git checkout 7bc53f006351fcf5d32d9427e61a4f842f57f67b
|
||||
./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --sysconfdir=/etc --localstatedir=/var
|
||||
make -j $(getconf _NPROCESSORS_ONLN)
|
||||
sudo make install
|
||||
|
||||
Reference in New Issue
Block a user