Skip to content

Commit

Permalink
Merge pull request #36 from AkihiroSuda/gha
Browse files Browse the repository at this point in the history
configure.ac: Downgrade autoconf from 2.71 to 2.59 ; Add CI (GitHub Actions)
  • Loading branch information
danielinux authored Dec 22, 2021
2 parents 74278b9 + 47fb6c8 commit 506ce85
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "CI"
on:
push:
pull_request:
workflow_dispatch:
jobs:
smoke:
name: "Smoke test"
strategy:
matrix:
os: [ubuntu-20.04, macos-11]
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- name: "Check out"
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: "Install dependencies (Linux)"
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y autoconf automake
- name: "Install dependencies (macOS)"
if: runner.os == 'macOS'
run: brew install autoconf automake
- name: "Build"
run: |
autoreconf -fis
./configure --prefix=/opt/vde
make
sudo make install
- name: "Smoke test"
run: |
/opt/vde/bin/vde_switch --version
3 changes: 1 addition & 2 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- Autoconf -*-/
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.71])
AC_PREREQ([2.59])
AC_INIT([vde2],[2.3.2],[info@v2.cs.unibo.it])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([foreign dist-bzip2 subdir-objects])
Expand Down Expand Up @@ -32,7 +32,6 @@ AC_CHECK_LIB([pcap], [pcap_open_dead],
[add_pcap=no ; warn_pcap=yes])

# Checks for header files.
AC_CHECK_INCLUDES_DEFAULT
AC_PROG_EGREP

AC_HEADER_SYS_WAIT
Expand Down

0 comments on commit 506ce85

Please sign in to comment.