@@ -154,7 +154,8 @@ jobs:
154154 mod : 42 # Picked at random to give 4-5 builds and exit.
155155 rem : 13
156156 run : |
157- sudo apt-get install python3-pip python3-setuptools
157+ sudo apt update
158+ sudo apt install python3-pip python3-setuptools
158159 PATH=/home/runner/.local/bin:$PATH bash ./tests/platformio.sh
159160
160161
@@ -174,7 +175,8 @@ jobs:
174175 TRAVIS_BUILD_DIR : ${{ github.workspace }}
175176 TRAVIS_TAG : ${{ github.ref }}
176177 run : |
177- sudo apt-get install valgrind lcov
178+ sudo apt update
179+ sudo apt install valgrind lcov
178180 bash ./tests/ci/host_test.sh
179181
180182
@@ -194,7 +196,8 @@ jobs:
194196 TRAVIS_BUILD_DIR : ${{ github.workspace }}
195197 TRAVIS_TAG : ${{ github.ref }}
196198 run : |
197- sudo apt-get install python3-pip python3-setuptools
199+ sudo apt update
200+ sudo apt install python3-pip python3-setuptools
198201 # GitHub CI installs pip3 and setuptools outside the path.
199202 # Update the path to include them and run.
200203 PATH=/home/runner/.local/bin:$PATH pip3 install --user -r doc/requirements.txt
@@ -217,7 +220,8 @@ jobs:
217220 TRAVIS_BUILD_DIR : ${{ github.workspace }}
218221 TRAVIS_TAG : ${{ github.ref }}
219222 run : |
220- sudo apt-get install astyle
223+ sudo apt update
224+ sudo apt install astyle
221225 bash ./tests/ci/style_check.sh
222226
223227
@@ -251,9 +255,16 @@ jobs:
251255 - uses : actions/setup-python@v2
252256 with :
253257 python-version : ' 3.x'
258+ - name : Cache Linux toolchain
259+ id : cache-linux
260+ uses : actions/cache@v2
261+ with :
262+ path : ./tools/dist
263+ key : key-linux-toolchain
254264 - name : Boards.txt diff
255265 env :
256266 TRAVIS_BUILD_DIR : ${{ github.workspace }}
257267 TRAVIS_TAG : ${{ github.ref }}
258268 run : |
259269 bash ./tests/ci/build_boards.sh
270+ bash ./tests/ci/eboot_test.sh
0 commit comments