Project: gh-antononcube-Raku-JavaScript-D3

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-antononcube-Raku-JavaScript-D3
  tags: SCM_URL=https://github.com/antononcube/Raku-JavaScript-D3.git
disabled: false
keep_builds: 1000
allow_manual_run: true
scm:
  url: https://github.com/antononcube/Raku-JavaScript-D3.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");

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 .", %(
  cwd => "{$*CWD}/scm"
);