File tree Expand file tree Collapse file tree 3 files changed +16
-10
lines changed Expand file tree Collapse file tree 3 files changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ steps:
118
118
- label : " E2E: default :docker: (ping)"
119
119
command :
120
120
- echo "--- build"
121
- - make build docker-images
121
+ - make build-dev docker-images
122
122
- echo "--- start topology"
123
123
- ./scion.sh topology -d
124
124
- ./scion.sh run
Original file line number Diff line number Diff line change 1
- .PHONY : all antlr bazel clean docker-images gazelle go.mod licenses mocks protobuf scion-topo test test-integration write_all_source_files
1
+ .PHONY : all build build-dev antlr clean docker-images gazelle go.mod licenses mocks protobuf scion-topo test test-integration write_all_source_files
2
2
3
- build : bazel
3
+ build-dev :
4
+ rm -f bin/*
5
+ bazel build //:scion //:scion-ci
6
+ tar -kxf bazel-bin/scion.tar -C bin
7
+ tar -kxf bazel-bin/scion-ci.tar -C bin
8
+
9
+ build :
10
+ rm -f bin/*
11
+ bazel build //:scion
12
+ tar -kxf bazel-bin/scion.tar -C bin
4
13
5
14
# all: performs the code-generation steps and then builds; the generated code
6
15
# is git controlled, and therefore this is only necessary when changing the
7
16
# sources for the code generation.
8
17
# Use NOTPARALLEL to force correct order.
9
18
# Note: From GNU make 4.4, this still allows building any other targets (e.g. lint) in parallel.
10
19
.NOTPARALLEL : all
11
- all : go_deps.bzl protobuf mocks gazelle build antlr write_all_source_files licenses
20
+ all : go_deps.bzl protobuf mocks gazelle build-dev antlr write_all_source_files licenses
12
21
13
22
clean :
14
23
bazel clean
@@ -18,12 +27,6 @@ scrub:
18
27
bazel clean --expunge
19
28
rm -f bin/*
20
29
21
- bazel :
22
- rm -f bin/*
23
- bazel build //:scion //:scion-ci
24
- tar -kxf bazel-bin/scion.tar -C bin
25
- tar -kxf bazel-bin/scion-ci.tar -C bin
26
-
27
30
test :
28
31
bazel test --config=unit_all
29
32
Original file line number Diff line number Diff line change 72
72
73
73
make
74
74
75
+ .. hint :: This builds tools for tests in addition to the main SCION services (e.g., `end2end`);
76
+ if you don't require those, you can only build the SCION services by running ``make build ``.
77
+
75
78
#. Finally, check that tests run correctly:
76
79
77
80
.. code-block :: bash
You can’t perform that action at this time.
0 commit comments