-
Notifications
You must be signed in to change notification settings - Fork 7
72 lines (57 loc) · 1.59 KB
/
linux_dev.yml
File metadata and controls
72 lines (57 loc) · 1.59 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
70
71
72
name: Build (Debug) Lazyboard for Linux
on:
push:
branches: [ "dev"]
pull_request:
branches: ["dev"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
env:
APP_NAME: "Lazyboard"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust
shell: bash
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
echo "$HOME/.cargo/bin:$PATH" >> $GITHUB_PATH
- name: Install C++ libraries
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y \
git cmake make ccache \
qt6-base-dev clang
- name: Add Rust components
shell: bash
run: |
rustup component add clippy
- name: Linter Check (Backend)
shell: bash
run: |
make check-backend
- name: Backend Test
shell: bash
run: |
make backend-test
- name: Frontend + Backend FFI Test
shell: bash
run: |
make tests-ffi
- name: Build Lazyboard
shell: bash
run: |
make debug-non-gui
- name: Linter Check (Frontend)
shell: bash
run: |
make check-frontend
- name: Upload Release
uses: actions/upload-artifact@v4
with:
name: ${{ env.APP_NAME }}
path: build/${{ env.APP_NAME }}