mirror of
https://github.com/samba-team/samba.git
synced 2025-01-05 09:18:06 +03:00
CI: don't use swap
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Mar 4 13:59:42 UTC 2019 on sn-devel-144
(adapted from from commit 7798bc14fb
by Andrew Bartlett)
This commit is contained in:
parent
65c85aee4c
commit
f232cd76d3
@ -7,12 +7,7 @@ variables:
|
||||
GIT_DEPTH: "3"
|
||||
|
||||
before_script:
|
||||
- echo "Build starting (preparing swap)..."
|
||||
- if [ $(df -m / --output=avail | tail -n1) -gt 10240 ]; then
|
||||
sudo dd if=/dev/zero of=/samba-swap bs=1M count=6144;
|
||||
sudo mkswap /samba-swap;
|
||||
sudo swapon /samba-swap;
|
||||
fi
|
||||
- echo "Build starting..."
|
||||
|
||||
after_script:
|
||||
- tar -xf logs.tar.gz system-info.txt -O
|
||||
|
Loading…
Reference in New Issue
Block a user