summarylogtreecommitdiffstats
path: root/.drone.yml
blob: bb48fcec3b18357087fa81d87957c06d60c412fc (plain)
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
kind: pipeline
name: default

steps:
- name: build
  image: archlinux/base
  commands:
    - mkdir build
    - chgrp nobody build
    - chmod g+ws build
    - setfacl -m u::rwx,g::rwx build
    - setfacl -d --set u::rwx,g::rwx,o::r build
    - ls
    - pacman -Sy --noconfirm binutils sudo grep fakeroot file
    - pacman -S --noconfirm upower
    - mv PKGBUILD build/
    - pushd build
    - sudo -u nobody makepkg -c
    - ls -la
    - popd
    - mv build/kbdlightx1-* ./
    - mv build/PKGBUILD ./
- name: test
  image: archlinux/base
  commands:
    - pacman -Sy --noconfirm namcap grep
    - namcap PKGBUILD
    - namcap kbdlightx1-*