Skip to content

Handling encoding issues on netplan status #1074

Handling encoding issues on netplan status

Handling encoding issues on netplan status #1074

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