2023-11-07 22:39:38 +01:00
|
|
|
kind: pipeline
|
2024-05-29 21:48:36 +02:00
|
|
|
type: kubernetes
|
2024-06-28 14:00:34 +02:00
|
|
|
name: darkflame-build
|
2023-11-07 22:39:38 +01:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
2024-06-28 14:00:34 +02:00
|
|
|
image: gcc:13
|
2023-11-07 22:39:38 +01:00
|
|
|
commands:
|
2024-07-07 21:22:09 +02:00
|
|
|
- apt-get update && apt-get install -y cmake
|
2023-11-07 22:39:38 +01:00
|
|
|
- git clone --recursive https://github.com/DarkflameUniverse/DarkflameServer
|
|
|
|
- cd DarkflameServer
|
|
|
|
- ./build.sh -j4
|
|
|
|
- name: docker-build
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: DOCKER_USERNAME
|
|
|
|
password:
|
|
|
|
from_secret: DOCKER_PASSWORD
|
|
|
|
repo: aaronriedel/darkflameserver
|
|
|
|
tags: latest
|
|
|
|
when:
|
|
|
|
branch:
|
|
|
|
- main
|
|
|
|
event:
|
|
|
|
- push
|