mirror of
https://github.com/yaakov-h/scream-driver.git
synced 2024-11-25 02:34:48 +00:00
Compare commits
4 commits
18d20b8343
...
6942de53ae
Author | SHA1 | Date | |
---|---|---|---|
6942de53ae | |||
55dbaae2a8 | |||
9e1e3c0991 | |||
49506749d1 |
1 changed files with 29 additions and 0 deletions
29
.github/workflows/ci.yaml
vendored
Normal file
29
.github/workflows/ci.yaml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
ci:
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
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 -l /dev/scream
|
||||||
|
|
||||||
|
- name: Read from device
|
||||||
|
run: head -c 2048 /dev/scream
|
||||||
|
|
||||||
|
- name: Unload kernel module
|
||||||
|
run: sudo rmmod scream.ko
|
Loading…
Reference in a new issue