-
-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (64 loc) · 1.79 KB
/
ci.yml
File metadata and controls
69 lines (64 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
inputs:
stylua:
description: "StyLua"
type: boolean
default: false
luacheck:
description: "Luacheck"
type: boolean
default: false
markdownlint:
description: "Markdownlint"
type: boolean
default: false
tests:
description: "Tests"
type: boolean
default: false
docs:
description: "Docs"
type: boolean
default: false
release-please:
description: "Release Please"
type: boolean
default: false
publish-dev:
description: "Publish dev"
type: boolean
default: false
publish-release:
description: "Publish release"
type: boolean
default: false
jobs:
ci:
uses: BlueLua/.github/.github/workflows/ci.yml@main
secrets: inherit
# prettier-ignore
with:
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
linux: true
macos: false
windows: false
stylua: ${{ inputs.stylua || false }}
luacheck: ${{ inputs.luacheck || false }}
markdownlint: ${{ inputs.markdownlint || false }}
tests: ${{ inputs.tests || false }}
docs: ${{ inputs.docs || false }}
release-please: ${{ inputs.release-please || false }}
publish-dev: ${{ inputs.publish-dev || false }}
publish-release: ${{ inputs.publish-release || false }}