Skip to content

Add make github action workflow #1

Add make github action workflow

Add make github action workflow #1

Workflow file for this run

# Build SPADE with the autoconf/automake-based build system.
name: CI with Make
on:
# workflow_dispatch:
push:
branches: [ "mcp-dev" ]
pull_request:
branches: [ "mcp-dev" ]
jobs:
build:
strategy:
matrix:
os: [ubuntu-24.04, macos-26]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Install dependencies (Linux)
if: runner.os == 'Linux'
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y \
auditd autoconf automake bison clang cmake curl flex fuse \
git ifupdown libaudit-dev libfuse-dev linux-headers-`uname -r` \
lsof maven pkg-config unzip uthash-dev wget
- name: Install dependencies (macOS)
if: runner.os == 'macOS'
shell: bash
run: |
brew install autoconf automake git maven pkg-config
- name: Configure
run: ./configure
- name: Build (Linux)
if: runner.os == 'Linux'
run: make KERNEL_MODULES=true
- name: Build (macOS)
if: runner.os == 'macOS'
run: make