raise version #118
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: nullfsvfs CI on ubuntu-latest | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: abbbi/github-actions-tune@v1 | |
- name: apt update | |
run: sudo apt-get update | |
- name: Install build-essential and devscripts | |
run: sudo apt-get install build-essential devscripts equivs acl codespell | |
- name: Run codespell | |
run: codespell -L filp,iput . | |
- name: Install Kernel Build Dependencies | |
run: sudo mk-build-deps --install debian/control | |
- name: Remove dependency package | |
run: rm -f nullfsvfs-build-deps*.deb | |
- name: Build Debian package | |
run: sudo -E dpkg-buildpackage -uc -us -b | |
- name: Install generated Package | |
run: sudo dpkg -i ../nullfsvfs_*_amd64.deb | |
- name: Modprobe kernel module | |
run: sudo modprobe nullfs | |
- name: Mount nullfs | |
run: sudo mount -t nullfs none /mnt | |
- name: Test filecopy | |
run: sudo cp -r /etc/ /mnt/ | |
- name: Test mknod | |
run: sudo mknod /mnt/nod c 1 8 | |
- name: Test acl | |
run: | | |
sudo mkdir /mnt/acl_dir | |
sudo touch /mnt/acl_file | |
sudo setfacl -m d:u:root:r /mnt/acl_dir | |
sudo setfacl -m u:root:r /mnt/acl_file | |
sudo setfacl -m u:root:r /mnt/nod | |
- name: Test file | |
run: sudo dd if=/dev/zero of=/mnt/direct bs=1M count=1953 | |
- name: Test filesize | |
run: sudo stat --printf '%s' /mnt/direct | grep 2047868928 | |
- name: Umount nullfs | |
run: sudo umount /mnt |