1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00

Update build automation

This commit is contained in:
Petko Bordjukov 2018-07-06 10:38:04 +03:00
parent 255823b681
commit a89f7875e7
4 changed files with 14 additions and 12 deletions

View file

@ -27,7 +27,7 @@ before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" -a "$TRAVIS_RUBY_VERSION" != "system" ]; then gem update bundler; fi
script:
- git submodule update --init
- MAKEFLAGS+=-j8 bundle exec rake spec binary --trace
- bundle exec rake spec binary --trace
deploy:
provider: releases
file: $(git ls-files -o pkg | head -1)

View file

@ -12,7 +12,7 @@ Vagrant.configure(2) do |config|
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "freebsd/FreeBSD-11.1-RELEASE"
config.vm.box = "freebsd/FreeBSD-11.2-RELEASE"
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
@ -38,8 +38,8 @@ Vagrant.configure(2) do |config|
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
config.vm.synced_folder ".", "/vagrant", nfs: true
config.vm.synced_folder "../..", "/libv8", nfs: true
config.vm.synced_folder ".", "/vagrant", nfs: true, nfs_udp: false
config.vm.synced_folder "../..", "/libv8", nfs: true, nfs_udp: false
# Provider-specific configuration so you can fine-tune various
@ -64,8 +64,8 @@ Vagrant.configure(2) do |config|
vb.cpus = 4
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
vb.customize ["modifyvm", :id, "--audio", "none"]
vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
vb.customize ["modifyvm", :id, "--nictype2", "virtio"]
# vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
# vb.customize ["modifyvm", :id, "--nictype2", "virtio"]
end
# Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
@ -84,6 +84,6 @@ Vagrant.configure(2) do |config|
# SHELL
config.vm.provision "shell", inline: <<-SHELL
pkg upgrade -y
pkg install -y bash gmake ruby rubygem-bundler git-lite python2
pkg install -y bash ruby rubygem-bundler git-lite python2 ninja
SHELL
end

View file

@ -10,9 +10,11 @@ Vagrant.configure(2) do |config|
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
config.vm.boot_timeout=3600
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "freebsd/FreeBSD-11.1-RELEASE"
config.vm.box = "freebsd/FreeBSD-11.2-RELEASE"
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
@ -39,8 +41,8 @@ Vagrant.configure(2) do |config|
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
config.vm.synced_folder ".", "/vagrant", nfs: true
config.vm.synced_folder "../..", "/libv8", nfs: true
config.vm.synced_folder ".", "/vagrant", nfs: true, nfs_udp: false
config.vm.synced_folder "../..", "/libv8", nfs: true, nfs_udp: false
# Provider-specific configuration so you can fine-tune various
@ -90,7 +92,7 @@ Vagrant.configure(2) do |config|
echo 'fdesc /dev/fd fdescfs rw 0 0' >> /etc/fstab
mount -a
pkg upgrade -y
pkg install -y curl bash gmake git-lite python2
pkg install -y curl bash git-lite python2 ninja
curl -sSL https://get.rvm.io | grep -v __rvm_print_headline | bash -s stable --ruby=2.4.1 --with-gems='bundler'
pw groupmod rvm -M vagrant
chsh -s /usr/local/bin/bash vagrant

View file

@ -1,4 +1,4 @@
FROM alpine:edge
FROM alpine:3.7
MAINTAINER Andrew Cutler <andrew@panubo.com>