File tree 4 files changed +23
-2
lines changed
4 files changed +23
-2
lines changed Original file line number Diff line number Diff line change
1
+ FROM ubuntu
2
+ ADD . .
3
+ RUN apt-get -y update
4
+ RUN apt-get -y install make gcc clang
5
+ ENTRYPOINT [ "./build.sh" ]
Original file line number Diff line number Diff line change @@ -23,4 +23,4 @@ deinstall:
23
23
rm -f $(PREFIX ) /bin/subcalc
24
24
25
25
clean :
26
- rm -f subcalc
26
+ rm -rf subcalc subcalc.dSYM
Original file line number Diff line number Diff line change
1
+ steps :
2
+ - name : ' gcr.io/cloud-builders/docker'
3
+ id : Build
4
+ args :
5
+ - ' build'
6
+ - ' -t'
7
+ - ' gcr.io/csjp-gcloud/subcalc'
8
+ - ' .'
9
+
10
+ - name : ' gcr.io/csjp-gcloud/subcalc'
11
+ id : Run build
12
+ entrypoint : /build.sh
13
+
14
+ - name : ' gcr.io/csjp-gcloud/subcalc'
15
+ id : Test build
16
+ entrypoint : /test.sh
Original file line number Diff line number Diff line change 33
33
#define IPV6WIDTH 128
34
34
#define IPWIDTH 32
35
35
36
- #if defined(__linux__ )
36
+ #if defined(linux )
37
37
#define s6_addr32 __in6_u.__u6_addr32
38
38
#define s6_addr8 __in6_u.__u6_addr8
39
39
#else /* NB: BSD/OSX may require others */
You can’t perform that action at this time.
0 commit comments