Skip to content

Commit 61e4d11

Browse files
authored
Merge pull request #567 from vacantron/bugfix
CI: Drop unstable architecture test on Arm64
2 parents b8d6fa7 + 9e775ba commit 61e4d11

File tree

5 files changed

+36
-9
lines changed

5 files changed

+36
-9
lines changed

.ci/riscv-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e -u -o pipefail
44

55
# Install RISCOF
6-
pip3 install git+https://github.com/riscv/riscof.git@d38859f85fe407bcacddd2efcd355ada4683aee4
6+
pip3 install -r requirements.txt
77

88
set -x
99

.ci/riscv-toolchain-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ else
2424
TOOLCHAIN_URL=${TOOLCHAIN_REPO}/releases/download/${GCC_VER}/riscv32-elf-ubuntu-${UBUNTU_VER}-gcc-nightly-${GCC_VER}-nightly.tar.xz
2525
fi
2626

27-
wget -q ${TOOLCHAIN_URL} -O- | tar -C toolchain --strip-components=1 -xz
27+
wget ${TOOLCHAIN_URL} -O- | tar -xz --strip-components=1 -C toolchain

.github/workflows/main.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ jobs:
266266
githubToken: ${{ github.token }}
267267
# No 'sudo' is available
268268
install: |
269-
apt-get update -q=2
270-
apt-get install -q=2 make git clang python3 python3-pip python3-venv libsdl2-dev libsdl2-mixer-dev lsb-release wget software-properties-common gnupg bc
269+
apt update -qq
270+
apt install -yqq make git clang libsdl2-dev libsdl2-mixer-dev lsb-release wget software-properties-common gnupg bc
271271
git config --global --add safe.directory ${{ github.workspace }}
272272
git config --global --add safe.directory ${{ github.workspace }}/src/softfloat
273273
git config --global --add safe.directory ${{ github.workspace }}/src/mini-gdbstub
@@ -286,10 +286,6 @@ jobs:
286286
make ENABLE_JIT=1 clean && make ENABLE_EXT_A=0 ENABLE_JIT=1 check -j$(nproc)
287287
make ENABLE_JIT=1 clean && make ENABLE_EXT_F=0 ENABLE_JIT=1 check -j$(nproc)
288288
make ENABLE_JIT=1 clean && make ENABLE_EXT_C=0 ENABLE_JIT=1 check -j$(nproc)
289-
.ci/riscv-toolchain-install.sh && export PATH=$PWD/toolchain/bin:$PATH
290-
python3 -m venv venv
291-
. venv/bin/activate
292-
.ci/riscv-tests.sh
293289
294290
coding-style:
295291
needs: [detect-code-related-file-changes]

mk/riscv-arch-test.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
riscof-check:
22
$(Q)if [ "$(shell pip show riscof 2>&1 | head -n 1 | cut -d' ' -f1)" = "WARNING:" ]; then \
3-
$(PRINTF) "Run 'pip3 install git+https://github.com/riscv/riscof.git@d38859f85fe407bcacddd2efcd355ada4683aee4' to install RISCOF\n"; \
3+
$(PRINTF) "Run 'pip3 install -r requirements.txt to install dependencies.\n"; \
44
exit 1; \
55
fi;
66

requirements.txt

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Cerberus==1.3.7
2+
chardet==5.2.0
3+
click==8.1.8
4+
colorlog==6.9.0
5+
DataProperty==1.1.0
6+
gitdb==4.0.12
7+
GitPython==3.1.17
8+
iniconfig==2.0.0
9+
Jinja2==3.1.5
10+
MarkupSafe==3.0.2
11+
mbstrdecoder==1.1.4
12+
packaging==24.2
13+
pathvalidate==3.2.3
14+
pluggy==1.5.0
15+
pyelftools==0.26
16+
pytablewriter==1.2.1
17+
pytest==8.3.4
18+
python-dateutil==2.9.0.post0
19+
pytz==2025.1
20+
PyYAML==5.2
21+
riscof @ git+https://github.com/riscv/riscof.git@d38859f85fe407bcacddd2efcd355ada4683aee4
22+
riscv-config==3.18.3
23+
riscv-isac==0.18.0
24+
ruamel.yaml==0.18.10
25+
ruamel.yaml.clib==0.2.12
26+
setuptools==75.8.0
27+
six==1.17.0
28+
smmap==5.0.2
29+
tabledata==1.3.4
30+
tcolorpy==0.1.7
31+
typepy==1.3.4

0 commit comments

Comments
 (0)