Browse code
Try workflows?
Ed Langley authored on 04/11/2018 07:03:00
Showing 2 changed files
Showing 2 changed files
... | ... |
@@ -1,5 +1,18 @@ |
1 | 1 |
version: 2 |
2 | 2 |
jobs: |
3 |
+ publish-github-release: |
|
4 |
+ docker: |
|
5 |
+ - image: cibuilds/github:0.10 |
|
6 |
+ steps: |
|
7 |
+ - attach_workspace: |
|
8 |
+ at: ./artifacts |
|
9 |
+ - run: |
|
10 |
+ name: "Publish Release on GitHub" |
|
11 |
+ command: | |
|
12 |
+ VERSION= |
|
13 |
+ env |
|
14 |
+ ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/ |
|
15 |
+ |
|
3 | 16 |
build: |
4 | 17 |
docker: |
5 | 18 |
- image: debian:stretch |
... | ... |
@@ -20,3 +33,22 @@ jobs: |
20 | 33 |
- store_artifacts: |
21 | 34 |
path: /root/project/daydreamer |
22 | 35 |
destination: /daydreamer |
36 |
+workflows: |
|
37 |
+ version: 2 |
|
38 |
+ main: |
|
39 |
+ jobs: |
|
40 |
+ - build |
|
41 |
+ release: |
|
42 |
+ jobs: |
|
43 |
+ - build: |
|
44 |
+ filters: |
|
45 |
+ tags: |
|
46 |
+ only: /^\d+\.\d+$/ |
|
47 |
+ - publish-github-release: |
|
48 |
+ requires: |
|
49 |
+ - build |
|
50 |
+ filters: |
|
51 |
+ branches: |
|
52 |
+ ignore: /.*/ |
|
53 |
+ tags: |
|
54 |
+ only: /^\d+\.\d+$/ |
... | ... |
@@ -1,7 +1,8 @@ |
1 | 1 |
#!/usr/bin/env bash |
2 | 2 |
export ASDF_OUTPUT_TRANSLATIONS="/:" SBCL_HOME="$HOME/sbcl/lib/sbcl/" CC="clang" |
3 | 3 |
|
4 |
-ls -R ~/sbcl |
|
4 |
+env |
|
5 |
+ |
|
5 | 6 |
~/sbcl/bin/sbcl --no-userinit --disable-debugger --load ~/sbcl/quicklisp/setup.lisp --load build.lisp |
6 | 7 |
ls ~/sbcl/quicklisp/local-projects/daydreamer/ |
7 | 8 |
./daydreamer --self-test |