CI: cleanup after v1.1 release #264
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: Configuration fuzzing | |
# This action will compile netplan with ASAN (address sanitizer), | |
# generate random netplan YAML and call netplan generate against each | |
# one of them. | |
# The job will fail if issues are detected. | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- 'doc/**' | |
pull_request: | |
branches: [ '**' ] | |
paths-ignore: | |
- 'doc/**' | |
jobs: | |
config-fuzzer: | |
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 | |
sudo snap install node --classic | |
pull-lp-source netplan.io | |
# Workaround for https://bugs.launchpad.net/bugs/2048768 | |
sudo sysctl vm.mmap_rnd_bits=28 | |
mk-build-deps -i -B -s sudo netplan.io-*/debian/control | |
- name: Fuzzer Runner | |
run: | | |
cd tests/config_fuzzer | |
unbuffer bash runner.sh ../../ 1000 | |