From 87e2ab9087ce4a23651f35bd30f1f10f474032b3 Mon Sep 17 00:00:00 2001 From: Nick <53413353+nickpalladino@users.noreply.github.com> Date: Mon, 23 Sep 2024 18:09:32 -0400 Subject: [PATCH] Try downloading from TI --- build.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 build.yml diff --git a/build.yml b/build.yml new file mode 100644 index 0000000..035b878 --- /dev/null +++ b/build.yml @@ -0,0 +1,32 @@ +name: Build MSP430 Project + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v3 + + - name: Install MSP430-GCC + run: | + sudo apt-get update + sudo apt-get install -y p7zip-full + # Download the .7z archive + wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-full-linux-x64-installer-9.3.1.2.7z + # Extract the installer + 7z x msp430-gcc-full-linux-x64-installer-9.3.1.2.7z + # Make the installer executable + chmod +x msp430-gcc-full-linux-x64-installer-9.3.1.2.run + ./msp430-gcc-full-linux-x64-installer-9.3.1.2.run --mode unattended --prefix /opt/msp430-gcc + + - name: Add MSP430-GCC to PATH + run: echo "/opt/msp430-gcc/bin" >> $GITHUB_PATH + + - name: Build Project + run: make