From: Michal Orzel Date: Thu, 22 Apr 2021 07:59:03 +0000 (+0200) Subject: CI/build: Explicitly specify the packages to install X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2cf3168661355565e2b80395ef16c5ee3cfc5f55;p=people%2Fandrewcoop%2Fxen-test-framework.git CI/build: Explicitly specify the packages to install ... so that we can test the workflows on different docker images. Closes #1 Signed-off-by: Michal Orzel Reviewed-by: Andrew Cooper --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bd2cc14..e27db63 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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