-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (35 loc) · 1.16 KB
/
check.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: check
on:
workflow_dispatch:
push:
branches: [ "develop" ]
env:
RUSTDOCFLAGS: "-D warnings"
RUSTFLAGS: "-D warnings"
jobs:
ubuntu:
runs-on: ubuntu-22.04
steps:
- name: checkout repository
uses: actions/checkout@v4
- name: setup rust cache
uses: Swatinem/rust-cache@v2
- name: install rust tools
run: cargo install --debug cargo-make
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install libx11-dev libxext-dev libxft-dev libxinerama-dev libxcursor-dev libxrender-dev libxfixes-dev libpango1.0-dev libgl1-mesa-dev libglu1-mesa-dev libgtk-3-bin libwayland-dev wayland-protocols libdbus-1-dev libxkbcommon-dev xdg-utils xvfb -y --no-install-recommends
- name: check
run: cargo make --no-workspace ci-check
windows:
runs-on: windows-2022
steps:
- name: checkout repository
uses: actions/checkout@v4
- name: setup rust cache
uses: Swatinem/rust-cache@v2
- name: install rust tools
run: cargo install --debug cargo-make
- name: check
run: cargo make --no-workspace ci-check