Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
UseTab: true
TabWidth: 4
IndentWidth: 4
24 changes: 22 additions & 2 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,34 @@ name: Makefile CI

on:
push:
branches: [ "master" ]
branches: [ "*" ]
pull_request:
branches: [ "master" ]
branches: [ "*" ]

jobs:
build:
runs-on: ubuntu-latest
env:
CFLAGS: "-Wall"

steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: |
sudo .github/prepare_ubuntu.sh

- name: configure
run: ./configure

- name: Make
run: make

clang-build:
runs-on: ubuntu-latest
env:
CC: clang
CFLAGS: "-Wall"

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,11 @@ autom4te.cache
/autoscan.log
/autoscan-*.log
/aclocal.m4
/compile
/config.guess
/config.h.in
/config.log
/config.status
/config.sub
/configure
/configure.scan
/depcomp
/install-sh
/missing
/stamp-h1

# https://www.gnu.org/software/libtool/
Expand Down
Empty file added AUTHORS
Empty file.
Empty file added ChangeLog
Empty file.
1 change: 1 addition & 0 deletions INSTALL
5 changes: 5 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
OBJS = snmp_bulkget.o utils.o

libexec_PROGRAMS = check_interfaces

check_interfaces_LDADD = $(OBJS)
Loading