test: use Ubuntu 22.04 for 64-bit tests
authorVincent Fu <vincent.fu@samsung.com>
Mon, 29 Aug 2022 18:24:16 +0000 (14:24 -0400)
committerVincent Fu <vincent.fu@samsung.com>
Mon, 29 Aug 2022 20:42:18 +0000 (16:42 -0400)
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
ci/actions-install.sh

index 650366b23d87d5d7030aa918f9c58c5a48815436..85104e5aad3fff4a3f0b4aa89ba656e20a004322 100644 (file)
@@ -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:
index b5c4198f93f4dad18d72bd45993c3032e84f402b..7017de2a6a79299be8b53969fdfafae49655037b 100755 (executable)
@@ -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