From 0ef05db95c51ff0ed6ef106da45d850bde6b4943 Mon Sep 17 00:00:00 2001 From: Hansen <Cole2.hansen@live.uwe.ac.uk> Date: Sun, 9 Mar 2025 09:43:11 +0500 Subject: [PATCH] Updated GitLab CI to upload latest filesss --- .gitlab-ci.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8f1371a..993795f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,22 +1,19 @@ +image: ubuntu:latest # Uses Ubuntu as a base + stages: - build before_script: - - echo "Debugging Environment..." + - apt-get update && apt-get install -y build-essential libraylib-dev libgl1-mesa-dev libx11-dev libxcursor-dev libxrandr-dev libxi-dev + - echo "Checking GCC version..." - gcc --version - - which gcc - - echo $C_INCLUDE_PATH - - echo $LIBRARY_PATH + - echo "Checking include and library paths..." - ls -l /usr/include/raylib - ls -l /usr/lib build: stage: build - tags: - - brickbreaker script: - - echo "Installing dependencies..." - - sudo apt-get update && sudo apt-get install -y build-essential libgl1-mesa-dev libx11-dev libxcursor-dev libxrandr-dev libxi-dev - echo "Compiling on Linux..." - gcc main.c paddle.c ball.c brick.c -o brickbreaker -I/usr/include/raylib -L/usr/lib -lraylib -lm artifacts: -- GitLab