Commit ff0e7a85 authored by Jonas Johan Solsvik's avatar Jonas Johan Solsvik 🎮
Browse files

Merge branch 'jonasjso-master-patch-94661' into 'master'

Add .gitlab-ci.yml

See merge request !6
parents 993afea1 451d4c16
Pipeline #6006 passed with stage
in 1 minute and 56 seconds
image: jonasjso/sfml:latest
stages:
- build
before_script:
- git submodule sync --recursive
- git submodule update --init --recursive
all:
stage: build
tags:
- main
script:
- mkdir -p build/
- cmake -S . -B build/
- make -C build/
FROM ubuntu:latest
# Bring your own SFML
ENV DEBIAN_FRONTEND noninteractive
ENV CXX g++
RUN apt-get update -yq && apt-get install -y\
g++\
make\
git\
cmake\
libfreetype-dev\
libgl-dev\
libx11-dev\
libxrandr-dev\
libflac-dev\
libvorbis-dev\
libopenal-dev\
libudev-dev;
......@@ -16,5 +16,3 @@ all:
cmake --target 02-jumping-boxes -S . -B build;
make -C build;
./build/02-jumping-boxes;
......@@ -20,15 +20,5 @@ _See `Makefile` for complete list of commands_
## System requirements
### Ubuntu and Pop!\_OS 20.04
```
sudo apt install \
cmake \
libfreetype-dev \
libgl-dev \
libx11-dev \
libxrandr-dev \
libflac-dev \
libvorbis-dev \
libopenal-dev \
libudev-dev;
```
- See requirements in the Dockerfile
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment