Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
akiradeveloper committed May 8, 2024
1 parent 256a89b commit ed14137
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 18 deletions.
32 changes: 26 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,33 @@
name: CI

on: [pull_request]
on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
build:
run_tests:
name: Tests
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: icepuma/rust-action@master
- name: Checkout
uses: actions/checkout@v4

- name: Install dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
args: cargo build
packages: cargo dkms
version: 1.0

- name: Build module
working-directory: abuse-kmod
run: sudo make install

- name: Load module
run: sudo modprobe abuse

- name: Install abusectl
run: sudo cargo install -p abusectl
12 changes: 0 additions & 12 deletions Makefile

This file was deleted.

0 comments on commit ed14137

Please # to comment.