add ci and no-gh badge

This commit is contained in:
🪞👃🪞 2025-03-10 15:13:26 +02:00
parent d3884b8a68
commit 3c4491d632
3 changed files with 60 additions and 3 deletions

View file

@ -0,0 +1,33 @@
{pkgs?import<nixpkgs>{}}:let
stdenv = pkgs.clang19Stdenv;
name = "tek";
nativeBuildInputs = with pkgs; [ grcov time rustup cloc just pkg-config freetype libclang ];
buildInputs = with pkgs; let
#suil = pkgs.enableDebugging (pkgs.suil.overrideAttrs (a: b: {
#dontStrip = true; separateDebugInfo = true;
#}));
in [ jack2 lilv serd libclang /*suil*/ glib gtk3 ];
VST3_SDK_DIR = "/home/user/Lab/Music/tek/vst3sdk/";
LIBCLANG_PATH = "${pkgs.libclang.lib.outPath}/lib";
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath (with pkgs; [
pipewire.jack
# for ChowKick.lv2:
freetype
libgcc.lib
# for Panagement
xorg.libX11
xorg.libXcursor
xorg.libXi
libxkbcommon
#suil
# for Helm:
alsa-lib
curl
libglvnd
#xorg_sys_opengl
]);
in pkgs.mkShell.override {
inherit stdenv;
} {
inherit name nativeBuildInputs buildInputs VST3_SDK_DIR LIBCLANG_PATH LD_LIBRARY_PATH;
}

View file

@ -0,0 +1,15 @@
on: [push]
jobs:
build:
container:
image: nixos/nix:latest
steps:
- run: nix-channel --list && nix-channel --update
- run: nix-shell --cores 4 -p git --command 'git clone --recursive $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .'
- run: whoami && pwd && ls -al
- run: nix-shell --cores 4 --command 'cloc src/ && cloc .' .forgejo/workflows/build.nix
- run: nix-shell --cores 4 --command 'rustup install nightly && cargo version -vv' .forgejo/workflows/build.nix
- run: nix-shell --cores 4 --command 'just cov-md' .forgejo/workflows/build.nix
- run: nix-shell --cores 4 --command 'just doc' .forgejo/workflows/build.nix
- run: nix-shell --cores 4 --command 'just build-release' .forgejo/workflows/build.nix
#- run: nix-shell -p docker --command "docker run --security-opt seccomp=unconfined -v $PWD:/volume xd009642/tarpaulin cargo tarpaulin --out Html --all-features"

View file

@ -1,6 +1,9 @@
```
just # 🛕
```
# vestal [![Please don't upload to GitHub](https://nogithub.codeberg.page/badge.svg)](https://nogithub.codeberg.page)
## requirements
* rust nightly
* some DLLs to patch!
## installation
@ -9,3 +12,9 @@ install with cargo from source:
```
cargo install --git https://codeberg.org/unspeaker/vestal
```
## development
```
just # 🛕
```