summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2019-12-27 17:05:57 +0700
committerGitHub <[email protected]>2019-12-27 17:05:57 +0700
commite5a5d146e1707bf00cadabd86bc0c9a832ee3b6b (patch)
treeb227af950e58c22d7ce224e7912e140d7cb528ab /.github
parent73906cb4958ad2f2dcb291636f05d39ed6d090d5 (diff)
Update build.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2676415cd..1c0534825 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -11,15 +11,17 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: 3.5
+ - name: Node.js
+ uses: actions/[email protected]
- name: Toolchains
run: |
+ # Install XPM
+ npm install --global xpm
+ xpm install --global @xpack-dev-tools/riscv-none-embed-gcc@latest
sudo apt-get install -y gettext
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
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
run: |
arm-none-eabi-gcc --version