From dd3a59ad28e9ee6b1a8bfac59ae00f8a42b78c05 Mon Sep 17 00:00:00 2001 From: Namjae Jeon Date: Wed, 7 Aug 2024 22:04:16 +0900 Subject: [PATCH] github action: make the space Remove unused compress file and source code to decrease disk size. Signed-off-by: Namjae Jeon --- .github/workflows/c-cpp.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index d6a8e80..5c0ca74 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download the kernel run: | sudo apt-get update @@ -24,9 +24,9 @@ jobs: - name: Prerequisite for xfstests testing run: | sudo apt-get install linux-headers-$(uname -r) - sudo apt-get install autoconf libtool pkg-config libnl-3-dev libnl-genl-3-dev + sudo apt-get install autoconf libtool pkg-config sudo apt-get install xfslibs-dev uuid-dev libtool-bin xfsprogs libgdbm-dev gawk fio attr libattr1-dev libacl1-dev libaio-dev - git clone --branch=exfat-next https://github.com/exfat-utils/exfat-utils + git clone --branch=exfat-next https://github.com/exfatprogs/exfatprogs git clone https://github.com/namjaejeon/exfat-testsuites export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH export PATH=/usr/local/lib:$PATH @@ -56,7 +56,8 @@ jobs: ./configure > /dev/null make -j$((`nproc`+1)) > /dev/null sudo make install > /dev/null - cd .. + cd ../.. + rm -rf linux-exfat-oot sudo mkdir -p /mnt/scratch sudo mkdir -p /mnt/test sudo mkdir -p full_test @@ -84,6 +85,7 @@ jobs: run: | cd exfat-testsuites/ tar xzvf xfstests-exfat.tgz > /dev/null + rm -f xfstests-exfat.tgz cd xfstests-exfat make -j$((`nproc`+1)) > /dev/null truncate -s 100G test.img