AP_Networking: add PPP software flow control #54083
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Macos Build | |
| on: | |
| push: | |
| paths-ignore: | |
| # remove other env install scripts | |
| - 'Tools/environment_install/install-ROS-ubuntu.sh' | |
| - 'Tools/environment_install/install-prereqs-arch.sh' | |
| - 'Tools/environment_install/install-prereqs-ubuntu.sh' | |
| - 'Tools/environment_install/install-prereqs-windows.ps1' | |
| # remove non esp32 HAL | |
| - 'libraries/AP_HAL_ESP32/**' | |
| # remove non SITL non stm32 directories | |
| - 'Tools/AP_Bootloader/**' | |
| - 'Tools/AP_Periph/**' | |
| - 'Tools/cameras_gimbals/**' | |
| - 'Tools/CHDK-Scripts/**' | |
| - 'Tools/CodeStyle/**' | |
| - 'Tools/completion/**' | |
| - 'Tools/CPUInfo/**' | |
| - 'Tools/debug/**' | |
| - 'Tools/FilterTestTool/**' | |
| - 'Tools/Frame_params/**' | |
| - 'Tools/geotag/**' | |
| - 'Tools/GIT_Test/**' | |
| - 'Tools/gittools/**' | |
| - 'Tools/Hello/**' | |
| - 'Tools/Linux_HAL_Essentials/**' | |
| - 'Tools/mavproxy_modules/**' | |
| - 'Tools/Pozyx/**' | |
| - 'Tools/PrintVersion.py' | |
| - 'Tools/Replay/**' | |
| - 'Tools/simulink/**' | |
| - 'Tools/terrain-tools/**' | |
| - 'Tools/UDP_Proxy/**' | |
| - 'Tools/vagrant/**' | |
| - 'Tools/Vicon/**' | |
| # Discard python file from Tools/scripts as not used | |
| - 'Tools/scripts/**.py' | |
| - 'Tools/scripts/build_sizes/**' | |
| - 'Tools/scripts/build_tests/**' | |
| - 'Tools/scripts/CAN/**' | |
| - 'Tools/scripts/signing/**' | |
| # Remove autotests stuff | |
| - 'Tools/autotest/**' | |
| # Remove markdown files as irrelevant | |
| - '**.md' | |
| # Remove dotfile at root directory | |
| - '.dir-locals.el' | |
| - '.dockerignore' | |
| - '.editorconfig' | |
| - '.flake8' | |
| - '.gitattributes' | |
| - '.github' | |
| - '.gitignore' | |
| - '.pre-commit-config.yaml' | |
| - '.pydevproject' | |
| - '.valgrind-suppressions' | |
| - '.valgrindrc' | |
| - 'Dockerfile' | |
| - 'Vagrantfile' | |
| - 'Makefile' | |
| # Remove some directories check | |
| - '.vscode/**' | |
| - '.github/ISSUE_TEMPLATE/**' | |
| # Remove change on other workflows | |
| - '.github/**' | |
| - '!.github/workflows/macos_build.yml' # except this one | |
| pull_request: | |
| paths-ignore: | |
| # remove other env install scripts | |
| - 'Tools/environment_install/install-ROS-ubuntu.sh' | |
| - 'Tools/environment_install/install-prereqs-arch.sh' | |
| - 'Tools/environment_install/install-prereqs-ubuntu.sh' | |
| - 'Tools/environment_install/install-prereqs-windows.ps1' | |
| # remove non esp32 HAL | |
| - 'libraries/AP_HAL_ESP32/**' | |
| # remove non SITL non stm32 directories | |
| - 'Tools/AP_Bootloader/**' | |
| - 'Tools/AP_Periph/**' | |
| - 'Tools/cameras_gimbals/**' | |
| - 'Tools/CHDK-Scripts/**' | |
| - 'Tools/CodeStyle/**' | |
| - 'Tools/completion/**' | |
| - 'Tools/CPUInfo/**' | |
| - 'Tools/debug/**' | |
| - 'Tools/FilterTestTool/**' | |
| - 'Tools/Frame_params/**' | |
| - 'Tools/geotag/**' | |
| - 'Tools/GIT_Test/**' | |
| - 'Tools/gittools/**' | |
| - 'Tools/Hello/**' | |
| - 'Tools/Linux_HAL_Essentials/**' | |
| - 'Tools/mavproxy_modules/**' | |
| - 'Tools/Pozyx/**' | |
| - 'Tools/PrintVersion.py' | |
| - 'Tools/Replay/**' | |
| - 'Tools/simulink/**' | |
| - 'Tools/terrain-tools/**' | |
| - 'Tools/UDP_Proxy/**' | |
| - 'Tools/vagrant/**' | |
| - 'Tools/Vicon/**' | |
| # Discard python file from Tools/scripts as not used | |
| - 'Tools/scripts/**.py' | |
| - 'Tools/scripts/build_sizes/**' | |
| - 'Tools/scripts/build_tests/**' | |
| - 'Tools/scripts/CAN/**' | |
| - 'Tools/scripts/signing/**' | |
| # Remove autotests stuff | |
| - 'Tools/autotest/**' | |
| # Remove markdown files as irrelevant | |
| - '**.md' | |
| # Remove dotfile at root directory | |
| - '.dir-locals.el' | |
| - '.dockerignore' | |
| - '.editorconfig' | |
| - '.flake8' | |
| - '.gitattributes' | |
| - '.github' | |
| - '.gitignore' | |
| - '.pre-commit-config.yaml' | |
| - '.pydevproject' | |
| - '.valgrind-suppressions' | |
| - '.valgrindrc' | |
| - 'Dockerfile' | |
| - 'Vagrantfile' | |
| - 'Makefile' | |
| # Remove some directories check | |
| - '.vscode/**' | |
| - '.github/ISSUE_TEMPLATE/**' | |
| # Remove change on other workflows | |
| - '.github/**' | |
| - '!.github/workflows/macos_build.yml' # except this one | |
| workflow_dispatch: | |
| concurrency: | |
| group: ci-${{github.workflow}}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read # checkout; jobs that save ccache add actions:write per-job | |
| jobs: | |
| build: | |
| permissions: | |
| contents: read | |
| actions: write # save-ccache prunes the previous cache entry | |
| runs-on: macos-latest | |
| strategy: | |
| fail-fast: false # don't cancel if a job from the matrix fails | |
| matrix: | |
| config: [ | |
| sitl, | |
| CubeOrange, | |
| ] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| submodules: 'recursive' | |
| - name: Install Prerequisites | |
| shell: bash | |
| run: | | |
| if [[ ${{ matrix.config }} == "sitl" ]]; then | |
| export DO_AP_STM_ENV=0 | |
| fi | |
| Tools/environment_install/install-prereqs-mac.sh -y | |
| source ~/.bash_profile | |
| - uses: ./.github/actions/setup-ccache | |
| with: | |
| key-suffix: ${{ matrix.config }} | |
| - name: test build ${{matrix.config}} | |
| env: | |
| CI_BUILD_TARGET: ${{matrix.config}} | |
| shell: bash | |
| run: | | |
| source ~/.bash_profile | |
| PATH="/github/home/.local/bin:$PATH" | |
| echo $PATH | |
| ./waf configure --board ${{matrix.config}} | |
| ./waf | |
| ./waf configure --board ${{matrix.config}} --debug | |
| ./waf | |
| ccache -s | |
| ccache -z | |
| - uses: ./.github/actions/save-ccache | |
| with: | |
| key-suffix: ${{ matrix.config }} |