make_32bit_zip:
    script:
# clone the DLLs and copy them into the control folder
    - git clone https://gitlab.windenergy.dtu.dk/OpenLAC/control-binary/control-win32.git
#    - c:/Anaconda3/envs/pyHawc2/python -c "import shutil; shutil.copy('./Control-Win32/dtu_we_controller.dll', './dtu-10mw-rwt/control/dtu_we_controller.dll')"
    - robocopy .\Control-Win32\ .\dtu-10mw-rwt\control\ dtu_we_controller.dll generator_servo.dll mech_brake.dll servo_with_limits.dll towerclearance_mblade.dll & IF %ERRORLEVEL% LEQ 1 cmd /C EXIT 0
# use python's shutil to make the archive
    - c:/Anaconda3/envs/pyHawc2/python -c "import shutil; shutil.make_archive('dtu-10mw-rwt', 'zip', 'dtu-10mw-rwt')"
    artifacts:
      paths:
      - dtu-10mw-rwt.zip
    tags:
    - CPAV_old

# (later) make the report
#    - git clone git@gitlab.windenergy.dtu.dk:HAWC2/hawc2-binary/hawc2-win32.git
#    - hawc2-win32/HAWC2MB.exe htc\DTU_10MW_RWT.htc
#    - hawc2-win32/HAWC2MB.exe htc\DTU_10MW_RWT_step.htc