--- /dev/null
+How to use Vagrant to test ccache on FreeBSD
+============================================
+
+vagrant up
+vagrant ssh
+
+vagrant@freebsd:~ % git clone https://github.com/ccache/ccache.git
+vagrant@freebsd:~ % cd ccache
+vagrant@freebsd:~/ccache % ./autogen.sh
+vagrant@freebsd:~/ccache % ./configure
+vagrant@freebsd:~/ccache % gmake
+vagrant@freebsd:~/ccache % gmake test
--- /dev/null
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
+
+Vagrant.configure("2") do |config|
+ config.vm.guest = :freebsd
+ config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", disabled: true
+ config.vm.box = "freebsd/FreeBSD-12.0-CURRENT"
+ config.ssh.shell = "sh"
+ config.vm.base_mac = "080027D14C66"
+
+ config.vm.provider :virtualbox do |vb|
+ vb.customize ["modifyvm", :id, "--memory", "1024"]
+ vb.customize ["modifyvm", :id, "--cpus", "1"]
+ vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
+ vb.customize ["modifyvm", :id, "--audio", "none"]
+ vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
+ vb.customize ["modifyvm", :id, "--nictype2", "virtio"]
+ end
+
+ config.vm.provision "shell", inline: <<-SHELL
+ pkg install -y git gmake bash autoconf
+ SHELL
+end