about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2022-05-27 19:53:20 +0200
committerGitHub <noreply@github.com>2022-05-27 19:53:20 +0200
commitc76516b37d602a3d93d1b038529337fce351da06 (patch)
treee4bbf4220095735bb2f7cb4d9951aa8dd14d222c
parentdc3b108ab16ba7994c15230c313dcde61c343ba3 (diff)
parent45f6d83f293945717ce3b89b21f43b74026ac1c8 (diff)
downloadfocaccia-miasm-c76516b37d602a3d93d1b038529337fce351da06.tar.gz
focaccia-miasm-c76516b37d602a3d93d1b038529337fce351da06.zip
Merge pull request #1431 from commial/python310
CI: add support for Python 3.10
-rw-r--r--.github/workflows/tests.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 49926aed..49e10e60 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -7,7 +7,7 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        python-version: ['2.7', '3.6', '3.8']
+        python-version: ['2.7', '3.6', '3.8', '3.10']
 
     steps:
 
@@ -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