Skip to content

Add new CI

Add new CI #1

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
build:
name: build-keylogger
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential
- name: Compile
run: make
- name: Run and terminate
run: |
if [ -d /dev/input ]; then
timeout 3s sudo out/keylogger
else
echo "No device"
fi
- name: Verify
run: |
ls -lh out/keylogger