2020-04-17 14:33:30 +00:00
|
|
|
kind: pipeline
|
2020-04-18 13:17:23 +00:00
|
|
|
|
2020-04-17 14:33:30 +00:00
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2020-04-18 13:17:23 +00:00
|
|
|
- name: build
|
2020-04-17 14:33:30 +00:00
|
|
|
image: archlinux
|
|
|
|
commands:
|
2020-04-18 13:17:23 +00:00
|
|
|
- pacman -Syu --noconfirm
|
2020-04-18 13:21:08 +00:00
|
|
|
- pacman -S cmake gcc make git boost --noconfirm
|
2020-04-18 13:17:23 +00:00
|
|
|
- git submodule update --init --recursive
|
2020-04-18 13:18:54 +00:00
|
|
|
- ls src/includes/3thparty/
|
2020-04-18 13:17:23 +00:00
|
|
|
- cmake -D CMAKE_C_COMPILER=gcc -D CMAKE_CXX_COMPILER=g++ .
|
2020-04-17 14:55:17 +00:00
|
|
|
- make
|
2020-04-18 13:31:57 +00:00
|
|
|
- chmod +x studproject
|
2020-04-18 13:34:54 +00:00
|
|
|
- ./studproject -a true -r 1 -i 2 -m 5000000
|