c-gaborator/.drone.yml
DataHoarder cb9d4093d0
All checks were successful
continuous-integration/drone/push Build is passing
Add Drone CI
2022-07-13 17:39:21 +02:00

22 lines
577 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: build
image: debian:bullseye
commands:
- DEBIAN_FRONTEND=noninteractive apt update
- DEBIAN_FRONTEND=noninteractive apt install -y g++ gcc cmake make
- mkdir build && cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS_RELEASE="-march=native" -DCMAKE_C_FLAGS_RELEASE="-march=native" -DCMAKE_INSTALL_PREFIX="/usr"
- make -j$(nproc)
- make install
...