File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM ubuntu:24.04
22
3+ ENV PATH="$PATH:/opt/st/stm32cubeclt_1.16.0/GNU-tools-for-STM32/bin:/opt/st/stm32cubeclt_1.16.0/CMake/bin"
4+
35# Install git, git-lfs, pip and colorama, and create workspace directory
46RUN apt-get update && apt-get -y install git git-lfs python3-colorama cmake g++ build-essential && \
57 git lfs install
6-
8+
79# Install cubeclt
810RUN mkdir /temp && cd /temp && git clone https://github.com/HyperloopUPV-H8/cubeclt.git && \
911 cd cubeclt && git lfs pull && chmod +x cubeclt_1.16.0_installer.sh && \
10- echo | LICENSE_ALREADY_ACCEPTED=1 ./cubeclt_1.16.0_installer.sh
12+ echo | LICENSE_ALREADY_ACCEPTED=1 ./cubeclt_1.16.0_installer.sh
Original file line number Diff line number Diff line change @@ -13,10 +13,11 @@ jobs:
1313 matrix :
1414 build_type : [hardware,simulator]
1515 runs-on : ubuntu-24.04
16+ container :
17+ image : jmaralo/hyperloop-upv-firmware:0.2.0
1618 steps :
17- - uses : actions/checkout@v3
18- - uses : carlosperate/arm-none-eabi-gcc-action@v1
19- - run : arm-none-eabi-gcc --version
19+ - name : Clone ST-LIB
20+ uses : actions/checkout@v3
2021 - name : Build
2122 run : ./tools/build.sh ${{matrix.build_type}}
2223 # # the following is because of this known limitation
3233 retention-days : 1
3334 # this is because hardware build doesnot create the
3435 # test executable
35- continue-on-error : true
36- Run-Tests :
37- name : Run Simulator tests
38- needs : build
39- runs-on : ubuntu-24.04
40- steps :
41- - uses : actions/checkout@v3
42- - name : Download test binary compressed
43- uses : actions/download-artifact@v4
44- with :
45- name : stlib_test
46- - run : tar -xvf test_files.tar
47- - name : Run test
48- run : ./tools/run_sim_tests.sh
36+ continue-on-error : true
You can’t perform that action at this time.
0 commit comments