1
0
Fork 0
mirror of https://github.com/Raymo111/i3lock-color.git synced 2024-11-11 13:50:52 -05:00
i3lock-color/.github/workflows/Build Test.yml

26 lines
831 B
YAML
Raw Normal View History

name: Build Test
2020-05-10 16:35:13 -04:00
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2020-05-10 17:41:40 -04:00
- name: Install deps
2021-05-27 18:10:58 -04:00
run: |
sudo apt update
sudo apt install pkg-config libpam0g-dev libcairo2-dev libfontconfig1-dev libxcb-composite0-dev libev-dev libx11-xcb-dev libxcb-xkb-dev libxcb-xinerama0-dev libxcb-randr0-dev libxcb-image0-dev libxcb-util-dev libxcb-xrm-dev libxkbcommon-dev libxkbcommon-x11-dev libjpeg-dev
2021-05-27 18:10:58 -04:00
- name: Build
2021-05-27 19:55:13 -04:00
run: ./build.sh
2021-05-27 18:10:58 -04:00
- name: Check and distcheck
2021-05-27 19:55:13 -04:00
run: |
2021-05-27 18:10:58 -04:00
cd build
make check
make distcheck
2020-05-10 17:41:40 -04:00
- name: Upload binary artifact
uses: actions/upload-artifact@v2
2020-05-10 16:35:13 -04:00
with:
2020-05-10 17:02:07 -04:00
name: i3lock
path: /home/runner/work/i3lock-color/i3lock-color/build/i3lock
2020-10-09 14:18:25 -04:00
- run: ./install-i3lock-color.sh