mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 18:27:05 +08:00
github actions decrease max ccache size
- lower compression level to 5 as recommended by ccache manual
This commit is contained in:
@@ -52,8 +52,8 @@ jobs:
|
|||||||
mkdir -p ~/.ccache
|
mkdir -p ~/.ccache
|
||||||
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
||||||
echo "compression = true" >> ~/.ccache/ccache.conf
|
echo "compression = true" >> ~/.ccache/ccache.conf
|
||||||
echo "compression_level = 6" >> ~/.ccache/ccache.conf
|
echo "compression_level = 5" >> ~/.ccache/ccache.conf
|
||||||
echo "max_size = 400M" >> ~/.ccache/ccache.conf
|
echo "max_size = 100M" >> ~/.ccache/ccache.conf
|
||||||
ccache -s
|
ccache -s
|
||||||
ccache -z
|
ccache -z
|
||||||
- name: check environment
|
- name: check environment
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ jobs:
|
|||||||
mkdir -p ~/.ccache
|
mkdir -p ~/.ccache
|
||||||
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
||||||
echo "compression = true" >> ~/.ccache/ccache.conf
|
echo "compression = true" >> ~/.ccache/ccache.conf
|
||||||
echo "compression_level = 6" >> ~/.ccache/ccache.conf
|
echo "compression_level = 5" >> ~/.ccache/ccache.conf
|
||||||
echo "max_size = 400M" >> ~/.ccache/ccache.conf
|
echo "max_size = 100M" >> ~/.ccache/ccache.conf
|
||||||
ccache -s
|
ccache -s
|
||||||
ccache -z
|
ccache -z
|
||||||
|
|
||||||
|
|||||||
@@ -43,8 +43,8 @@ jobs:
|
|||||||
mkdir -p ~/.ccache
|
mkdir -p ~/.ccache
|
||||||
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
||||||
echo "compression = true" >> ~/.ccache/ccache.conf
|
echo "compression = true" >> ~/.ccache/ccache.conf
|
||||||
echo "compression_level = 6" >> ~/.ccache/ccache.conf
|
echo "compression_level = 5" >> ~/.ccache/ccache.conf
|
||||||
echo "max_size = 400M" >> ~/.ccache/ccache.conf
|
echo "max_size = 100M" >> ~/.ccache/ccache.conf
|
||||||
ccache -s
|
ccache -s
|
||||||
ccache -z
|
ccache -z
|
||||||
|
|
||||||
|
|||||||
@@ -39,8 +39,8 @@ jobs:
|
|||||||
mkdir -p ~/.ccache
|
mkdir -p ~/.ccache
|
||||||
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
||||||
echo "compression = true" >> ~/.ccache/ccache.conf
|
echo "compression = true" >> ~/.ccache/ccache.conf
|
||||||
echo "compression_level = 6" >> ~/.ccache/ccache.conf
|
echo "compression_level = 5" >> ~/.ccache/ccache.conf
|
||||||
echo "max_size = 400M" >> ~/.ccache/ccache.conf
|
echo "max_size = 100M" >> ~/.ccache/ccache.conf
|
||||||
ccache -s
|
ccache -s
|
||||||
ccache -z
|
ccache -z
|
||||||
|
|
||||||
|
|||||||
@@ -43,8 +43,8 @@ jobs:
|
|||||||
mkdir -p ~/.ccache
|
mkdir -p ~/.ccache
|
||||||
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
||||||
echo "compression = true" >> ~/.ccache/ccache.conf
|
echo "compression = true" >> ~/.ccache/ccache.conf
|
||||||
echo "compression_level = 6" >> ~/.ccache/ccache.conf
|
echo "compression_level = 5" >> ~/.ccache/ccache.conf
|
||||||
echo "max_size = 400M" >> ~/.ccache/ccache.conf
|
echo "max_size = 100M" >> ~/.ccache/ccache.conf
|
||||||
ccache -s
|
ccache -s
|
||||||
ccache -z
|
ccache -z
|
||||||
|
|
||||||
|
|||||||
@@ -100,8 +100,8 @@ jobs:
|
|||||||
mkdir -p ~/.ccache
|
mkdir -p ~/.ccache
|
||||||
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
||||||
echo "compression = true" >> ~/.ccache/ccache.conf
|
echo "compression = true" >> ~/.ccache/ccache.conf
|
||||||
echo "compression_level = 6" >> ~/.ccache/ccache.conf
|
echo "compression_level = 5" >> ~/.ccache/ccache.conf
|
||||||
echo "max_size = 400M" >> ~/.ccache/ccache.conf
|
echo "max_size = 100M" >> ~/.ccache/ccache.conf
|
||||||
ccache -s
|
ccache -s
|
||||||
ccache -z
|
ccache -z
|
||||||
|
|
||||||
|
|||||||
@@ -43,8 +43,8 @@ jobs:
|
|||||||
mkdir -p ~/.ccache
|
mkdir -p ~/.ccache
|
||||||
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
||||||
echo "compression = true" >> ~/.ccache/ccache.conf
|
echo "compression = true" >> ~/.ccache/ccache.conf
|
||||||
echo "compression_level = 6" >> ~/.ccache/ccache.conf
|
echo "compression_level = 5" >> ~/.ccache/ccache.conf
|
||||||
echo "max_size = 400M" >> ~/.ccache/ccache.conf
|
echo "max_size = 100M" >> ~/.ccache/ccache.conf
|
||||||
ccache -s
|
ccache -s
|
||||||
ccache -z
|
ccache -z
|
||||||
|
|
||||||
|
|||||||
@@ -43,8 +43,8 @@ jobs:
|
|||||||
mkdir -p ~/.ccache
|
mkdir -p ~/.ccache
|
||||||
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
||||||
echo "compression = true" >> ~/.ccache/ccache.conf
|
echo "compression = true" >> ~/.ccache/ccache.conf
|
||||||
echo "compression_level = 6" >> ~/.ccache/ccache.conf
|
echo "compression_level = 5" >> ~/.ccache/ccache.conf
|
||||||
echo "max_size = 400M" >> ~/.ccache/ccache.conf
|
echo "max_size = 100M" >> ~/.ccache/ccache.conf
|
||||||
ccache -s
|
ccache -s
|
||||||
ccache -z
|
ccache -z
|
||||||
|
|
||||||
|
|||||||
@@ -49,8 +49,8 @@ jobs:
|
|||||||
mkdir -p ~/.ccache
|
mkdir -p ~/.ccache
|
||||||
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
||||||
echo "compression = true" >> ~/.ccache/ccache.conf
|
echo "compression = true" >> ~/.ccache/ccache.conf
|
||||||
echo "compression_level = 6" >> ~/.ccache/ccache.conf
|
echo "compression_level = 5" >> ~/.ccache/ccache.conf
|
||||||
echo "max_size = 400M" >> ~/.ccache/ccache.conf
|
echo "max_size = 100M" >> ~/.ccache/ccache.conf
|
||||||
ccache -s
|
ccache -s
|
||||||
ccache -z
|
ccache -z
|
||||||
|
|
||||||
|
|||||||
@@ -44,8 +44,8 @@ jobs:
|
|||||||
mkdir -p ~/.ccache
|
mkdir -p ~/.ccache
|
||||||
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
||||||
echo "compression = true" >> ~/.ccache/ccache.conf
|
echo "compression = true" >> ~/.ccache/ccache.conf
|
||||||
echo "compression_level = 6" >> ~/.ccache/ccache.conf
|
echo "compression_level = 5" >> ~/.ccache/ccache.conf
|
||||||
echo "max_size = 400M" >> ~/.ccache/ccache.conf
|
echo "max_size = 100M" >> ~/.ccache/ccache.conf
|
||||||
ccache -s
|
ccache -s
|
||||||
ccache -z
|
ccache -z
|
||||||
|
|
||||||
|
|||||||
@@ -49,8 +49,8 @@ jobs:
|
|||||||
mkdir -p ~/.ccache
|
mkdir -p ~/.ccache
|
||||||
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf
|
||||||
echo "compression = true" >> ~/.ccache/ccache.conf
|
echo "compression = true" >> ~/.ccache/ccache.conf
|
||||||
echo "compression_level = 6" >> ~/.ccache/ccache.conf
|
echo "compression_level = 5" >> ~/.ccache/ccache.conf
|
||||||
echo "max_size = 400M" >> ~/.ccache/ccache.conf
|
echo "max_size = 100M" >> ~/.ccache/ccache.conf
|
||||||
ccache -s
|
ccache -s
|
||||||
ccache -z
|
ccache -z
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user