Builds native dependencies for addons which require them.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gpio-adapter @ 5e16ba6
homekit-adapter @ f2097e4
microblocks-adapter @ ea5c299
serial-adapter @ f9b7c52
thing-url-adapter @ 67509e0
zigbee-adapter @ 9f788a6
zwave-adapter @ 6dd8ce8
.gitignore
.gitmodules
.travis.yml
LICENSE
README.md
before-install-linux.sh
build-adapter.sh
build-addons.sh
create-rpxc.sh
trigger-build.sh

README.md

Addon builder

Build Status

Addon builder for the Web of Things gateway/

This repository will build addons for OSX, Linux, and Raspberry Pi variants of the gateway.

Use the trigger-build.sh script to initiate a build. Modifying any of the files in this repository and pushing them will also trigger a build of all of the adapters.

trigger-build.sh

The trigger-build.sh will trigger a travis job to start building an image. You can check the progress by watching https://travis-ci.org/mozilla-iot/addon-builder

If you only want to build for one adapter, you can pass that adapter on the command line.

./trigger-build.sh gpio-adapter

Deployed tarballs

The tarballs that are built will be deployed to mozilla-gateway-addons AWS bucket. URLs to the addons will be printed at the end of the job. You can also view all of the addons by using:

aws s3 ls s3://mozilla-gateway-addons/

Building the docker cross compiler image

To build the docker image, do the following steps:

git clone https://github.com/mozilla-iot/docker-raspberry-pi-cross-compiler.git
cd docker-raspberry-pi-cross-compiler
git checkout rpxc-stretch
export RPXC_IMAGE=dhylands/raspberry-pi-cross-compiler-stretch
./build.sh
docker push ${RPXC_IMAGE}

If you're not dhylands then you'll need to change the username appropriately, and also modify the create-rpxc.sh script in this repository.