]> xenbits.xensource.com Git - people/andrewcoop/xen-test-framework.git/commitdiff
CI/build: Explicitly specify the packages to install
authorMichal Orzel <michal.orzel@arm.com>
Thu, 22 Apr 2021 07:59:03 +0000 (09:59 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 22 Apr 2021 10:56:41 +0000 (11:56 +0100)
... so that we can test the workflows on different
docker images.

Closes #1

Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
.github/workflows/build.yml

index bd2cc1412b414f1af1ccb82512d274b08f9a9762..e27db631383476e2e398134175f60f2dd3fda548 100644 (file)
@@ -32,8 +32,15 @@ jobs:
     steps:
     - name: Install
       run: |
+        c=${{matrix.compiler}}
+        v=${c##llvm-}
+        case $c in
+            # Need all {llvm,clang,lld}-$v packages
+            llvm-*) EXTRA="clang-${v} lld-${v}" ;;
+        esac
+
         sudo apt-get update -q
-        sudo apt-get install ${{matrix.compiler}}
+        sudo apt-get install -y build-essential python ${{matrix.compiler}} ${EXTRA}
 
     - uses: actions/checkout@v2