leetcode/.drone.yml

18 lines
251 B
YAML
Raw Normal View History

2022-10-27 09:31:40 +00:00
kind: pipeline
type: docker
name: test
platform:
os: linux
arch: amd64
trigger:
branch:
- cpp
steps:
- name: test
image: git.sainnhe.dev/sainnhe/gcc:latest
commands:
- apk add cmake make
- cmake .
- make -j$(nproc)
- ctest