mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-08-31 05:52:30 +00:00
fix: internal server error when uploading AVIF (#937)
* fix: add avif feature to dependencies the comment should also say decode, encode uses rav1e not dav1d Signed-off-by: infi <infi@infi.sh> * chore: upgrade to debian 13 Signed-off-by: infi <infi@infi.sh> * fix: revert unrelated EOF newlines Signed-off-by: infi <infi@infi.sh> * ci: provide dav1d also in nix Signed-off-by: infi <infi@infi.sh> * chore: move feature definition to autumn Cargo.toml Signed-off-by: infi <infi@infi.sh> * fix: avif feature also required in revolt-files Signed-off-by: infi <infi@infi.sh> --------- Signed-off-by: infi <infi@infi.sh>
This commit is contained in:
12
.github/workflows/rust.yaml
vendored
12
.github/workflows/rust.yaml
vendored
@@ -26,6 +26,16 @@ jobs:
|
||||
# run: |
|
||||
# sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc
|
||||
|
||||
- name: Install dav1d
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install --yes libdav1d-dev pkg-config
|
||||
|
||||
if ! pkg-config --atleast-version=1.3.0 dav1d; then
|
||||
echo "The runner's dav1d is older than 1.3, will install build tools"
|
||||
sudo apt-get install --yes meson ninja-build nasm
|
||||
fi
|
||||
|
||||
- name: Setup Mise
|
||||
uses: immich-app/devtools/actions/use-mise@cd24790a7f5f6439ac32cc94f5523cb2de8bfa8c # use-mise-action-v1.1.0
|
||||
with:
|
||||
@@ -33,7 +43,7 @@ jobs:
|
||||
|
||||
- run: mise build
|
||||
- run: mise docker:start
|
||||
|
||||
|
||||
- name: Reference Test
|
||||
env:
|
||||
TEST_DB: REFERENCE
|
||||
|
||||
Reference in New Issue
Block a user