Skip to content

chore(version): bump version to 0.2.0 #9

chore(version): bump version to 0.2.0

chore(version): bump version to 0.2.0 #9

Workflow file for this run

name: CI
on:
push:
paths:
- "src/**"
- "tests/**"
- ".github/workflows/ci.yml"
pull_request:
paths:
- "src/**"
- "tests/**"
- ".github/workflows/ci.yml"
jobs:
test:
strategy:
fail-fast: false
matrix:
include:
- lua-version: "5.1"
- lua-version: "5.2"
- lua-version: "5.3"
- lua-version: "5.4"
- lua-version: "5.5"
- lua-version: "luajit"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: leafo/gh-actions-lua@v13
with:
luaVersion: ${{ matrix.lua-version }}
- uses: leafo/gh-actions-luarocks@v6
- name: Build
run: luarocks make rockspecs/bluelua-evdev-scm-1.rockspec
- name: Install busted
run: |
luarocks install busted
echo "$HOME/.luarocks/bin" >> "$GITHUB_PATH"
- name: Prepare uinput
run: |
echo 'KERNEL=="event*", SUBSYSTEM=="input", MODE="0666"' | sudo tee /etc/udev/rules.d/99-evdev-test.rules
sudo udevadm control --reload-rules
sudo modprobe uinput || true
sudo udevadm trigger --subsystem-match=input || true
test -e /dev/uinput
sudo chmod 666 /dev/uinput
- name: Test
run: busted