diff --git a/.github/workflows/bloaty.yml b/.github/workflows/bloaty.yml deleted file mode 100644 index 51d0b0c75b..0000000000 --- a/.github/workflows/bloaty.yml +++ /dev/null @@ -1,72 +0,0 @@ -name: Bloaty Builds - -on: - push: - branches: - - 'master' - pull_request: - branches: - - '*' - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - ubuntu_release: [ - #bionic, - focal - ] - config: [ - px4_fmu-v2_default, - px4_fmu-v4_default, - px4_fmu-v4_optimized, - px4_fmu-v5_default, - px4_fmu-v5_optimized, - px4_fmu-v5x_default, - px4_io-v2_default, - ] - container: px4io/px4-dev-nuttx-${{matrix.ubuntu_release}}:2020-04-01 - steps: - - uses: actions/checkout@v1 - with: - token: ${{secrets.ACCESS_TOKEN}} - - - name: Prepare ccache timestamp - id: ccache_cache_timestamp - shell: cmake -P {0} - run: | - string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) - message("::set-output name=timestamp::${current_date}") - - name: ccache cache files - uses: actions/cache@v2 - with: - path: ~/.ccache - key: ${{matrix.config}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}} - restore-keys: ${{matrix.config}}-ccache- - - name: setup ccache - run: | - mkdir -p ~/.ccache - echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf - echo "compression = true" >> ~/.ccache/ccache.conf - echo "compression_level = 6" >> ~/.ccache/ccache.conf - echo "max_size = 400M" >> ~/.ccache/ccache.conf - ccache -s - ccache -z - - - name: make ${{matrix.config}} - run: make ${{matrix.config}} - - name: make ${{matrix.config}} bloaty_compileunits - run: make ${{matrix.config}} bloaty_compileunits - - name: make ${{matrix.config}} bloaty_inlines - run: make ${{matrix.config}} bloaty_inlines - - name: make ${{matrix.config}} bloaty_segments - run: make ${{matrix.config}} bloaty_segments - - name: make ${{matrix.config}} bloaty_symbols - run: make ${{matrix.config}} bloaty_symbols - - name: make ${{matrix.config}} bloaty_templates - run: make ${{matrix.config}} bloaty_templates - - name: make ${{matrix.config}} bloaty_compare_master - run: make ${{matrix.config}} bloaty_compare_master - - name: ccache post-run - run: ccache -s diff --git a/.github/workflows/build_tests.yml b/.github/workflows/build_tests.yml index 0ef583b18b..35c32524a4 100644 --- a/.github/workflows/build_tests.yml +++ b/.github/workflows/build_tests.yml @@ -1,4 +1,4 @@ -name: Build Tests +name: Tests on: push: @@ -38,8 +38,8 @@ jobs: uses: actions/cache@v2 with: path: ~/.ccache - key: ${{matrix.ubuntu_release}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}} - restore-keys: ${{matrix.ubuntu_release}}-ccache- + key: tests_${{matrix.ubuntu_release}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}} + restore-keys: tests_${{matrix.ubuntu_release}}-ccache- - name: setup ccache run: | mkdir -p ~/.ccache diff --git a/.github/workflows/compile_nuttx.yml b/.github/workflows/compile_nuttx.yml index 561d75c96f..9e73323d95 100644 --- a/.github/workflows/compile_nuttx.yml +++ b/.github/workflows/compile_nuttx.yml @@ -87,6 +87,18 @@ jobs: - name: make ${{matrix.config}} run: make ${{matrix.config}} + - name: make ${{matrix.config}} bloaty_compileunits + run: make ${{matrix.config}} bloaty_compileunits + - name: make ${{matrix.config}} bloaty_inlines + run: make ${{matrix.config}} bloaty_inlines + - name: make ${{matrix.config}} bloaty_segments + run: make ${{matrix.config}} bloaty_segments + - name: make ${{matrix.config}} bloaty_symbols + run: make ${{matrix.config}} bloaty_symbols + - name: make ${{matrix.config}} bloaty_templates + run: make ${{matrix.config}} bloaty_templates + - name: make ${{matrix.config}} bloaty_compare_master + run: make ${{matrix.config}} bloaty_compare_master - name: ccache post-run run: ccache -s diff --git a/.github/workflows/sitl_tests.yml b/.github/workflows/sitl_tests.yml index ef41c2c3f1..718aa1fe52 100644 --- a/.github/workflows/sitl_tests.yml +++ b/.github/workflows/sitl_tests.yml @@ -40,8 +40,8 @@ jobs: uses: actions/cache@v2 with: path: ~/.ccache - key: ${{matrix.ubuntu_release}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}} - restore-keys: ${{matrix.ubuntu_release}}-ccache- + key: sitl_tests_${{matrix.ubuntu_release}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}} + restore-keys: sitl_tests_${{matrix.ubuntu_release}}-ccache- - name: setup ccache run: | mkdir -p ~/.ccache