Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub Workflow to test build #20

Merged
merged 2 commits into from
Nov 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Test
on:
pull_request:
schedule:
- cron: "0 0 1 * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
with:
name: nix-community
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix-build --show-trace --argstr vs-overlay $GITHUB_WORKSPACE everything-shell.nix
102 changes: 102 additions & 0 deletions everything-shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# A Nix shell with VapourSynth and all plugins (from this overlay). Used for
# testing that all plugins in this overlay build.
{vs-overlay}: let
pkgs = import <nixpkgs> {
config.allowUnfree = true;
overlays = [(import vs-overlay)];
# Force default Python to 3.x
config.packageOverrides = pkgs: {
python = pkgs.python3;
};
};
in
# TODO: Fix broken packages, which are commented out below.
pkgs.mkShell {
packages = [
(pkgs.vapoursynth.withPlugins [
pkgs.vapoursynthPlugins.adaptivegrain
pkgs.vapoursynthPlugins.addgrain
pkgs.vapoursynthPlugins.autocrop
pkgs.vapoursynthPlugins.awarpsharp2
pkgs.vapoursynthPlugins.bestaudiosource
pkgs.vapoursynthPlugins.beziercurve
pkgs.vapoursynthPlugins.bifrost
pkgs.vapoursynthPlugins.bilateral
pkgs.vapoursynthPlugins.bm3d
pkgs.vapoursynthPlugins.cas
pkgs.vapoursynthPlugins.cnr2
pkgs.vapoursynthPlugins.combmask
pkgs.vapoursynthPlugins.continuityfixer
pkgs.vapoursynthPlugins.ctmf
# pkgs.vapoursynthPlugins.d2vsource
pkgs.vapoursynthPlugins.dctfilter
pkgs.vapoursynthPlugins.deblock
pkgs.vapoursynthPlugins.decross
pkgs.vapoursynthPlugins.descale
pkgs.vapoursynthPlugins.dfttest
pkgs.vapoursynthPlugins.eedi2
pkgs.vapoursynthPlugins.eedi3m
# pkgs.vapoursynthPlugins.f3kdb
pkgs.vapoursynthPlugins.ffms2
pkgs.vapoursynthPlugins.fft3dfilter
pkgs.vapoursynthPlugins.fillborders
pkgs.vapoursynthPlugins.fluxsmooth
pkgs.vapoursynthPlugins.fmtconv
pkgs.vapoursynthPlugins.histogram
pkgs.vapoursynthPlugins.hqdn3d
pkgs.vapoursynthPlugins.imwri
pkgs.vapoursynthPlugins.knlmeanscl
# pkgs.vapoursynthPlugins.lsmashsource
pkgs.vapoursynthPlugins.median
pkgs.vapoursynthPlugins.minideen
pkgs.vapoursynthPlugins.miscfilters-obsolete
pkgs.vapoursynthPlugins.motionmask
pkgs.vapoursynthPlugins.msmoosh
pkgs.vapoursynthPlugins.mvtools
pkgs.vapoursynthPlugins.nnedi3
pkgs.vapoursynthPlugins.nnedi3cl
pkgs.vapoursynthPlugins.ocr
# pkgs.vapoursynthPlugins.placebo
pkgs.vapoursynthPlugins.readmpls
pkgs.vapoursynthPlugins.remap
pkgs.vapoursynthPlugins.removegrain
pkgs.vapoursynthPlugins.retinex
pkgs.vapoursynthPlugins.sangnom
pkgs.vapoursynthPlugins.scxvid
pkgs.vapoursynthPlugins.subtext
pkgs.vapoursynthPlugins.tcanny
pkgs.vapoursynthPlugins.temporalmedian
pkgs.vapoursynthPlugins.temporalsoften2
pkgs.vapoursynthPlugins.tnlmeans
pkgs.vapoursynthPlugins.ttempsmooth
pkgs.vapoursynthPlugins.vivtc
# Requires non-redistributable unfree TensorRT.
# pkgs.vapoursynthPlugins.vstrt
pkgs.vapoursynthPlugins.wwxd
pkgs.vapoursynthPlugins.znedi3

# pkgs.vapoursynthPlugins.acsuite
pkgs.vapoursynthPlugins.adjust
pkgs.vapoursynthPlugins.astdr
# pkgs.vapoursynthPlugins.awsmfunc
# pkgs.vapoursynthPlugins.debandshit
pkgs.vapoursynthPlugins.dfmderainbow
pkgs.vapoursynthPlugins.edi_rpow2
pkgs.vapoursynthPlugins.finedehalo
pkgs.vapoursynthPlugins.fvsfunc
pkgs.vapoursynthPlugins.havsfunc
pkgs.vapoursynthPlugins.kagefunc
# pkgs.vapoursynthPlugins.lvsfunc
pkgs.vapoursynthPlugins.mt_lutspa
pkgs.vapoursynthPlugins.muvsfunc
pkgs.vapoursynthPlugins.mvsfunc
pkgs.vapoursynthPlugins.nnedi3_resample
pkgs.vapoursynthPlugins.nnedi3_rpow2
# pkgs.vapoursynthPlugins.rekt
# pkgs.vapoursynthPlugins.vardefunc
# pkgs.vapoursynthPlugins.vsTAAmbk
pkgs.vapoursynthPlugins.vsgan
pkgs.vapoursynthPlugins.vsutil
])
];
}
3 changes: 3 additions & 0 deletions test-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

nix-build --show-trace --argstr vs-overlay $PWD everything-shell.nix