Skip to content

Add renovate.json

Add renovate.json #478

name: Build on Windows
on:
push:
branches-ignore:
- dependabot/**
pull_request:
branches:
- master
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
fetch-depth: 0
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
path-type: strict
- name: Install dependencies
shell: msys2 {0}
run: |
set +eux
export HOME=${{ github.workspace }}
pacman -S --noconfirm \
git \
patch \
\
base-devel \
mingw-w64-x86_64-toolchain \
\
mingw-w64-x86_64-cmake \
mingw-w64-x86_64-nasm \
mingw-w64-x86_64-yasm \
mingw-w64-x86_64-meson \
mingw-w64-x86_64-ninja
- name: build dependencies
shell: msys2 {0}
run: |
set +eux
export HOME=${{ github.workspace }}
bash scripts/reset-submodules.sh
bash scripts/apply-patches.sh
bash scripts/build-deps.sh
- name: configure
shell: msys2 {0}
run: |
set +eux
export HOME=${{ github.workspace }}
cmake -S . -B build -G Ninja '-DCMAKE_CXX_FLAGS=-static'
- name: make
shell: msys2 {0}
run: |
set +eux
export HOME=${{ github.workspace }}
cd build
ninja -v
strip cavif.exe
- name: Upload result
uses: actions/upload-artifact@v3
with:
name: cavif-win64
path: build/cavif.exe