From 8c6e1eaeef11ecd2759fcc89d3f857f3fbfd8b42 Mon Sep 17 00:00:00 2001 From: Marcus Edel Date: Mon, 18 Oct 2021 20:49:30 -0400 Subject: [PATCH] Can we create a swap file. --- .ci/linux-steps.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.ci/linux-steps.yaml b/.ci/linux-steps.yaml index a553dd0adf..1f632aae52 100644 --- a/.ci/linux-steps.yaml +++ b/.ci/linux-steps.yaml @@ -13,6 +13,12 @@ steps: - script: | free -h df -h + dd if=/dev/zero of=/usr/swapfile.img bs=1024 count=10M + mkswap /usr/swapfile.img + swapon /usr/swapfile.img + free -h + df -h + git clone --depth 1 https://github.com/mlpack/jenkins-conf.git conf sudo add-apt-repository ppa:mhier/libboost-latest