Project: gh-rawleyfowler-Humming-Bird

Build now

Configuration

sparrowdo:
  no_sudo: true
  no_index_update: false
  bootstrap: false
  format: default
  repo: https://sparrowhub.io/repo
  image: melezhik/sparrow:debian_arm
  docker: gh-rawleyfowler-Humming-Bird
  tags: SCM_URL=https://github.com/rawleyfowler/Humming-Bird.git
disabled: false
keep_builds: 1000
allow_manual_run: true
scm:
  url: https://github.com/rawleyfowler/Humming-Bird.git
  branch: HEAD

plugins:
  Sparky::Plugin::Docker: {}

Job

#!raku

use Sparky::JobApi;

%*ENV<SP6_DUMP_TASK_CODE> = False;

bash "raku -V > rakuenv.txt";

Sparky::JobApi.new(:mine).put-file("rakuenv.txt","rakuenv.txt");

bash "sudo dpkg -l | grep ssl > ssl.txt";

Sparky::JobApi.new(:mine).put-file("ssl.txt","ssl.txt");

directory "scm";

git-scm tags()<SCM_URL>, %(
  to => "scm",
  branch => tags<SCM_BRANCH>
);

bash "git show --oneline -s > gitinfo.txt", %(
  cwd => "{$*CWD}/scm"
);

Sparky::JobApi.new(:mine).put-file("scm/gitinfo.txt","gitinfo.txt");

bash "zef install . --force-install", %(
  cwd => "{$*CWD}/scm"
);

bash "zef install App::Prove6 --force-install", %(
  cwd => "{$*CWD}/scm"
);


bash "prove6 -I. t/ it/", %(
  cwd => "{$*CWD}/scm"
);