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

Updated GitLab CI to upload latest filesss

parent 6e4a5b02
No related branches found
No related tags found
No related merge requests found
...@@ -2,18 +2,15 @@ stages: ...@@ -2,18 +2,15 @@ stages:
- build - build
before_script: before_script:
- echo "Setting up environment..." - echo "Checking if GCC is installed..."
- powershell -Command "Invoke-WebRequest -Uri 'https://github.com/raysan5/raylib/releases/download/5.0/raylib-5.0_win64_msvc16.zip' -OutFile 'raylib.zip' -UseBasicParsing" - gcc --version
- powershell -Command "Expand-Archive -Path 'raylib.zip' -DestinationPath 'C:\raylib' -Force"
- echo "Raylib installed in C:\raylib"
build: build:
stage: build stage: build
tags: tags:
- brickbreaker - brickbreaker
script: script:
- echo "Checking files..." - echo "Compiling on Windows..."
- dir C:\raylib # Debugging step
- gcc main.c paddle.c ball.c brick.c -o brickbreaker.exe -I"C:\raylib\include" -L"C:\raylib\lib" -lraylib -lm - gcc main.c paddle.c ball.c brick.c -o brickbreaker.exe -I"C:\raylib\include" -L"C:\raylib\lib" -lraylib -lm
artifacts: artifacts:
paths: paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment