Skip to content

Commit 53fcf8f

Browse files
committed
Fix download location
1 parent 41589fe commit 53fcf8f

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/kernel-demos.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,12 @@ jobs:
159159
curl -L -o "$HOME/msp430-gcc-full-linux-x64-installer-9.3.1.2.7z" 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
160160
sudo apt update -y
161161
sudo apt install -y p7zip-full
162-
cd "$HOME"
162+
pushd $HOME
163163
7z x ./msp430-gcc-full-linux-x64-installer-9.3.1.2.7z
164164
chmod +x ./msp430-gcc-full-linux-x64-installer-9.3.1.2.run
165165
sudo ./msp430-gcc-full-linux-x64-installer-9.3.1.2.run --prefix /usr/bin/msp430-gcc --mode unattended
166166
echo "::endgroup::"
167+
popd
167168
echo -e "${{ env.bashPass }} ${{ env.stepName }} ${{ env.bashEnd }}"
168169
169170
- name: Build msp430_GCC Demo
@@ -212,23 +213,23 @@ jobs:
212213
sudo apt install -y autogen gawk libgmp-dev libmpc-dev libmpfr-dev
213214
sudo apt install -y patchutils sharutils zlib1g-dev autoconf2.64
214215
215-
cd "$HOME"
216-
216+
pushd $HOME
217217
# Download the mb-gcc toolchain from github
218218
curl -L -O https://github.com/mdednev/mb-gcc/releases/download/2021-0623%2B2/binutils-microblaze_2.35-2021-0623+1_amd64.deb;
219219
curl -L -O https://github.com/mdednev/mb-gcc/releases/download/2021-0623%2B2/gcc-microblaze_10.2.0-2021-0623+2_amd64.deb;
220220
curl -L -O https://github.com/mdednev/mb-gcc/releases/download/2021-0623%2B2/libnewlib-microblaze-dev_3.3.0-2021-0623+3_all.deb;
221221
curl -L -O https://github.com/mdednev/mb-gcc/releases/download/2021-0623%2B2/libnewlib-microblaze-doc_3.3.0-2021-0623+3_all.deb;
222222
curl -L -O https://github.com/mdednev/mb-gcc/releases/download/2021-0623%2B2/libnewlib-microblaze_3.3.0-2021-0623+3_all.deb;
223223
curl -L -O https://github.com/mdednev/mb-gcc/releases/download/2021-0623%2B2/newlib-source_3.3.0-2021-0623+3_all.deb;
224+
popd
224225
225226
# Install the packages for the toolchain
226-
sudo apt install -y ./binutils-microblaze*.deb;
227-
sudo apt install -y ./gcc-microblaze*.deb;
228-
sudo apt install -y ./libnewlib-microblaze-dev*.deb;
229-
sudo apt install -y ./libnewlib-microblaze-doc*.deb;
230-
sudo apt install -y ./libnewlib-microblaze*.deb;
231-
sudo apt install -y ./newlib-source*.deb;
227+
sudo apt install -y $HOME/binutils-microblaze*.deb;
228+
sudo apt install -y $HOME/gcc-microblaze*.deb;
229+
sudo apt install -y $HOME/libnewlib-microblaze-dev*.deb;
230+
sudo apt install -y $HOME/libnewlib-microblaze-doc*.deb;
231+
sudo apt install -y $HOME/libnewlib-microblaze*.deb;
232+
sudo apt install -y $HOME/newlib-source*.deb;
232233
233234
# Validate that the toolchain is in the path and can be called
234235
which mb-gcc

0 commit comments

Comments
 (0)