diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e5718aa2a4d10b6ae4cec2a933002d796ff8259b..088c19d2a2b343e550ac0d376b100a8443a6eb89 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,14 +35,6 @@ build-job-Z2: # This job runs in the build stage, which runs first. script: # setup vivado environment for Vivado 2021.1 - source /tools/Xilinx/Vivado/2021.1/.settings64-Vivado.sh - # move and unpack the arm ip into the arm-AAA-ip folder, below the working directory - - cp -r /home/gitlab-runner/arm-AAA-ip ../arm-AAA-ip - - cd ../arm-AAA-ip/Corstone-101_Foundation_IP/ - - tar -xf BP210-r1p1-00rel0.tar.gz - - cd ../Cortex-M0/ - - tar -xf AT510-r0p0-03rel2.tar.gz - - cd ../DMA-230_MicroDMA_Controller/ - - tar -xf PL230-r0p0-02rel2-1.tar.gz # move to fpga_imp directory and run the fpga build script for pynq z2 - cd ../../nanosoc_tech/system/fpga_imp/ - source ../../set_env.sh @@ -56,9 +48,6 @@ build-job-Z2: # This job runs in the build stage, which runs first. - echo "Build failed" - exit 1 - fi - # cleanup arm-AAA-ip directory - - cd ../../../ - - rm -r arm-AAA-ip artifacts: paths: # Keep the generated bit and hwh file from fpga build script @@ -71,14 +60,8 @@ build-job-Z2: # This job runs in the build stage, which runs first. build-job-ZCU104: # This job runs in the build stage, which runs first. stage: build script: - # move and unpack the arm ip into the arm-AAA-ip folder, below the working directory - - cp -r /home/dwn1c21/arm-AAA-ip ../arm-AAA-ip - - cd ../arm-AAA-ip/Corstone-101_Foundation_IP/ - - tar -xf BP210-r1p1-00rel0.tar.gz - - cd ../Cortex-M0/ - - tar -xf AT510-r0p0-03rel2.tar.gz - - cd ../DMA-230_MicroDMA_Controller/ - - tar -xf PL230-r0p0-02rel2-1.tar.gz + # setup vivado environment for Vivado 2021.1 + - source /tools/Xilinx/Vivado/2021.1/.settings64-Vivado.sh # move to fpga_imp directory and run the fpga build script for pynq z2 - cd ../../nanosoc_tech/system/fpga_imp/ - source ../../set_env.sh @@ -92,9 +75,6 @@ build-job-ZCU104: # This job runs in the build stage, which runs first. - echo "Build failed" - exit 1 - fi - # cleanup arm-AAA-ip directory - - cd ../../../ - - rm -r arm-AAA-ip artifacts: paths: # Keep the generated bit and hwh file from fpga build script