aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-06-05 20:35:39 +0200
committerPatrick Spek <p.spek@tyil.nl>2020-11-20 20:42:30 +0100
commitd426b1a876c7759f06ed40d63f4c0c5ef5770b96 (patch)
tree855c8a6c6c2619deaa5fc11cfc4e2ef92aa3f25d
parent357b61b4d093e721856e6264438cf98ec161ad52 (diff)
Add build manifest for binary FreeBSD builds
-rw-r--r--.builds/binary-generic-amd64-fbsd.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.builds/binary-generic-amd64-fbsd.yml b/.builds/binary-generic-amd64-fbsd.yml
new file mode 100644
index 0000000..4267763
--- /dev/null
+++ b/.builds/binary-generic-amd64-fbsd.yml
@@ -0,0 +1,27 @@
+image: freebsd/latest
+arch: amd64
+packages:
+ - gcc
+ - perl5
+ - p5-App-cpanminus
+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 -cf - . | gzip -9cn > "/tmp/rakudo-star-amd64-fbsd-$COMMIT.tar.gz"
+ - upload: |
+ scp /tmp/rakudo-star-amd64-fbsd-*.tar.gz dist@store0-0.tyil.net:data/tmp/.