mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-25 06:35:56 -05:00
fix dependencies in CI
Running "apt-get install" without a preceding "apt-get update" has started failing on GitHub Actions, eg: https://github.com/scottlamb/moonfire-nvr/runs/1750609817 I believe the problem is that older packages have been removed from the mirror, and the update will fix this, as described here: https://github.com/actions/virtual-environments/issues/675#issuecomment-671057659 Also, I was using ncurses version 5 packages, when I should be using the unversioned default. Same in the build guide.
This commit is contained in:
parent
a21e606121
commit
c140296da2
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
|||||||
target
|
target
|
||||||
key: ${{ matrix.rust }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ matrix.rust }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get install libavcodec-dev libavformat-dev libavutil-dev libncurses5-dev libncursesw5-dev libsqlite3-dev pkgconf
|
run: sudo apt-get update && sudo apt-get install libavcodec-dev libavformat-dev libavutil-dev libncurses-dev libsqlite3-dev pkgconf
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
|
@ -124,8 +124,7 @@ $ sudo apt-get install \
|
|||||||
libavcodec-dev \
|
libavcodec-dev \
|
||||||
libavformat-dev \
|
libavformat-dev \
|
||||||
libavutil-dev \
|
libavutil-dev \
|
||||||
libncurses5-dev \
|
libncurses-dev \
|
||||||
libncursesw5-dev \
|
|
||||||
libsqlite3-dev \
|
libsqlite3-dev \
|
||||||
pkgconf \
|
pkgconf \
|
||||||
sqlite3 \
|
sqlite3 \
|
||||||
|
Loading…
Reference in New Issue
Block a user