summaryrefslogtreecommitdiff
path: root/archived/projt-launcher/ci/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'archived/projt-launcher/ci/default.nix')
-rw-r--r--archived/projt-launcher/ci/default.nix68
1 files changed, 68 insertions, 0 deletions
diff --git a/archived/projt-launcher/ci/default.nix b/archived/projt-launcher/ci/default.nix
new file mode 100644
index 0000000000..48fa4bcd29
--- /dev/null
+++ b/archived/projt-launcher/ci/default.nix
@@ -0,0 +1,68 @@
+# ProjT Launcher CI Configuration
+# This Nix expression provides a development environment and build dependencies
+# for the ProjT Launcher project
+
+{
+ system ? builtins.currentSystem,
+}:
+
+let
+ nixpkgs = import <nixpkgs> { inherit system; };
+ pkgs = nixpkgs;
+in
+
+rec {
+ # Development environment with all build dependencies
+ devEnv = pkgs.mkShell {
+ buildInputs = with pkgs; [
+ # Build tools
+ cmake
+ ninja
+ pkg-config
+
+ # Compilers
+ gcc
+ clang
+
+ # Qt6 dependencies
+ qt6.full
+ qt6.base
+ qt6.declarative
+ qt6.multimedia
+ qt6.tools
+
+ # Other dependencies
+ zlib
+ libxkbcommon
+
+ # Code quality tools
+ clang-tools
+ cmake-format
+
+ # Testing
+ gtest
+ ];
+
+ shellHook = ''
+ echo "ProjT Launcher development environment loaded"
+ echo "Available: cmake, ninja, qt6, gcc, clang"
+ '';
+ };
+
+ # Build configuration for CI
+ buildConfig = {
+ buildType = "Release";
+ enableTesting = true;
+ enableLTO = true;
+ };
+
+ # Test environment
+ testEnv = pkgs.mkShell {
+ buildInputs = with pkgs; [
+ cmake
+ ninja
+ qt6.full
+ gtest
+ ];
+ };
+}