diff options
| author | Ha Thach <[email protected]> | 2019-12-27 16:55:13 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-12-27 16:55:13 +0700 |
| commit | 8e2cc9731923e55793715bb9eb3dd2ea2db72fbf (patch) | |
| tree | 6c41d752f55ee33b3c73c62577dfef9b5c91ada4 /.github | |
| parent | ae6e7fa9284519c9ee3d0b52faab5be532ea1709 (diff) | |
Update build.yml
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build.yml | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 912a13ae9..debba866b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,6 +7,25 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - name: Python + uses: actions/setup-python@v1 + with: + python-version: 3.5 + - name: Toolchains + run: | + 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 + riscv-none-embed-gcc --version + - name: Git clone + uses: actions/checkout@v1 with: submodules: true + - name: |
