about summary refs log tree commit diff stats
path: root/.appveyor.yml
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2025-01-26 15:51:44 +0100
committerGitHub <noreply@github.com>2025-01-26 15:51:44 +0100
commit2a15c60712b326b541d42ac48f372f97023547e7 (patch)
treeeb779621340166a7d37980d5548b169168962ab2 /.appveyor.yml
parent0164999126ce49b8033eea283467c5d719a25640 (diff)
parentd9fb6d58c71b388709058fe28b72205fd5ea0061 (diff)
downloadfocaccia-miasm-2a15c60712b326b541d42ac48f372f97023547e7.tar.gz
focaccia-miasm-2a15c60712b326b541d42ac48f372f97023547e7.zip
Merge pull request #1506 from serpilliere/updt_llvm_ci develop
Fix distutils
Diffstat (limited to '.appveyor.yml')
-rw-r--r--.appveyor.yml31
1 files changed, 11 insertions, 20 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 2d673193..22d25875 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -1,4 +1,4 @@
-version: 1.{build}
+image: Visual Studio 2022
 
 configuration:
   - Release
@@ -7,38 +7,29 @@ clone_folder: c:\projects\miasm
 
 environment:
   matrix:
-    - platform: Win32
-      APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
-      PLATFORM_TOOLSET: v141
-      PYTHON: c:\Python38
-      PYTHON_VERSION: "3.8.x"
-
-    - platform: x64
-      APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
-      PLATFORM_TOOLSET: v141
-      PYTHON: c:\Python38-x64
-      PYTHON_VERSION: "3.8.x"
-      # on_finish:
-      #  - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
+    - PYTHON: "C:\\Python312-x64"
+      PYTHON_VERSION: "3.12.x"
+      PYTHON_ARCH: "64"
+
+init:
+  - "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"
+  - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
 
 install:
   - cmd: cd c:\projects\miasm
-  - cmd: "%PYTHON%\\python.exe -m pip install -r requirements.txt"
-  - cmd: "%PYTHON%\\python.exe -m pip install -r optional_requirements.txt"
+  - cmd: "python.exe -m pip install -r requirements.txt"
+  - cmd: "python.exe -m pip install -r optional_requirements.txt"
 
 build_script:
-  - cmd: if "%platform%"=="Win32" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
-  - cmd: if "%platform%"=="x64" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
   - "%PYTHON%\\python.exe setup.py build"
   - "%PYTHON%\\python.exe setup.py install"
 
 test_script:
   - cmd: cd c:\projects\miasm\test
-  - "%PYTHON%\\python.exe -W error test_all.py"
+  - "%PYTHON%\\python.exe -W error test_all.py -t gcc"
 
 after_test:
   - cmd: chdir
-  - cmd: set plat
   - cmd: if "%platform%"=="Win32" 7z a -t7z ..\miasm.x86.release.7z c:\projects\miasm\build\*lib*
   - cmd: if "%platform%"=="X64" 7z a -t7z ..\miasm.x64.release.7z c:\projects\miasm\build\*lib*