From a5cee7d64c2e5d9517a648cdc57c792cfa143db2 Mon Sep 17 00:00:00 2001 From: Sainnhe Park Date: Thu, 27 Oct 2022 17:31:40 +0800 Subject: [PATCH] Add Drone CI --- .drone.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..5aebfe7 --- /dev/null +++ b/.drone.yml @@ -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