From f294b77107a21d9bb2c573fe19ef16a3a1e67896 Mon Sep 17 00:00:00 2001 From: "Cole2.Hansen@live.uwe.ac.uk" <cole2.hansen@live.uwe.ac.uk> Date: Thu, 3 Apr 2025 12:08:17 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3af620b..18ce32b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,9 +7,9 @@ stages: before_script: - brew update - brew install raylib || brew reinstall raylib # Ensure Raylib is installed - - export C_INCLUDE_PATH="$(brew --prefix raylib)/include:$C_INCLUDE_PATH" - - export LIBRARY_PATH="$(brew --prefix raylib)/lib:$LIBRARY_PATH" - - export LD_LIBRARY_PATH="$(brew --prefix raylib)/lib:$LD_LIBRARY_PATH" + - export C_INCLUDE_PATH="/opt/homebrew/Cellar/raylib/5.5/include:$C_INCLUDE_PATH" + - export LIBRARY_PATH="/opt/homebrew/Cellar/raylib/5.5/lib:$LIBRARY_PATH" + - export LD_LIBRARY_PATH="/opt/homebrew/Cellar/raylib/5.5/lib:$LD_LIBRARY_PATH" - echo "C_INCLUDE_PATH=${C_INCLUDE_PATH}" - echo "LIBRARY_PATH=${LIBRARY_PATH}" - echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}" @@ -19,8 +19,8 @@ build: script: - echo "Compiling with Raylib on macOS..." - gcc main.c paddle.c ball.c brick.c -o brickbreaker \ - -I"$(brew --prefix raylib)/include" \ - -L"$(brew --prefix raylib)/lib" \ + -I"/opt/homebrew/Cellar/raylib/5.5/include" \ + -L"/opt/homebrew/Cellar/raylib/5.5/lib" \ -lraylib -framework OpenGL -framework Cocoa -framework IOKit -framework CoreVideo artifacts: paths: -- GitLab