From aabeafee1401255cec5d0e9a58e29051091d9c30 Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 22 Feb 2025 18:44:13 +0100 Subject: [PATCH] =?UTF-8?q?feat=20=E2=9C=A8:=20Improve=20MSP430=20GCC=20co?= =?UTF-8?q?mpiler=20setup=20and=20usage=20in=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - The main goal of the changes is to improve the setup and usage of the MSP430 GCC compiler in the CI workflow. --- .gitea/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 9da41aa..b70cb45 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -34,8 +34,6 @@ jobs: wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-9.3.1.11_linux64.tar.bz2 tar -xjf msp430-gcc-9.3.1.11_linux64.tar.bz2 -C /tmp - ls -alt /tmp/msp430-gcc-9.3.1.11_linux64/bin/ - # You would also install the necessary firmware building tools if they are available # or set up cross-compilation for ARM @@ -47,9 +45,14 @@ jobs: echo "MSP430 GCC not found!" exit 1 fi - echo "export PATH=/tmp/msp430-gcc-9.3.1.11_linux64/bin:$PATH" >> $GITHUB_ENV - echo $PATH + ls -alt /tmp/msp430-gcc-9.3.1.11_linux64/bin/ + + # Add msp430-elf bin directory to PATH and verify with echo $PATH + echo "PATH=/tmp/msp430-gcc-9.3.1.11_linux64/bin:$PATH" >> $GITHUB_ENV + + echo "Updated PATH: $PATH" + - name: Check if msp430-elf-gcc is available run: | which msp430-elf-gcc