Giter Club home page Giter Club logo

buildbot-freebsd's Introduction

buildbot-freebsd

A Buildbot plugin for FreeBSD.

Installation

pip install git+https://github.com/iblis17/buildbot-freebsd.git

Sample Usage

factory.addSteps([
    steps.BSDSysInfo(
        pkginfo=True,
        pkgs=[
            'llvm38',
            'libunwind',
            'pcre2',
        ]),
    steps.BSDSetMakeVar(['make_jobs'], ['MAKE_JOBS_NUMBER']),
    steps.BSDSetMakeEnv(uses='fortran'),

    steps.GitHub(
        repourl='git://...',
        mode='full',
        method='fresh'),

    steps.Compile(
        command=['make', 'all', '-j', util.Property('make_jobs')],
        env=util.Property('make_env')),  # set FC, FFLAGS, etc properly
])

steps

BSDSysInfo

A Simple ShellSequence that invokes

  • freebsd-version
  • uname -a
  • pkg info: optional. Enabled via pkginfo=True`

BSDSetMakeVar

Set the property name from make -V VAR.

By default the Makefile read by make:

.include <bsd.port.mk>

So this step will require that there is a ports tree on worker.

Parameters:

names

list of property names

vars

list of variable names

uses

set the USES macro in Makefile. Reference: https://www.freebsd.org/doc/en/books/porters-handbook/book.html#uses

BSDSetMakeEnv

This step will set a property make_env to the result of make -V MAKE_ENV. This property will be a python dictionary.

By default the Makefile read by make:

.include <bsd.port.mk>

So this step will require that there is a ports tree on worker.

Parameters:

uses

set the USES macro in Makefile. Reference: https://www.freebsd.org/doc/en/books/porters-handbook/book.html#uses

LICENSE

MIT

buildbot-freebsd's People

Contributors

iblislin avatar waldyrious avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.