Update build.yml
This commit is contained in:
parent
73906cb495
commit
e5a5d146e1
|
@ -11,15 +11,17 @@ jobs:
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python-version: 3.5
|
python-version: 3.5
|
||||||
|
- name: Node.js
|
||||||
|
uses: actions/setup-node@v1.1.0
|
||||||
- name: Toolchains
|
- name: Toolchains
|
||||||
run: |
|
run: |
|
||||||
|
# Install XPM
|
||||||
|
npm install --global xpm
|
||||||
|
xpm install --global @xpack-dev-tools/riscv-none-embed-gcc@latest
|
||||||
sudo apt-get install -y gettext
|
sudo apt-get install -y gettext
|
||||||
pip install requests sh click setuptools awscli
|
pip install requests sh click setuptools awscli
|
||||||
wget https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
|
wget https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
|
||||||
sudo tar -C /usr --strip-components=1 -xaf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
|
sudo tar -C /usr --strip-components=1 -xaf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
|
||||||
wget -O /tmp/riscv-toolchain.tgz https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack/releases/download/v8.3.0-1.1/xpack-riscv-none-embed-gcc-8.3.0-1.1-linux-x64.tgz
|
|
||||||
tar -xzf /tmp/riscv-toolchain.tgz
|
|
||||||
export PATH=$PWD/xPacks/riscv-none-embed-gcc/8.3.0-1.1/bin:$PATH
|
|
||||||
- name: Versions
|
- name: Versions
|
||||||
run: |
|
run: |
|
||||||
arm-none-eabi-gcc --version
|
arm-none-eabi-gcc --version
|
||||||
|
|
Loading…
Reference in New Issue