From 0f744888ef3882c67d3c2d56dbbfac9e2e0f1ffa Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Tue, 11 Feb 2020 18:37:21 -0800 Subject: [PATCH] Move testing code into a script --- .drone.yml | 4 ++-- code/compiler/test.sh | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100755 code/compiler/test.sh diff --git a/.drone.yml b/.drone.yml index 09810d0..d7ff2f8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,5 +6,5 @@ steps: - name: test-compiler image: gcc commands: - - cd code/compiler/09 - - mkdir build && cd build + - cd code/compiler + - ./test.sh diff --git a/code/compiler/test.sh b/code/compiler/test.sh new file mode 100755 index 0000000..5bb0df2 --- /dev/null +++ b/code/compiler/test.sh @@ -0,0 +1,4 @@ +cd 09 +mkdir -p build && cd build +cmake .. +make -j8