Skip to content
Snippets Groups Projects
Commit 0ef05db9 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 47daf570
No related branches found
No related tags found
No related merge requests found
image: ubuntu:latest # Uses Ubuntu as a base
stages: stages:
- build - build
before_script: 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 - gcc --version
- which gcc - echo "Checking include and library paths..."
- echo $C_INCLUDE_PATH
- echo $LIBRARY_PATH
- ls -l /usr/include/raylib - ls -l /usr/include/raylib
- ls -l /usr/lib - ls -l /usr/lib
build: build:
stage: build stage: build
tags:
- brickbreaker
script: 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..." - echo "Compiling on Linux..."
- gcc main.c paddle.c ball.c brick.c -o brickbreaker -I/usr/include/raylib -L/usr/lib -lraylib -lm - gcc main.c paddle.c ball.c brick.c -o brickbreaker -I/usr/include/raylib -L/usr/lib -lraylib -lm
artifacts: artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment