diff options
author | Martin Pärtel <martin.partel@gmail.com> | 2025-07-25 20:21:41 +0300 |
---|---|---|
committer | Martin Pärtel <martin.partel@gmail.com> | 2025-07-25 20:21:41 +0300 |
commit | a7464f2c3f1e8d779eee1fe3fbd35d2343547e80 (patch) | |
tree | 1608abff6741f0c93b8da33bbef9eb489a94fa8b | |
parent | 7c77d3702f4e3062750307871265a5b59a631456 (diff) | |
download | bindfs-a7464f2c3f1e8d779eee1fe3fbd35d2343547e80.tar.gz |
Added Debian 12 to Vagrant tests.
-rw-r--r-- | .github/workflows/tests.yml | 2 | ||||
-rw-r--r-- | vagrant/debian12/Vagrantfile | 28 |
2 files changed, 29 insertions, 1 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9673c5d..a3afe8c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -159,8 +159,8 @@ jobs: matrix: # TODO: automatically check that this list is up-to-date box: - - debian10 - debian11 + - debian12 - freebsd14 - rockylinux9 - ubuntu2004 diff --git a/vagrant/debian12/Vagrantfile b/vagrant/debian12/Vagrantfile new file mode 100644 index 0000000..628a9e6 --- /dev/null +++ b/vagrant/debian12/Vagrantfile @@ -0,0 +1,28 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant.configure("2") do |config| + config.vm.box = "boxen/debian-12" + + config.vm.synced_folder ".", "/vagrant", disabled: true + config.vm.synced_folder "../../", "/bindfs", + type: "rsync", + rsync__auto: false, + rsync__exclude: ["vagrant"], + rsync__args: ["-av", "--delete-after"] + + config.vm.provider "virtualbox" do |v| + v.name = "bindfs-debian12" + end + config.vm.provider "libvirt" do |v| + v.driver = if File.exist?('/dev/kvm') then 'kvm' else 'qemu' end + end + + config.vm.provision "shell", reboot: true, inline: <<-SHELL + export DEBIAN_FRONTEND='noninteractive' + apt-get update + apt-get install -y fuse3 libfuse3-dev build-essential automake autoconf libtool pkg-config ruby valgrind + apt-get clean + echo user_allow_other > /etc/fuse.conf + SHELL +end |