More descriptive names for some steps
Change-Id: I38cd396e578e840e5b3e8dd96f8b2674d8d05498 Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
This commit is contained in:
parent
ebe4de6778
commit
65caa23180
|
@ -25,7 +25,7 @@ jobs:
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install device-tree-compiler build-essential
|
sudo apt-get install device-tree-compiler build-essential
|
||||||
|
|
||||||
- name: Cache dependencies
|
- name: Get dependencies from cache
|
||||||
id: cache-deps
|
id: cache-deps
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
|
@ -33,17 +33,17 @@ jobs:
|
||||||
key: "spike-${{env.SPIKE_REV}}-toolchain-${{env.TOOLCHAIN_URL}}"
|
key: "spike-${{env.SPIKE_REV}}-toolchain-${{env.TOOLCHAIN_URL}}"
|
||||||
|
|
||||||
- if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
|
- if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
|
||||||
name: Download Toolchain
|
name: Download Toolchain (if not cached)
|
||||||
run: |
|
run: |
|
||||||
mkdir /opt/riscv
|
mkdir /opt/riscv
|
||||||
wget --progress=dot:giga $TOOLCHAIN_URL -O /tmp/toolchain.tar.gz
|
wget --progress=dot:giga $TOOLCHAIN_URL -O /tmp/toolchain.tar.gz
|
||||||
|
|
||||||
- if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
|
- if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
|
||||||
name: Install Toolchain
|
name: Install Toolchain (if not cached)
|
||||||
run: tar zxf /tmp/toolchain.tar.gz --strip-components=1 -C /opt/riscv
|
run: tar zxf /tmp/toolchain.tar.gz --strip-components=1 -C /opt/riscv
|
||||||
|
|
||||||
- if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
|
- if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
|
||||||
name: Download Spike source
|
name: Download Spike source (if not cached)
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/riscv-software-src/riscv-isa-sim
|
git clone https://github.com/riscv-software-src/riscv-isa-sim
|
||||||
cd riscv-isa-sim
|
cd riscv-isa-sim
|
||||||
|
@ -51,7 +51,7 @@ jobs:
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
- if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
|
- if: ${{ steps.cache-deps.outputs.cache-hit != 'true' }}
|
||||||
name: Build Spike
|
name: Build Spike (if not cached)
|
||||||
run: |
|
run: |
|
||||||
cd riscv-isa-sim
|
cd riscv-isa-sim
|
||||||
mkdir build install
|
mkdir build install
|
||||||
|
|
Loading…
Reference in New Issue