blob: b471d9c3254b027d3871840df18290553b396eb0 [file] [log] [blame]
From abfe30b1fe8118a4ff935bd7cb03243329eba4b8 Mon Sep 17 00:00:00 2001
From: Vincent Fu <vincent.fu@samsung.com>
Date: Mon, 29 Aug 2022 14:24:16 -0400
Subject: [PATCH] test: use Ubuntu 22.04 for 64-bit tests
On 22.04 there was a conflict among libunwind-14-dev, libunwind-dev, and
libunwind8 that was resolved by removing libunwind-14-dev.
The 32-bit Ubuntu setup steps require more attention to get them to work
on 22.04. Stay on 20.04 for now and figure it out later.
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) libunwind-14-dev:amd64 < 1:14.0.0-1ubuntu1 @ii K Ib >
Broken libunwind-14-dev:amd64 Breaks on libunwind-dev:amd64 < none -> 1.3.2-2build2 @un puN >
Considering libunwind-dev:amd64 -1 as a solution to libunwind-14-dev:amd64 2
Done
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:
libunwind-14-dev : Breaks: libunwind-dev but 1.3.2-2build2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
---
.github/workflows/ci.yml | 6 +++---
ci/actions-install.sh | 2 ++
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 650366b2..85104e5a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -18,10 +18,10 @@ jobs:
- android
include:
- build: linux-gcc
- os: ubuntu-20.04
+ os: ubuntu-22.04
cc: gcc
- build: linux-clang
- os: ubuntu-20.04
+ os: ubuntu-22.04
cc: clang
- build: macos
os: macos-11
@@ -29,7 +29,7 @@ jobs:
os: ubuntu-20.04
arch: i686
- build: android
- os: ubuntu-20.04
+ os: ubuntu-22.04
arch: aarch64-linux-android32
env:
diff --git a/ci/actions-install.sh b/ci/actions-install.sh
index b5c4198f..7017de2a 100755
--- a/ci/actions-install.sh
+++ b/ci/actions-install.sh
@@ -54,6 +54,8 @@ DPKGCFG
libtcmalloc-minimal4
nvidia-cuda-dev
)
+ echo "Removing libunwind-14-dev because of conflicts with libunwind-dev"
+ sudo apt remove -y libunwind-14-dev
;;
esac