Matrix dice rolling bot with support for the Chronicles of Darkness 2E Storytelling System and Call of Cthulhu.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

27 lines
531 B

kind: pipeline
name: build-and-test
steps:
- name: test
image: rust:1.54
commands:
- apt-get update
- apt-get install -y cmake
- rustup component add rustfmt
- cargo build --verbose --all
- cargo test --verbose --all
- name: docker
image: plugins/docker
when:
ref:
- refs/tags/v*
- refs/heads/master
settings:
auto_tag: true
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: ghcr.io/projectmoon/chronicle-dicebot
registry: ghcr.io