diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3282372..6646f60 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -36,11 +36,19 @@ jobs: ls -alt /tmp/msp430-gcc-9.3.1.11_linux64/bin/ - echo "export PATH=/tmp/msp430-gcc-9.3.1.11_linux64/bin:$PATH" >> ~/.bashrc - source ~/.bashrc - # You would also install the necessary firmware building tools if they are available # or set up cross-compilation for ARM + + - name: Verify and update PATH for MSP430 ELF GCC + run: | + if [ -f "/tmp/msp430-gcc-9.3.1.11_linux64/bin/msp430-elf-gcc" ]; then + echo "MSP430 GCC found." + else + echo "MSP430 GCC not found!" + exit 1 + fi + echo "export PATH=/tmp/msp430-gcc-9.3.1.11_linux64/bin:$PATH" >> ~/.bashrc + source ~/.bashrc - name: Check if msp430-elf-gcc is available run: |