image: debian/stable packages: - gcc - libssl-dev - rsync - sudo - wget sources: - https://git.sr.ht/~evhan/dust secrets: - 6026e7c6-ed80-411e-b4e1-5ed1dbeee131 environment: DUST_HOME: /home/build/.dust DEPLOY_HOST: chicken@foldling.org DEPLOY_PATH: dust RSYNC_RSH: ssh -q -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null tasks: - bootstrap: | sudo wget -q https://foldling.org/dust/dust-x86_64-linux -O /bin/dust sudo chmod +x /bin/dust dust install 5.1.0 - build: | eval $(dust env) cd dust chicken-install -s rm dust env CSC_OPTIONS="-static -L -static -L -lssl -L -lcrypto -L -ldl -L -pthread" chicken-install -s - test: | eval $(dust env) dust switch master csi < /dev/null hash dust dust install master ./path path/bin/csi < /dev/null - deploy: | rsync dust/dust ${DEPLOY_HOST}:${DEPLOY_PATH}/dust-x86_64-linux-gnu