summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2019-01-10 01:07:11 (GMT)
committerJason Evans <jasone@canonware.com>2019-01-10 23:14:33 (GMT)
commit646af596d8c4ffefc1f7edf432aa2b4e669bcc78 (patch)
treeaed9bcafc18d40d964de2d46e39b492c212b47db
parent6910fcb208e2703f72bcbfbd1db22426d02b1e27 (diff)
downloadjemalloc-646af596d8c4ffefc1f7edf432aa2b4e669bcc78.zip
jemalloc-646af596d8c4ffefc1f7edf432aa2b4e669bcc78.tar.gz
jemalloc-646af596d8c4ffefc1f7edf432aa2b4e669bcc78.tar.bz2
Customize cloning to include tags so that VERSION is valid.
-rw-r--r--.cirrus.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 019d2c3..8b1b38d 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -10,7 +10,11 @@ task:
install_script:
- sed -i.bak -e 's,pkg+http://pkg.FreeBSD.org/\${ABI}/quarterly,pkg+http://pkg.FreeBSD.org/\${ABI}/latest,' /etc/pkg/FreeBSD.conf
- pkg upgrade -y
- - pkg install -y autoconf gmake
+ - pkg install -y autoconf git gmake
+ clone_script:
+ - git clone --tags --branch=${CIRRUS_BASE_BRANCH} https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git ${CIRRUS_WORKING_DIR}
+ - git fetch origin ${CIRRUS_BRANCH}/head:${CIRRUS_BRANCH}
+ - git checkout ${CIRRUS_BRANCH}
script:
- autoconf
#- ./configure ${COMPILER_FLAGS:+ CC="$CC $COMPILER_FLAGS" CXX="$CXX $COMPILER_FLAGS" } $CONFIGURE_FLAGS