mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-04-27 21:20:13 +02:00
fix and update ci config
This commit is contained in:
parent
685d49fd98
commit
a2a6ea1260
0
.dockerignore
Normal file
0
.dockerignore
Normal file
37
.forgejo/workflows/build.nix
Normal file
37
.forgejo/workflows/build.nix
Normal 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";
|
||||||
|
})
|
|
@ -1,6 +1,10 @@
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: rust
|
container:
|
||||||
stepS:
|
image: nixos/nix:latest
|
||||||
- run: cargo build
|
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
|
||||||
|
|
Loading…
Reference in a new issue