Add Drone CI
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Sainnhe Park 2022-10-27 17:31:40 +08:00
parent fb24906f54
commit a5cee7d64c

17
.drone.yml Normal file
View File

@ -0,0 +1,17 @@
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