diff options
| author | Ha Thach <[email protected]> | 2020-08-02 12:53:03 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-08-02 12:53:03 +0700 |
| commit | 72464faca4e00ff932348043e05286d5a5d586b9 (patch) | |
| tree | a2ac5befe9bab738bfb1611d530b6201cb433adc /.github/workflows | |
| parent | 310797a58073dbd6d56eb4c85afd354949ce6630 (diff) | |
| parent | 6976e642176cf76be9cc1bd2ef1a137a0e71e078 (diff) | |
Merge pull request #472 from hathach/fix-msp430-warning
fix msp430 gcc 9.2.0 warning
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 51ec0e606..2ad274928 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,10 +41,12 @@ jobs: uses: actions/cache@v1 with: path: /tmp/dl/ - # Increment serial number at end when updating downloads - key: msp430-${{ runner.os }}-0 + # Increment gcc version number at end when updating downloads + key: msp430-${{ runner.os }}-9.2.0.50 - name: Install Toolchains + env: + MSP430GCC_URL: http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/9_2_0_0/export/msp430-gcc-9.2.0.50_linux64.tar.bz2 run: | # ARM & RISC-V GCC from xpack npm install --global xpm @@ -55,7 +57,7 @@ jobs: # TI MSP430 GCC mkdir -p /tmp/dl/ - [ -f "/tmp/dl/msp430-gcc.tar.bz2" ] || wget --progress=dot:mega http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/8_3_0_0/exports/msp430-gcc-8.3.0.16_linux64.tar.bz2 -O /tmp/dl/msp430-gcc.tar.bz2 + [ -f "/tmp/dl/msp430-gcc.tar.bz2" ] || wget --progress=dot:mega $MSP430GCC_URL -O /tmp/dl/msp430-gcc.tar.bz2 tar -C $HOME -xaf /tmp/dl/msp430-gcc.tar.bz2 echo "::add-path::`echo $HOME/msp430-gcc-*_linux64/bin`" |
