diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 177049e..a0e1d26 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -37,8 +37,14 @@ jobs: # Extract the .7z installer 7z x msp430-gcc-full-linux-x64-installer-9.3.1.2.7z -o/msp430-gcc - # Install the MSP430 GCC toolchain by copying to the appropriate location - sudo cp -r /msp430-gcc/gcc-msp430-9.3.1.2/* /usr/local/ + # Change directory to the extracted location + cd /msp430-gcc + + # Make the .run installer executable + chmod +x msp430-gcc-full-linux-x64-installer-9.3.1.2.run + + # Run the installer in silent mode + sudo ./msp430-gcc-full-linux-x64-installer-9.3.1.2.run --mode silent --prefix /usr/local # You would also install the necessary firmware building tools if they are available # or set up cross-compilation for ARM