File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed
Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -5,4 +5,5 @@ dpkg --add-architecture i386
55apt update
66apt install -y autoconf automake autotools-dev curl python3 libmpc-dev libmpfr-dev \
77 libgmp-dev gawk build-essential bison flex texinfo gperf libtool \
8- patchutils bc zlib1g-dev libexpat-dev git ninja-build expect
8+ patchutils bc zlib1g-dev libexpat-dev git ninja-build expect \
9+ device-tree-compiler
Original file line number Diff line number Diff line change 6565 name : ${{ steps.toolchain-name-generator.outputs.TOOLCHAIN_NAME }}
6666 path : riscv.tar.gz
6767
68+ test-sim :
69+ runs-on : ${{ matrix.os }}
70+ strategy :
71+ matrix :
72+ os : [ubuntu-20.04]
73+ mode : [newlib, linux]
74+ target : [rv64gc-lp64d]
75+ sim : [spike]
76+ exclude :
77+ - sim : spike
78+ mode : linux
79+ steps :
80+ - uses : actions/checkout@v2
81+
82+ - name : initialize submodules
83+ run : |
84+ git submodule init
85+ git submodule update --recursive --progress --recommend-shallow
86+
87+ - name : install dependencies
88+ run : sudo ./.github/setup-apt.sh
89+
90+ - name : build toolchain
91+ run : |
92+ TARGET_TUPLE=($(echo ${{ matrix.target }} | tr "-" "\n"))
93+ ./configure --prefix=/opt/riscv --with-arch=${TARGET_TUPLE[0]} --with-abi=${TARGET_TUPLE[1]} --with-sim=${{ matrix.sim }}
94+ make -j $(nproc) ${{ matrix.mode }}
95+
96+ - name : make report
97+ run : make report-${{ matrix.mode }} -j $(nproc)
98+
6899 build-multilib :
69100 if : ${{ false }} # Disable until multilib errors are triaged
70101 runs-on : ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments