summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhaedrus Leeds <mwleeds@endlessos.org>2020-12-15 07:45:42 -0800
committerGitHub <noreply@github.com>2020-12-15 07:45:42 -0800
commitf2b2ce997dba74f7adef7751d2f0ec5f38554e3d (patch)
tree2ea2a12e22393150223b33fe52ac091da498d104
parentdafc5ed5d8f706e15ca69bc29b1474f58fe5ad90 (diff)
parent3a83cc3df44093acf051795a76c0420b990d7e98 (diff)
downloadflatpak-f2b2ce997dba74f7adef7751d2f0ec5f38554e3d.tar.gz
Merge pull request #4025 from pwithnall/git-clone
check: Limit clone depth for clones done as part of CI builds
-rw-r--r--.github/workflows/check.yml15
1 files changed, 5 insertions, 10 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index 2846fd37..0f99ea00 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -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