From 40ee7cb3e37daacea1c651ff03828776cb6455e1 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sat, 13 May 2023 14:49:54 +0200 Subject: [PATCH] Disable risc-v --- .github/workflows/platform_natives.yaml | 2 +- .../scripts/install_deps_linux_riscv64_ssl3.sh | 17 +++++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/platform_natives.yaml b/.github/workflows/platform_natives.yaml index 16ac7de..630514b 100644 --- a/.github/workflows/platform_natives.yaml +++ b/.github/workflows/platform_natives.yaml @@ -20,7 +20,7 @@ jobs: - { os: ubuntu-20.04, type: "linux_arm64_ssl1" } - { os: ubuntu-22.04, type: "linux_arm64_ssl3" } - { os: ubuntu-22.04, type: "linux_ppc64le_ssl3" } - - { os: ubuntu-22.04, type: "linux_riscv64_ssl3" } + #- { os: ubuntu-22.04, type: "linux_riscv64_ssl3" } #- { os: windows-2019, type: "windows_amd64", vcpkgCommitId: "6ca56aeb457f033d344a7106cb3f9f1abf8f4e98", triplet: "x64-windows-static" } #- { os: macos-12, type: "macos_amd64" } steps: diff --git a/.github/workflows/scripts/install_deps_linux_riscv64_ssl3.sh b/.github/workflows/scripts/install_deps_linux_riscv64_ssl3.sh index 393912e..4d53203 100755 --- a/.github/workflows/scripts/install_deps_linux_riscv64_ssl3.sh +++ b/.github/workflows/scripts/install_deps_linux_riscv64_ssl3.sh @@ -11,8 +11,6 @@ echo "deb [arch=arm64,armhf,ppc64el,riscv64,s390x] http://ports.ubuntu.com/ $(ls echo "deb [arch=arm64,armhf,ppc64el,riscv64,s390x] http://ports.ubuntu.com/ $(lsb_release -cs)-security main universe restricted multiverse" >> /etc/apt/sources.list.d/tdlight-multiarch.list apt-get --assume-yes update -# workaround -apt-get --assume-yes full-upgrade # Install and bypass a bug in the cross-platform libc++ packages apt-get --assume-yes autoremove "libc++-15-dev:*" "libc++abi-15-dev:*" "libc++1-15:*" "libc++abi1-15:*" "libunwind-15-dev:*" "libunwind-15:*" || true @@ -29,4 +27,19 @@ dpkg-deb -xv libclang-common-15-dev_*_riscv64.deb / # Install dependencies +# +#I don't know why this command fails in github actions only with risc-v: +#Reading package lists... +#Building dependency tree... +#Reading state information... +#Some packages could not be installed. This may mean that you have +#requested an impossible situation or if you are using the unstable +#distribution that some required packages have not yet been created +#or been moved out of Incoming. +#The following information may help to resolve the situation: +# +#The following packages have unmet dependencies: +# libselinux1:riscv64 : Depends: libpcre2-8-0:riscv64 (>= 10.22) but it is not going to be installed +#E: Unable to correct problems, you have held broken packages. +# apt-get --assume-yes -o Dpkg::Options::="--force-overwrite" install libssl-dev:riscv64 zlib1g-dev:riscv64 openjdk-17-jdk-headless:riscv64 libgcc-12-dev:riscv64 libc6-dev:riscv64