RFC: New "networkmanager.passthrough" structure (LP: #2080301) #1110
Workflow file for this run
This file contains 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: Check for memory issues | |
# This action will compile netplan with ASAN (address sanitizer) and run | |
# all the C unit tests and call the generator for every single file in the | |
# examples directory. | |
# The job will fail if a memory issue is detected by ASAN. | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- 'doc/**' | |
pull_request: | |
branches: [ '**' ] | |
paths-ignore: | |
- 'doc/**' | |
jobs: | |
memory-sanitizer: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install build depends | |
run: | | |
echo "APT::Get::Always-Include-Phased-Updates \"true\";" | sudo tee /etc/apt/apt.conf.d/90phased-updates | |
sudo apt update | |
sudo apt -y install curl expect ubuntu-dev-tools devscripts equivs | |
pull-lp-source netplan.io | |
mk-build-deps -i -B -s sudo netplan.io-*/debian/control | |
- name: Run unit tests | |
run: | | |
unbuffer ./tools/run_asan.sh | |