mirror of
https://github.com/yaakov-h/scream-driver.git
synced 2024-10-16 15:50:02 +00:00
29 lines
487 B
YAML
29 lines
487 B
YAML
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 /dev/scream
|
|
|
|
- name: Read from device
|
|
run: head -c 2048 /dev/scream
|
|
|
|
- name: Unload kernel module
|
|
run: sudo rmmod scream.ko
|