Skip to content
Snippets Groups Projects
Commit f294b771 authored by Cole2.Hansen@live.uwe.ac.uk's avatar Cole2.Hansen@live.uwe.ac.uk
Browse files

Update .gitlab-ci.yml file

parent 7c971683
Branches master
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment