~singpolyma/dhall-haxe

d9e30bb2eea072d2437ad2c700f9545b061bff23 — Stephen Paul Weber 1 year, 3 months ago 9e112f7
Add C++ build
3 files changed, 60 insertions(+), 0 deletions(-)

A .builds.dhall/cpp.dhall
A .builds/cpp.yml
A .builds/php7.yml
A .builds.dhall/cpp.dhall => .builds.dhall/cpp.dhall +12 -0
@@ 0,0 1,12 @@
./lib/base.dhall "testing" ["haxe", "build-essential"] [
		./lib/tasks/haxelib_config,
		./lib/tasks/dependencies,
		[{
			mapKey = "build",
			mapValue = ''
			cd dhall-haxe
			bundle exec ruby scripts/generate_peg.rb cpp < dhall-lang/standard/dhall.abnf > dhall.peg
			haxelib run munit test -cpp
			''
		}]
	]

A .builds/cpp.yml => .builds/cpp.yml +24 -0
@@ 0,0 1,24 @@
image: debian/testing
environment:
  RUBYOPT: -EUTF-8
  CI: 1
sources:
- https://git.singpolyma.net/dhall-haxe
tasks:
- haxelib_config: |
    echo "$(pwd)/.local/share/haxelib" > .haxelib
    mkdir -p "$(cat .haxelib)"
- dependenices: |
    cd dhall-haxe
    haxelib install all --always --quiet
    haxelib git moon-peg https://github.com/singpolyma/moon-peg.git
    bundle install --path="../.gems"
- build: |
    cd dhall-haxe
    bundle exec ruby scripts/generate_peg.rb cpp < dhall-lang/standard/dhall.abnf > dhall.peg
    haxelib run munit test -cpp
packages:
- bundler
- ruby
- haxe
- build-essential

A .builds/php7.yml => .builds/php7.yml +24 -0
@@ 0,0 1,24 @@
image: debian/testing
environment:
  RUBYOPT: -EUTF-8
  CI: 1
sources:
- https://git.singpolyma.net/dhall-haxe
tasks:
- haxelib_config: |
    echo "$(pwd)/.local/share/haxelib" > .haxelib
    mkdir -p "$(cat .haxelib)"
- dependenices: |
    cd dhall-haxe
    haxelib install all --always --quiet
    haxelib git moon-peg https://github.com/singpolyma/moon-peg.git
    bundle install --path="../.gems"
- build: |
    cd dhall-haxe
    bundle exec ruby scripts/generate_peg.rb php < dhall-lang/standard/dhall.abnf > dhall.peg
    haxelib run munit test -php
packages:
- bundler
- ruby
- haxe
- php-cli