This commit is contained in:
AG 2025-09-26 14:41:11 +02:00
parent e1b202efd2
commit f3e01b4f37
2 changed files with 1 additions and 28 deletions

View File

@ -33,6 +33,7 @@ build:
# Create the tarball with the tag name # Create the tarball with the tag name
- mkdir -p release - mkdir -p release
- tar -czf "release/Theorycrafter-${CI_COMMIT_TAG}-x86_64-linux.tar.gz" -C "$(dirname $BINARY_PATH)" "$(basename $BINARY_PATH)" - tar -czf "release/Theorycrafter-${CI_COMMIT_TAG}-x86_64-linux.tar.gz" -C "$(dirname $BINARY_PATH)" "$(basename $BINARY_PATH)"
- ls -l release
# Verify the tarball was created # Verify the tarball was created
- ls -la release/ - ls -la release/

28
nvim
View File

@ -1,28 +0,0 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs; [
openjdk17
gradle
git
mesa
libglvnd
];
shellHook = ''
echo "Java development environment loaded!"
echo "- OpenJDK 17: $(java -version 2>&1 | head -n1)"
echo "- Gradle: $(gradle --version | grep 'Gradle' | head -n1 2>/dev/null || echo 'Gradle available')"
echo "- OpenGL libraries available"
export LD_LIBRARY_PATH=${pkgs.mesa.out}/lib:${pkgs.libglvnd.out}/lib:$LD_LIBRARY_PATH
export JAVA_HOME=${pkgs.openjdk17}
echo ""
echo "Environment variables set:"
echo "- JAVA_HOME: $JAVA_HOME"
echo "- LD_LIBRARY_PATH: $LD_LIBRARY_PATH"
echo ""
echo "Ready to build! Run: ./gradlew package"
'';
}