chess_board_sim/.drone.yml

52 lines
887 B
YAML
Raw Permalink Normal View History

kind: pipeline
type: docker
name: chessboard_builder
trigger:
2024-10-05 16:17:50 -04:00
event:
- tag
- custom
steps:
- name: docker
image: plugins/docker
settings:
repo: git.pipsquire.com/djweber12/chess_board_sim
registry: git.pipsquire.com
username:
from_secret: docker_username
2024-10-05 17:06:05 -04:00
password:
from_secret: docker_password
tags:
- latest
2024-10-05 17:44:56 -04:00
- "${DRONE_TAG##builder-v}"
2024-10-05 16:17:50 -04:00
when:
ref:
include:
- refs/tags/builder-v*
---
kind: pipeline
type: docker
name: chessboard
trigger:
branch:
- main
event:
- push
- custom
steps:
- name: build
image: git.pipsquire.com/djweber12/chess_board_sim:latest
commands:
- cmake -S . -B build
- cmake --build build
2024-10-05 17:38:07 -04:00
- name: test
image: git.pipsquire.com/djweber12/chess_board_sim:latest
commands:
- ./build/test/chess_test