Skip to content
Snippets Groups Projects
Commit 6ada91b4 authored by Jenni Rinker's avatar Jenni Rinker
Browse files

Finish the job for making 32-bit archive

parent f91c7226
No related branches found
No related tags found
No related merge requests found
Pipeline #12629 failed
run_32bit_hawc2:
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
- robocopy .\Control-Win32\ .\dtu-10mw-rwt\control\ dtu_we_controller.dll generator_servo.dll mech_brake.dll servo_with_limits.dll towerclearance_mblade.dll
# 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')"
# - cd dtu-10mw-rwt
# - git clone https://gitlab.windenergy.dtu.dk/OpenLAC/control-binary/control-win32.git
# - robocopy .\Control-Win32\ .\control\ dtu_we_controller.dll generator_servo.dll mech_brake.dll servo_with_limits.dll towerclearance_mblade.dll
# - cd ..
# - powershell Compress-Archive dtu-10mw-rwt dtu-10mw-rwt.zip
#
# - 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
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
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment