mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-02-03 01:46:01 -05:00
CI/build improvements
- use cache restore keys so that there's some caching even after deps change - don't install ffmpeg stuff that hasn't been needed in a while
This commit is contained in:
parent
dac0f44ed8
commit
2667dd68cb
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -28,9 +28,12 @@ jobs:
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
server/target
|
||||
key: ${{ matrix.rust }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
key: cargo-${{ matrix.rust }}-${{ hashFiles('**/Cargo.lock') }}
|
||||
restore-keys: |
|
||||
cargo-${{ matrix.rust }}-
|
||||
cargo-
|
||||
- name: Install dependencies
|
||||
run: sudo apt-get update && sudo apt-get install libavcodec-dev libavformat-dev libavutil-dev libncurses-dev libsqlite3-dev pkgconf
|
||||
run: sudo apt-get update && sudo apt-get install libncurses-dev libsqlite3-dev pkgconf
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
|
@ -184,9 +184,6 @@ most non-Rust dependencies:
|
||||
```console
|
||||
$ sudo apt-get install \
|
||||
build-essential \
|
||||
libavcodec-dev \
|
||||
libavformat-dev \
|
||||
libavutil-dev \
|
||||
libncurses-dev \
|
||||
libsqlite3-dev \
|
||||
pkgconf \
|
||||
|
Loading…
x
Reference in New Issue
Block a user