mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 12:01:42 +08:00
ci: disable ccache for now
This commit is contained in:
@@ -38,23 +38,23 @@ jobs:
|
|||||||
name: Set timestamp for cache
|
name: Set timestamp for cache
|
||||||
run: echo "::set-output name=timestamp::$(date +"%Y%m%d%H%M%S")"
|
run: echo "::set-output name=timestamp::$(date +"%Y%m%d%H%M%S")"
|
||||||
|
|
||||||
- name: Cache Key Config
|
# - name: Cache Key Config
|
||||||
uses: actions/cache@v4
|
# uses: actions/cache@v4
|
||||||
with:
|
# with:
|
||||||
path: ~/.ccache
|
# path: ~/.ccache
|
||||||
key: sitl-ccache-${{ steps.set-timestamp.outputs.timestamp }}
|
# key: sitl-ccache-${{ steps.set-timestamp.outputs.timestamp }}
|
||||||
restore-keys: sitl-ccache-${{ steps.set-timestamp.outputs.timestamp }}
|
# restore-keys: sitl-ccache-${{ steps.set-timestamp.outputs.timestamp }}
|
||||||
|
|
||||||
- name: Cache Conf Config
|
# - name: Cache Conf Config
|
||||||
run: |
|
# run: |
|
||||||
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 = 6" >> ~/.ccache/ccache.conf
|
||||||
echo "max_size = 120M" >> ~/.ccache/ccache.conf
|
# echo "max_size = 120M" >> ~/.ccache/ccache.conf
|
||||||
echo "hash_dir = false" >> ~/.ccache/ccache.conf
|
# echo "hash_dir = false" >> ~/.ccache/ccache.conf
|
||||||
ccache -s
|
# ccache -s
|
||||||
ccache -z
|
# ccache -z
|
||||||
|
|
||||||
- name: Build and load container image
|
- name: Build and load container image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
@@ -79,15 +79,15 @@ jobs:
|
|||||||
options: -v ${{ github.workspace }}:/workspace
|
options: -v ${{ github.workspace }}:/workspace
|
||||||
run: |
|
run: |
|
||||||
make px4_sitl_default
|
make px4_sitl_default
|
||||||
ccache -s
|
# ccache -s
|
||||||
make px4_sitl_default sitl_gazebo-classic
|
make px4_sitl_default sitl_gazebo-classic
|
||||||
ccache -s
|
# ccache -s
|
||||||
wget "https://github.com/mavlink/MAVSDK/releases/download/v$(cat test/mavsdk_tests/MAVSDK_VERSION)/libmavsdk-dev_$(cat test/mavsdk_tests/MAVSDK_VERSION)_ubuntu20.04_amd64.deb"
|
wget "https://github.com/mavlink/MAVSDK/releases/download/v$(cat test/mavsdk_tests/MAVSDK_VERSION)/libmavsdk-dev_$(cat test/mavsdk_tests/MAVSDK_VERSION)_ubuntu20.04_amd64.deb"
|
||||||
dpkg -i "libmavsdk-dev_$(cat test/mavsdk_tests/MAVSDK_VERSION)_ubuntu20.04_amd64.deb"
|
dpkg -i "libmavsdk-dev_$(cat test/mavsdk_tests/MAVSDK_VERSION)_ubuntu20.04_amd64.deb"
|
||||||
export
|
export
|
||||||
ulimit -a
|
ulimit -a
|
||||||
make px4_sitl_default sitl_gazebo-classic mavsdk_tests
|
make px4_sitl_default sitl_gazebo-classic mavsdk_tests
|
||||||
ccache -s
|
# ccache -s
|
||||||
ulimit -c unlimited
|
ulimit -c unlimited
|
||||||
echo "`pwd`/%e.core" > /proc/sys/kernel/core_pattern
|
echo "`pwd`/%e.core" > /proc/sys/kernel/core_pattern
|
||||||
test/mavsdk_tests/mavsdk_test_runner.py --speed-factor 10 --abort-early --model ${{matrix.config.model}} --upload test/mavsdk_tests/configs/sitl.json --verbose
|
test/mavsdk_tests/mavsdk_test_runner.py --speed-factor 10 --abort-early --model ${{matrix.config.model}} --upload test/mavsdk_tests/configs/sitl.json --verbose
|
||||||
|
|||||||
Reference in New Issue
Block a user