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
|
||||
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
|
||||
run: |
|
||||
sudo apt-get update
|
||||
@@ -25,7 +38,8 @@ jobs:
|
||||
build-essential \
|
||||
pkg-config \
|
||||
libgtk-4-dev \
|
||||
libgtk4-layer-shell-dev
|
||||
libgtk4-layer-shell-dev \
|
||||
libudev-dev
|
||||
|
||||
- name: Install Rust
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user