~tyil/rakudo-star

c8c45a8b4a1594d13726f2be78cc33a75774e3ef — Patrick Spek 8 days ago f0cfdfe master
Remove the most popular setup from Sourcehut builds

Sourcehut limited their builds to only 4 per push. As such, the most
commonly available build has been removed. Other architectures, more
often used on lower-end hardware, can use pre-built binaries more.
1 files changed, 0 insertions(+), 35 deletions(-)

D .builds/binary-generic-amd64-gnu.yml
D .builds/binary-generic-amd64-gnu.yml => .builds/binary-generic-amd64-gnu.yml +0 -35
@@ 1,35 0,0 @@
image: debian/stable
arch: amd64
packages:
  - cpanminus
  - curl
  - gcc
  - make
secrets:
  - 63069bd6-993a-4133-aaf9-51398b07d60e
tasks:
  - prepare: |
      mkdir -p "/tmp/ci-$JOB_ID"
      mkdir -p ~/.ssh
      cat <<-EOF > ~/.ssh/config
      StrictHostKeyChecking no
      UserKnownHostsFile /dev/null
      EOF
      cpanm -v ExtUtils::Command Pod::Usage
  - build: |
      ./rakudo-star/bin/rstar fetch
      ./rakudo-star/bin/rstar install -p "/tmp/ci-$JOB_ID"
  - package: |
      COMMIT="$(git -C rakudo-star rev-parse HEAD)"
      SOURCE_DATE_EPOCH="$(git -C rakudo-star log -1 --pretty=format:%at)"
      cd -- "/tmp/ci-$JOB_ID"
      tar -c \
        --mtime "@$SOURCE_DATE_EPOCH" \
        --mode=go=rX,u+rw,a-s \
        --format=gnu \
        --numeric-owner --owner=0 --group=0 \
        . \
        | gzip -9cn \
        > "/tmp/rakudo-star-amd64-gnu-$COMMIT.tar.gz"
  - upload: |
      scp /tmp/rakudo-star-amd64-gnu-*.tar.gz dist@store0-0.tyil.net:data/tmp/.