1
0
Fork 0
mirror of https://github.com/yaakov-h/scream-driver.git synced 2024-11-21 17:04:50 +00:00

use GitHub Actions for CI

This commit is contained in:
Yaakov 2024-08-11 21:44:29 +10:00
parent 18d20b8343
commit 49506749d1

29
.github/workflows/ci.yaml vendored Normal file
View file

@ -0,0 +1,29 @@
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Get code
uses: actions/checkout@v3
- name: Build kernel module
run: make
- name: Load kernel module
run: sudo insmod scream.ko
- name: Check for device
run: ls /dev/scream
- name: Read from device
run: head -c 2048 /dev/scream
- name: Unload kernel module
run: sudo rmmod scream.ko