diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6b0ed2504265faf4e18c968d015b924536d829c4..5e83ca6c4ecf22347bfee865263b6e4848c3a77e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,14 +4,16 @@ stages: - build before_script: + - echo "Using shell: $(ps -o comm= -p $$)" # Debugging: check which shell is running - apt-get update - apt-get install -y software-properties-common - - add-apt-repository -y ppa:librazer/dev # Adds the Raylib PPA + - add-apt-repository -y ppa:librazer/dev # Adds Raylib PPA - apt-get update - apt-get install -y build-essential raylib-dev libgl1-mesa-dev libx11-dev libxcursor-dev libxrandr-dev libxi-dev libxinerama-dev - echo "Checking GCC version..." - gcc --version - echo "Checking include and library paths..." + - command -v gcc || echo "GCC not found!" - ls -l /usr/include/raylib || echo "Raylib headers not found!" - ls -l /usr/lib || echo "Library path not found!" @@ -24,3 +26,6 @@ build: paths: - brickbreaker expire_in: 1 day + +default: + shell: bash # Forces Bash shell to avoid PowerShell issues