Skip to content

Commit

Permalink
CI: build NTFS3 kernel module
Browse files Browse the repository at this point in the history
enlarge disk space
  • Loading branch information
wongsyrone committed Dec 18, 2024
1 parent f4622ac commit 5e84c35
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,27 @@ jobs:
runs-on: ubuntu-22.04

steps:
- name: Reclaim disk space
# commands taken from https://github.com/openzfs/zfs/commit/e2909fae8f2c3b15459fd4c0acc1999c6907864b
run: |
sudo docker system prune --force --all --volumes
sudo rm -rf \
/usr/share/az* \
/usr/share/dotnet \
/usr/share/gradle* \
/usr/share/miniconda \
/usr/share/swift \
/var/lib/gems \
/var/lib/mysql \
/var/lib/snapd
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 8192
swap-size-mb: 10240
remove-dotnet: "true"
remove-android: "true"
remove-haskell: "true"

- name: Check out repository code
uses: actions/checkout@v4
Expand All @@ -107,6 +128,11 @@ jobs:
- name: Generate .config
run: |
echo 'CONFIG_NTFS3_FS=y' >> scripts/package/truenas/truenas.config
echo '# CONFIG_NTFS3_64BIT_CLUSTER is not set' >> scripts/package/truenas/truenas.config
echo 'CONFIG_NTFS3_LZX_XPRESS=y' >> scripts/package/truenas/truenas.config
echo '# CONFIG_NTFS3_FS_POSIX_ACL is not set' >> scripts/package/truenas/truenas.config
cat scripts/package/truenas/truenas.config
rm -rf .git .gitattributes .gitignore
export EXTRAVERSION="-production"
make ARCH=x86_64 defconfig
Expand Down

0 comments on commit 5e84c35

Please sign in to comment.