mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
Add Vagrant config and provisioning for Debian 8
This commit is contained in:
21
vagrant/debian-8-x64/Vagrantfile
vendored
Normal file
21
vagrant/debian-8-x64/Vagrantfile
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# -*- mode: ruby -*-
|
||||
# vi: set ft=ruby :
|
||||
|
||||
Vagrant.configure("2") do |config|
|
||||
|
||||
# Set which Vagrant "box" (base image) to use, and tell it how to set up the
|
||||
# VM, packages to install, etc.
|
||||
config.vm.box = "debian/jessie64"
|
||||
config.vm.provision :shell, path: "bootstrap.sh"
|
||||
|
||||
# Additional parameters for the VM
|
||||
config.vm.provider "virtualbox" do |vb|
|
||||
vb.memory = 2048
|
||||
vb.cpus = 2
|
||||
end
|
||||
|
||||
# Share the Phoenix/dist folder so the VM can get the source tarball and has
|
||||
# a place to put the build results.
|
||||
config.vm.synced_folder "../../dist", "/home/vagrant/dist"
|
||||
|
||||
end
|
||||
23
vagrant/debian-8-x64/bootstrap.sh
Normal file
23
vagrant/debian-8-x64/bootstrap.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Set up and update package repos
|
||||
apt-get update
|
||||
|
||||
# Install necessary development and other packages
|
||||
apt-get install -y build-essential dpkg-dev
|
||||
apt-get install -y libgtk2.0-dev libgtk-3-dev
|
||||
|
||||
apt-get install -y libwebkitgtk-dev libjpeg-dev libtiff-dev \
|
||||
libsdl1.2-dev libgstreamer-plugins-base0.10-dev \
|
||||
libnotify-dev freeglut3 freeglut3-dev
|
||||
|
||||
# Install all available Python packages and their dev packages
|
||||
apt-get install -y python2.7 python2.7-dev libpython2.7-dev python-virtualenv
|
||||
apt-get install -y python3.4 python3.4-dev libpython3.4-dev python3.4-venv
|
||||
#apt-get install -y python3.5 python3.5-dev libpython3.5-dev python3.5-venv
|
||||
|
||||
# Set up virtual environments for each Python where the Phoenix builds will be done
|
||||
virtualenv --python=python2.7 Py27
|
||||
pyvenv-3.4 Py34
|
||||
#pyvenv-3.5 Py35
|
||||
|
||||
Reference in New Issue
Block a user