aboutsummaryrefslogtreecommitdiff
path: root/.builds/binary-generic-amd64-obsd.yml
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-07-28 23:24:20 +0200
committerPatrick Spek <p.spek@tyil.nl>2020-11-20 20:42:33 +0100
commitdae12faf2bdc2326c7b19c9a9ee5c1da154a7e5c (patch)
tree78f21bb13c11de95166dfa813b65930584624102 /.builds/binary-generic-amd64-obsd.yml
parentf106c2b15c04a254c156d4af7b7bb5f6d5638451 (diff)
Use .yml extension for OpenBSD build manifest
Diffstat (limited to '.builds/binary-generic-amd64-obsd.yml')
-rw-r--r--.builds/binary-generic-amd64-obsd.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.builds/binary-generic-amd64-obsd.yml b/.builds/binary-generic-amd64-obsd.yml
new file mode 100644
index 0000000..cfad980
--- /dev/null
+++ b/.builds/binary-generic-amd64-obsd.yml
@@ -0,0 +1,26 @@
+image: openbsd/latest
+arch: amd64
+packages:
+ - gcc
+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
+ curl -L http://cpanmin.us | doas perl - App::cpanminus
+ doas 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-obsd-$COMMIT.tar.gz"
+ - upload: |
+ scp /tmp/rakudo-star-amd64-obsd-*.tar.gz dist@store0-0.tyil.net:data/tmp/.