Skip to content

Commit 914a08e

Browse files
authored
fix: シナリオテストCIのディスク容量不足問題を修正 (#1119)
1 parent fdc2f0a commit 914a08e

File tree

2 files changed

+23
-9
lines changed

2 files changed

+23
-9
lines changed

.github/workflows/scenario_test.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
matrix:
2020
rosdistro: [jazzy]
2121
steps:
22+
- name: free disk
23+
uses: jlumbroso/free-disk-space@main
24+
with:
25+
tool-cache: false
2226
- uses: actions/checkout@v5
2327
with:
2428
fetch-depth: 0
@@ -96,6 +100,10 @@ jobs:
96100

97101
runs-on: ubuntu-latest
98102
steps:
103+
- name: free disk
104+
uses: jlumbroso/free-disk-space@main
105+
with:
106+
tool-cache: false
99107
- uses: actions/checkout@v5
100108
with:
101109
fetch-depth: 0
@@ -120,7 +128,11 @@ jobs:
120128
run: |
121129
python -m venv env
122130
source env/bin/activate
123-
python -m pip list
131+
python -m pip install --upgrade pip
132+
sudo apt update
133+
sudo apt install -y protobuf-compiler
134+
pip install -v git+https://github.com/SSL-Roots/robocup_scenario_test
135+
pip install pytest
124136
125137
- name: Start Docker Compose services
126138
run: |

docker/scenario/Dockerfile

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
FROM ghcr.io/ibis-ssl/crane:base
22

3-
ENV ROS_OVERLAY /root/ibis_ws
4-
ENV PATH $PATH:/usr/local/go/bin
3+
ENV ROS_OVERLAY=/root/ibis_ws
4+
ENV PATH=$PATH:/usr/local/go/bin
55
WORKDIR $ROS_OVERLAY/src
66
SHELL ["/bin/bash", "-c"]
77

88
# cspell:ignore MAXSIZE
9-
ENV PATH="/usr/lib/ccache:${PATH}"
10-
ENV CC="/usr/lib/ccache/gcc"
11-
ENV CXX="/usr/lib/ccache/g++"
12-
ENV CCACHE_DIR=/root/.ccache
13-
ENV CCACHE_MAXSIZE=10G
14-
ENV USE_CCACHE=1
9+
ENV PATH="/usr/lib/ccache:${PATH}" \
10+
CC="/usr/lib/ccache/gcc" \
11+
CXX="/usr/lib/ccache/g++" \
12+
CCACHE_DIR=/root/.ccache \
13+
CCACHE_MAXSIZE=10G \
14+
CCACHE_COMPRESS=1 \
15+
CCACHE_COMPRESSLEVEL=6 \
16+
USE_CCACHE=1
1517

1618
COPY dependency_*.repos crane/
1719

0 commit comments

Comments
 (0)