fix and update ci config

This commit is contained in:
🪞👃🪞 2024-12-21 03:52:53 +01:00
parent 685d49fd98
commit a2a6ea1260
4 changed files with 46 additions and 3 deletions

0
.dockerignore Normal file
View file

View file

@ -0,0 +1,37 @@
{pkgs?import<nixpkgs>{}}: pkgs.mkShell (with pkgs; {
nativeBuildInputs = [
cargo
pkg-config
freetype
libclang
#bear
];
buildInputs = [
jack2
lilv
serd
libclang
#suil
glib
gtk3
];
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
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
];
VST3_SDK_DIR = "/home/user/Lab/Music/tek/vst3sdk/";
LIBCLANG_PATH = "${pkgs.libclang.lib.outPath}/lib";
})

View file

@ -1,6 +1,10 @@
on: [push]
jobs:
build:
runs-on: rust
stepS:
- run: cargo build
container:
image: nixos/nix:latest
steps:
- run: nix-channel --list && nix-channel --update
- run: nix-shell -p git --command 'git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .'
- run: whoami && pwd && ls -al
- run: nix-shell --command 'cargo version -vv && cargo check' .forgejo/workflows/build.nix

View file

@ -6,6 +6,8 @@ status:
cloc --by-file src/
git status
amend:
git commit --amend
push:
git push -u codeberg main
git push -u origin main