forked from elkowar/eww
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (28 loc) · 884 Bytes
/
build.yml
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
name: build
on:
#push:
#branches: [master]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install libgtk-3-dev libgtk-layer-shell-dev
- name: Set up
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt
- uses: actions/checkout@v2
- uses: Swatinem/rust-cache@v1
- name: Build x11
run: cargo check --no-default-features --features=x11
- name: Build wayland
run: cargo check --no-default-features --features=wayland
- name: Build no-x11-wayland
run: cargo check --no-default-features --features=no-x11-wayland