git.fiddlerwoaroof.com
.circleci/config.yml
d864c0f3
 version: 2
 jobs:
7688e395
   publish-github-release:
     docker:
       - image: cibuilds/github:0.10
     steps:
       - attach_workspace:
           at: ./artifacts
       - run:
           name: "Publish Release on GitHub"
           command: |
ddf84770
             VERSION=${CIRCLE_TAG}
7688e395
             ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/
 
d864c0f3
   build:
     docker:
b55e427c
       - image: fiddlerwoaroof/sbcl-static:1.5.8
d864c0f3
     steps:
       - checkout
b1a8fed6
       - run:
           name: packaging
272ca9cc
           command: apt update && apt install -y wget build-essential git libz-dev clang libssl-dev
d864c0f3
       - run:
a1603af0
           name: install deps
           command: ./clone-all-the-things.sh
d864c0f3
       - run:
86862182
           name: pwd?
           command: pwd
       - run:
75671fe5
           name: Make
86862182
           command: ./make.sh
02c80d73
       - store_artifacts:
           path: /root/project/daydreamer
ed0f84fa
           destination: /daydreamer
853da279
       - persist_to_workspace:
           root: /root/project
           paths: daydreamer
7688e395
 workflows:
   version: 2
   main:
     jobs:
       - build
   release:
     jobs:
       - build:
           filters:
1f1b9958
             branches:
               ignore: /.*/
7688e395
             tags:
               only: /^\d+\.\d+$/
       - publish-github-release:
           requires:
             - build
           filters:
             branches:
               ignore: /.*/
             tags:
               only: /^\d+\.\d+$/