Skip to content

Commit

Permalink
Add rav1e to AppVeyor builds
Browse files Browse the repository at this point in the history
Fixes: #573
  • Loading branch information
Joe Drago committed Apr 10, 2021
1 parent ed48a0f commit f8b2362
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,35 @@ skip_commits:
- '*.md'

install:
# install Rust
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init -yv --default-toolchain stable --default-host x86_64-pc-windows-msvc
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- rustc -vV
- cargo -vV
# Get submodules
- git submodule update --init --recursive
# Prepare VS env
- call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
# Install Nasm
- appveyor DownloadFile "https://github.com/joedrago/nasm_mirror/raw/master/nasm-2.15.05-win64.zip" -FileName "nasm.zip"
- 7z x "nasm.zip" > nul
- move nasm-* NASM
- set PATH=%PATH%;%CD%\NASM;
- nasm -v
# Build libaom and dav1d
# Build all external libraries statically
- cd ext
- aom.cmd
- dav1d.cmd
- rav1e.cmd
- libjpeg.cmd
- zlibpng.cmd
- cd ..
# Configure with CMake
- mkdir build
- cd build
- cmake --version
- cmake .. -DAVIF_CODEC_AOM=ON -DAVIF_LOCAL_AOM=ON -DAVIF_CODEC_DAV1D=ON -DAVIF_LOCAL_DAV1D=ON -DBUILD_SHARED_LIBS=OFF -DAVIF_LOCAL_JPEG=1 -DAVIF_LOCAL_ZLIBPNG=1 -DAVIF_BUILD_APPS=ON
- cmake .. -DAVIF_CODEC_AOM=ON -DAVIF_LOCAL_AOM=ON -DAVIF_CODEC_DAV1D=ON -DAVIF_LOCAL_RAV1E=ON -DAVIF_CODEC_RAV1E=ON -DAVIF_LOCAL_DAV1D=ON -DBUILD_SHARED_LIBS=OFF -DAVIF_LOCAL_JPEG=1 -DAVIF_LOCAL_ZLIBPNG=1 -DAVIF_BUILD_APPS=ON

build:
project: build/libavif.sln
Expand Down

0 comments on commit f8b2362

Please sign in to comment.