about summary refs log tree commit diff stats
path: root/.github
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2022-05-27 08:48:05 +0000
committerCamille Mougey <commial@gmail.com>2022-05-27 16:55:13 +0200
commit45f6d83f293945717ce3b89b21f43b74026ac1c8 (patch)
treee4bbf4220095735bb2f7cb4d9951aa8dd14d222c /.github
parente22883339513829b0194d2e0e2376b02a405c7a1 (diff)
downloadfocaccia-miasm-45f6d83f293945717ce3b89b21f43b74026ac1c8.tar.gz
focaccia-miasm-45f6d83f293945717ce3b89b21f43b74026ac1c8.zip
CI: install LLVM 8 before fetching llvmlite
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tests.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 1298f63a..49e10e60 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -25,12 +25,15 @@ jobs:
     - name: Install requirements
       run: pip install -r requirements.txt
 
+    - name: Install llvm 8 (llvmlite compatible)
+      run: sudo apt-get install llvm-8
+
+    - name: Use llvm 8
+      run: sudo update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-8 1
+
     - name: Install optional requirements
       run: pip install -r optional_requirements.txt
 
-    - name: Install llvm
-      run: sudo apt-get install llvm
-
     - name: Install Miasm
       uses: ./.github/actions/install