Add cache step and missing dependency
Some checks failed
Build Project / Build Linux (push) Failing after 1m40s
Some checks failed
Build Project / Build Linux (push) Failing after 1m40s
This commit is contained in:
@@ -18,6 +18,19 @@ jobs:
|
|||||||
- name: Print Os release
|
- name: Print Os release
|
||||||
run: cat /etc/os-release
|
run: cat /etc/os-release
|
||||||
|
|
||||||
|
- name: Cache Cargo
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.cargo/bin/
|
||||||
|
~/.cargo/registry/index/
|
||||||
|
~/.cargo/registry/cache/
|
||||||
|
~/.cargo/git/db/
|
||||||
|
target/
|
||||||
|
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-cargo-
|
||||||
|
|
||||||
- name: Install system dependencies
|
- name: Install system dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
@@ -25,7 +38,8 @@ jobs:
|
|||||||
build-essential \
|
build-essential \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
libgtk-4-dev \
|
libgtk-4-dev \
|
||||||
libgtk4-layer-shell-dev
|
libgtk4-layer-shell-dev \
|
||||||
|
libudev-dev
|
||||||
|
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user