File tree Expand file tree Collapse file tree 15 files changed +28
-28
lines changed
Expand file tree Collapse file tree 15 files changed +28
-28
lines changed Original file line number Diff line number Diff line change 6969 key : ${{env.cache-name}}
7070 path : ${{env.cache-root}}
7171 - name : Build
72- run : bazel --output_user_root=${{env.cache-root}} build --config=ci //ortools/... //examples/ ...
72+ run : bazel --output_user_root=${{env.cache-root}} build --config=ci //...
7373 - name : Test
74- run : bazel --output_user_root=${{env.cache-root}} test --config=ci //ortools/... //examples/ ...
74+ run : bazel --output_user_root=${{env.cache-root}} test --config=ci //...
7575 - name : Save Bazel cache for branch main even when Build and Test fail.
7676 uses : actions/cache/save@v4
7777 # https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching#restrictions-for-accessing-a-cache
Original file line number Diff line number Diff line change 6363 key : ${{env.cache-name}}
6464 path : ${{env.cache-root}}
6565 - name : Build
66- run : bazel --output_user_root=${{env.cache-root}} build --config=ci //ortools/... //examples/ ...
66+ run : bazel --output_user_root=${{env.cache-root}} build --config=ci //...
6767 - name : Test
68- run : bazel --output_user_root=${{env.cache-root}} test --config=ci //ortools/... //examples/ ...
68+ run : bazel --output_user_root=${{env.cache-root}} test --config=ci //...
6969 - name : Save Bazel cache for branch main even when Build and Test fail.
7070 uses : actions/cache/save@v4
7171 # https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching#restrictions-for-accessing-a-cache
Original file line number Diff line number Diff line change 5858 key : ${{env.cache-name}}
5959 path : ${{env.cache-root}}
6060 - name : Build
61- run : bazel --output_user_root=${{env.cache-root}} build --config=ci //ortools/... //examples/ ...
61+ run : bazel --output_user_root=${{env.cache-root}} build --config=ci //...
6262 - name : Test
63- run : bazel --output_user_root=${{env.cache-root}} test --config=ci //ortools/... //examples/ ...
63+ run : bazel --output_user_root=${{env.cache-root}} test --config=ci //...
6464 - name : Save Bazel cache for branch main even when Build and Test fail.
6565 uses : actions/cache/save@v4
6666 # https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching#restrictions-for-accessing-a-cache
Original file line number Diff line number Diff line change 6363 key : ${{env.cache-name}}
6464 path : ${{env.cache-root}}
6565 - name : Build
66- run : bazel --output_user_root=${{env.cache-root}} build --config=ci //ortools/... //examples/ ...
66+ run : bazel --output_user_root=${{env.cache-root}} build --config=ci //...
6767 - name : Test
68- run : bazel --output_user_root=${{env.cache-root}} test --config=ci //ortools/... //examples/ ...
68+ run : bazel --output_user_root=${{env.cache-root}} test --config=ci //...
6969 - name : Save Bazel cache for branch main even when Build and Test fail.
7070 uses : actions/cache/save@v4
7171 # https://docs.github.com/en/actions/reference/workflows-and-actions/dependency-caching#restrictions-for-accessing-a-cache
Original file line number Diff line number Diff line change @@ -73,13 +73,13 @@ OR-Tools depends on several mandatory libraries.
7373## Compilation
7474
7575``` sh
76- bazel build -c opt //ortools/... //examples/ ...
76+ bazel build -c opt //...
7777```
7878
7979## Testing
8080
8181``` sh
82- bazel test -c opt //ortools/... //examples/ ...
82+ bazel test -c opt //...
8383```
8484
8585## Integration
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ COPY . .
3636
3737FROM devel AS build
3838RUN bazel version
39- RUN bazel build --config=ci //ortools/... //examples/ ...
39+ RUN bazel build --config=ci //...
4040
4141FROM build AS test
42- RUN bazel test --config=ci //ortools/... //examples/ ...
42+ RUN bazel test --config=ci //...
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ COPY . .
2424
2525FROM devel AS build
2626RUN bazel version
27- RUN bazel build --config=ci //ortools/... //examples/ ...
27+ RUN bazel build --config=ci //...
2828
2929FROM build AS test
30- RUN bazel test --config=ci //ortools/... //examples/ ...
30+ RUN bazel test --config=ci //...
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ COPY . .
1616
1717FROM devel AS build
1818RUN bazel version
19- RUN bazel build --config=ci //ortools/... //examples/ ...
19+ RUN bazel build --config=ci //...
2020
2121FROM build AS test
22- RUN bazel test --config=ci //ortools/... //examples/ ...
22+ RUN bazel test --config=ci //...
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ COPY . .
2323
2424FROM devel AS build
2525RUN bazel version
26- RUN bazel build --config=ci //ortools/... //examples/ ...
26+ RUN bazel build --config=ci //...
2727
2828FROM build AS test
29- RUN bazel test --config=ci //ortools/... //examples/ ...
29+ RUN bazel test --config=ci //...
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ COPY . .
3636
3737FROM devel AS build
3838RUN bazel version
39- RUN bazel build --config=ci //ortools/... //examples/ ...
39+ RUN bazel build --config=ci //...
4040
4141FROM build AS test
42- RUN bazel test --config=ci //ortools/... //examples/ ...
42+ RUN bazel test --config=ci //...
You can’t perform that action at this time.
0 commit comments