build.yml 2.95 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
---

# BEGIN TEST COMPILE SECTION
# using static binaries, don't compile for now
# install libzmq
#- name: Creates libzmq directory
#  file: path=/usr/local/src/libzmq state=directory
#- git:
#    repo: https://github.com/zeromq/libzmq.git 
#    dest: /usr/local/src/libzmq
#- name: autogen.sh libzmq
#  command: ./autogen.sh
#  args:
#    chdir: "/usr/local/src/libzmq"
#- name: configure libzmq
#  command: ./configure
#  args:
#    chdir: "/usr/local/src/libzmq"
#- name: make libzmq
#  command: make
#  args:
#    chdir: "/usr/local/src/libzmq"
#- name: make install libzmq
#  command: make install
#  args:
#    chdir: "/usr/local/src/libzmq"
#- name: run ldconfig
#  command: ldconfig

# install czmq
#- name: czmq git hack part1, fixme
#  command: rm -rf /usr/local/src/czmq.moved
#- stat: path=/usr/local/src/czmq
#  register: czmqsourcedir
#- name: czmq git hack part2, fixme
#  command: mv /usr/local/src/czmq /usr/local/src/czmq.moved
#  when: czmqsourcedir.stat.exists == True
#- name: Creates czmq directory
#  file: path=/usr/local/src/czmq state=directory
#- name: git czmq
#  git:
#    repo: git://github.com/wesyoung/czmq.git
#    version: feat/curve
#    force: yes
#    dest: /usr/local/src/czmq
#- name: czmq git add upstream
#  command: git remote add upstream git://github.com/zeromq/czmq.git
#  args:
#    chdir: "/usr/local/src/czmq"
#- name: czmq git fetch
#  command: git fetch
#  args:
#    chdir: "/usr/local/src/czmq"
#- name: czmq git add upstream
#  command: git pull --no-commit upstream master
#  args:
#    chdir: "/usr/local/src/czmq"
#- name: autogen.sh czmq
#  command: ./autogen.sh
#  args:
#    chdir: "/usr/local/src/czmq"
#- name: configure czmq
#  command: ./configure
#  args:
#    chdir: "/usr/local/src/czmq"
#- name: make czmq
#  command: make
#  args:
#    chdir: "/usr/local/src/czmq"
#- name: make install czmq
#  command: make install
#  args:
#    chdir: "/usr/local/src/czmq"
#- name: run ldconfig
#  command: ldconfig
#
## install zyre
#- name: Creates zyre directory
#  file: path=/usr/local/src/zyre state=directory
#- git:
#    repo: git://github.com/JustinAzoff/zyre.git
#    version: curve_merges
#    dest: /usr/local/src/zyre
#- name: autogen.sh zyre
#  command: ./autogen.sh
#  args:
#    chdir: "/usr/local/src/zyre"
#- name: configure zyre
#  command: ./configure
#  args:
#    chdir: "/usr/local/src/zyre"
#- name: make
#  command: make
#  args:
#    chdir: "/usr/local/src/zyre"
#- name: make install zyre
#  command: make install
#  args:
#    chdir: "/usr/local/src/zyre"
#- name: run ldconfig
#  command: ldconfig
#
## install gateway
#- name: Create gateway directory
#  file: path=/usr/local/gateway state=directory
#- git:
#    repo: git://github.com/JustinAzoff/simpledisco.git
#    dest: /usr/local/gateway
#- name: make gateway step 1
#  command: make
#  args:
#    chdir: "/usr/local/gateway"
#- name: make gateway step 2
#  command: make -f Makefile.gateway gateway.static
#  args:
#    chdir: "/usr/local/gateway"
# END TEST COMPILE SECTION