Added ubiquiti as a vendor with its ID (#112) #178
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: full-check | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install_dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get remove -yq libgd3 nginx | |
sudo apt-get install -yq libgd-dev libpng-dev zlib1g-dev | |
- name: build_and_install | |
run: | | |
cd src | |
./bootstrap | |
./configure | |
make | |
make doc | |
sudo make install | |
- name: unit_test | |
run: | | |
cd src | |
prove | |
- name: functional_test | |
run: | | |
mkdir test-mrtg | |
cd test-mrtg | |
echo "WorkDir: $GITHUB_WORKSPACE/test-mrtg" > mrtg.cfg | |
LANG=C /opt/mrtg-2/bin/mrtg mrtg.cfg | |
ls | |
ls | egrep mrtg-r.png | |
ls | egrep mrtg.ok |