Project: sh-patrickb-IO-Socket-TLSViaAsync

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: sh-patrickb-IO-Socket-TLSViaAsync
  tags: >
      SCM_URL=https://git.sr.ht/~patrickb/IO-Socket-TLSViaAsync,
      SCM_SHA=HEAD
disabled: false
keep_builds: 100
allow_manual_run: true
scm:
  url: https://git.sr.ht/~patrickb/IO-Socket-TLSViaAsync
  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 .", %(
  cwd => "{$*CWD}/scm"
);