stages:
  - test

test:
  stage: test
  image: ubuntu:latest
  script: 
    - echo "installing clang"
    - apt update && apt install clang -y
    - echo "build done, clang installed"
    - echo "compiling"
    - clang -g -O1 -fsanitize=fuzzer,address ./fuzz_target.cc ./c_script.c
    - echo "comp done, running a_out"
    - ./a_out -max_total_time=10
    - echo "finito"