Skip to content
Snippets Groups Projects
.gitlab-ci.yml 987 B
Newer Older
make_32bit_zip:
Jenni Rinker's avatar
Jenni Rinker committed
    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')"
Jenni Rinker's avatar
Jenni Rinker committed
    artifacts:
      paths:
      - dtu-10mw-rwt.zip
Jenni Rinker's avatar
Jenni Rinker committed
    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