mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-04-27 21:20:13 +02:00
try to fix ci
This commit is contained in:
parent
60e4bb49b2
commit
93a14a3040
.forgejo/workflows
|
@ -1,22 +1,15 @@
|
||||||
{pkgs?import<nixpkgs>{}}: pkgs.mkShell (with pkgs; {
|
{pkgs?import<nixpkgs>{}}:let
|
||||||
nativeBuildInputs = [
|
stdenv = pkgs.clang19Stdenv;
|
||||||
rustup
|
name = "tek";
|
||||||
pkg-config
|
nativeBuildInputs = with pkgs; [ grcov time rustup cloc just pkg-config freetype libclang ];
|
||||||
freetype
|
buildInputs = with pkgs; let
|
||||||
libclang
|
#suil = pkgs.enableDebugging (pkgs.suil.overrideAttrs (a: b: {
|
||||||
cloc
|
#dontStrip = true; separateDebugInfo = true;
|
||||||
#bear
|
#}));
|
||||||
];
|
in [ jack2 lilv serd libclang /*suil*/ glib gtk3 ];
|
||||||
buildInputs = [
|
VST3_SDK_DIR = "/home/user/Lab/Music/tek/vst3sdk/";
|
||||||
jack2
|
LIBCLANG_PATH = "${pkgs.libclang.lib.outPath}/lib";
|
||||||
lilv
|
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath (with pkgs; [
|
||||||
serd
|
|
||||||
libclang
|
|
||||||
#suil
|
|
||||||
glib
|
|
||||||
gtk3
|
|
||||||
];
|
|
||||||
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
|
|
||||||
pipewire.jack
|
pipewire.jack
|
||||||
# for ChowKick.lv2:
|
# for ChowKick.lv2:
|
||||||
freetype
|
freetype
|
||||||
|
@ -32,7 +25,9 @@
|
||||||
curl
|
curl
|
||||||
libglvnd
|
libglvnd
|
||||||
#xorg_sys_opengl
|
#xorg_sys_opengl
|
||||||
];
|
]);
|
||||||
VST3_SDK_DIR = "/home/user/Lab/Music/tek/vst3sdk/";
|
in pkgs.mkShell.override {
|
||||||
LIBCLANG_PATH = "${pkgs.libclang.lib.outPath}/lib";
|
inherit stdenv;
|
||||||
})
|
} {
|
||||||
|
inherit name nativeBuildInputs buildInputs VST3_SDK_DIR LIBCLANG_PATH LD_LIBRARY_PATH;
|
||||||
|
}
|
||||||
|
|
|
@ -7,5 +7,9 @@ jobs:
|
||||||
- run: nix-channel --list && nix-channel --update
|
- run: nix-channel --list && nix-channel --update
|
||||||
- run: nix-shell --cores 4 -p git --command 'git clone --recursive $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .'
|
- run: nix-shell --cores 4 -p git --command 'git clone --recursive $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .'
|
||||||
- run: whoami && pwd && ls -al
|
- run: whoami && pwd && ls -al
|
||||||
- run: nix-shell --cores 4 --command 'cloc src/ && cloc . && rustup install nightly && cargo version -vv && just cov && just doc && just build-release' .forgejo/workflows/build.nix
|
- 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"
|
#- run: nix-shell -p docker --command "docker run --security-opt seccomp=unconfined -v $PWD:/volume xd009642/tarpaulin cargo tarpaulin --out Html --all-features"
|
||||||
|
|
Loading…
Reference in a new issue