Instructions for building on various platforms

Include Vagrant files for FreeBSD 10.2 and Ubuntu Linux 14.04 LTS.
This commit is contained in:
Nathan Fiedler
2016-02-10 18:11:32 -08:00
parent f115a7a774
commit ebf4559ede
4 changed files with 115 additions and 1 deletions

25
vagrant/freebsd10/Vagrantfile vendored Normal file
View File

@ -0,0 +1,25 @@
#
# Vagrantfile for FreeBSD 10.2 test environment.
#
Vagrant.configure(2) do |config|
config.vm.box = "freebsd/FreeBSD-10.2-RELEASE"
# this box needs a MAC address
config.vm.base_mac = '0800273E2877'
# need enough memory to build syntex_syntax crate
config.vm.provider 'virtualbox' do |vb|
vb.memory = 2048
end
# bring the system up to date
config.vm.provision "shell", inline: <<-SHELL
sudo freebsd-update fetch install
sudo pkg update
sudo pkg upgrade -y
sudo pkg autoremove -y
sudo pkg clean -y
SHELL
end

20
vagrant/ubuntu14/Vagrantfile vendored Normal file
View File

@ -0,0 +1,20 @@
#
# Vagrantfile for Ubuntu 14.04 test environment.
#
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
# need enough memory to build syntex_syntax crate
config.vm.provider 'virtualbox' do |vb|
vb.memory = 2048
end
# bring the system up to date
config.vm.provision "shell", inline: <<-SHELL
sudo apt-get autoremove
sudo apt-get update
sudo apt-get upgrade
SHELL
end