-
Notifications
You must be signed in to change notification settings - Fork 7
53 lines (42 loc) · 1.11 KB
/
major.yml
File metadata and controls
53 lines (42 loc) · 1.11 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
name: Build (Debug) Lazyboard for Linux
on:
push:
branches: [ "major"]
pull_request:
branches: ["major"]
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: Add Rust components
shell: bash
run: |
rustup component add clippy
- name: Linter Check
shell: bash
run: |
make check
- name: Backend Test
shell: bash
run: |
make backend-test
- name: Build Lazyboard
shell: bash
run: |
make debug
- name: Upload Release
uses: actions/upload-artifact@v4
with:
name: ${{ env.APP_NAME }}
path: build/${{ env.APP_NAME }}