Move testing code into a script

This commit is contained in:
Danila Fedorin 2020-02-11 18:37:21 -08:00
parent a5b84bab69
commit 0f744888ef
2 changed files with 6 additions and 2 deletions

View File

@ -6,5 +6,5 @@ steps:
- name: test-compiler
image: gcc
commands:
- cd code/compiler/09
- mkdir build && cd build
- cd code/compiler
- ./test.sh

4
code/compiler/test.sh Executable file
View File

@ -0,0 +1,4 @@
cd 09
mkdir -p build && cd build
cmake ..
make -j8