Skip to content
Snippets Groups Projects
Commit 47daf570 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 22ca39cc
No related branches found
No related tags found
No related merge requests found
......@@ -4,20 +4,22 @@ stages:
before_script:
- echo "Debugging Environment..."
- gcc --version
- where gcc
- which gcc
- echo $C_INCLUDE_PATH
- echo $LIBRARY_PATH
- dir C:\raylib\include
- dir C:\raylib\lib
- ls -l /usr/include/raylib
- ls -l /usr/lib
build:
stage: build
tags:
- brickbreaker
script:
- echo "Compiling on Windows..."
- gcc main.c paddle.c ball.c brick.c -o brickbreaker.exe -I"C:\raylib\include" -L"C:\raylib\lib" -lraylib -lm
- 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:
paths:
- brickbreaker.exe
- brickbreaker
expire_in: 1 day
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment