From 68676cd642a6cd0ac54e5d2ed36e5f8f096f5c3a Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Tue, 16 Nov 2021 12:29:14 -0600 Subject: [PATCH] Attempt to implement CI --- .drone.yml | 10 ++++++++++ test.sh | 7 +++++++ 2 files changed, 17 insertions(+) create mode 100644 .drone.yml create mode 100755 test.sh diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..f2a8219 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,10 @@ +--- +name: default +kind: pipeline +type: docker + +steps: +- name: build + image: gcc + commands: + - ./test.sh diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..91ff10a --- /dev/null +++ b/test.sh @@ -0,0 +1,7 @@ +#!/bin/bash +FILES=*/*/*.cpp + +for f in $FILES +do + gcc $f -lstdc++ -o /dev/null +done