forked from OpenCyphal-Garage/libuavcan_lpc11c24
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request OpenCyphal-Garage#2 from thirtytwobits/master
Issue OpenCyphal-Garage#1 fix build
- Loading branch information
Showing
5 changed files
with
99 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
language: cpp | ||
compiler: gcc | ||
dist: trusty | ||
sudo: true | ||
env: | ||
matrix: | ||
- TARGET=native | ||
before_install: | ||
- ./bootstrap.sh | ||
script: | ||
- cd test_olimex_lpc_p11c24; make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
Vagrant.configure("2") do |config| | ||
# Every Vagrant development environment requires a box. You can search for | ||
# boxes at https://vagrantcloud.com/search. | ||
|
||
config.vm.box = "ubuntu/trusty64" | ||
|
||
# use shell and other provisioners as usual | ||
config.vm.provision :shell, path: "bootstrap.sh" | ||
|
||
config.vm.provider "virtualbox" do |v| | ||
v.memory = 1024 | ||
v.cpus = 4 | ||
end | ||
config.vm.provision "shell" do |s| | ||
s.inline = <<-SCRIPT | ||
# Change directory automatically on ssh login | ||
echo "cd /vagrant" >> /home/vagrant/.bashrc | ||
SCRIPT | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/usr/bin/env bash | ||
|
||
# +----------------------------------------------------------+ | ||
# | BASH : Modifying Shell Behaviour | ||
# | (https://www.gnu.org/software/bash/manual) | ||
# +----------------------------------------------------------+ | ||
# Treat unset variables and parameters other than the special | ||
# parameters ‘@’ or ‘*’ as an error when performing parameter | ||
# expansion. An error message will be written to the standard | ||
# error, and a non-interactive shell will exit. | ||
set -o nounset | ||
|
||
# Exit immediately if a pipeline returns a non-zero status. | ||
set -o errexit | ||
|
||
# If set, the return value of a pipeline is the value of the | ||
# last (rightmost) command to exit with a non-zero status, or | ||
# zero if all commands in the pipeline exit successfully. | ||
set -o pipefail | ||
|
||
# +----------------------------------------------------------+ | ||
|
||
sudo apt-get update | ||
sudo apt-get -y install software-properties-common | ||
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y | ||
sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa -y | ||
sudo apt-get update | ||
sudo apt-get -y install python3 | ||
sudo apt-get -y install git | ||
sudo apt-get -y install gcc-arm-embedded |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters