]> git.proxmox.com Git - wasi-libc.git/commitdiff
Install libtinfo5 on ubuntu. (#349)
authorDan Gohman <dev@sunfishcode.online>
Wed, 30 Nov 2022 19:17:08 +0000 (11:17 -0800)
committerGitHub <noreply@github.com>
Wed, 30 Nov 2022 19:17:08 +0000 (11:17 -0800)
We download LLVM releases built for Ubuntu 18 because LLVM doesn't
always have builds for different versions, but the builds we use
depend on libtinfo5 which isn't installed on Ubuntu 20 by default.
So install it.

.github/workflows/main.yml

index 8bbb012eb1bc068c20efcd0680ffb799585a903e..17ef735c7f10c1c22080e2747631fb0872638d3e 100644 (file)
@@ -15,6 +15,13 @@ jobs:
       with:
         submodules: true
 
+    - name: Install libtinfo5
+      run: |
+        set -ex
+        sudo apt-get update
+        sudo apt-get install -y libtinfo5
+      if: matrix.os == 'ubuntu-latest'
+
     - name: Install LLVM tools (Windows)
       shell: bash
       run: |