From 8956fefa9cc7f17dc3d3ba8afc900749bd697178 Mon Sep 17 00:00:00 2001
From: AlQuemist <alquemist@Lyriks>
Date: Thu, 15 Jun 2023 16:52:12 +0200
Subject: [PATCH] GitLab-CI: add the proper Python platform [Linux]

---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 180e7f7f7d2..b8af7c62394 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,6 +14,7 @@ native_Debian_clang:
     - export PYTHONPATH=$CI_PROJECT_DIR/build/lib
     - export MPLBACKEND=Agg
     - QTCMAKE="/usr/local/Qt6/6.2.3/gcc_64/lib/cmake"
+    - PYPLAT="/home/build/multipython/Python311"
     - cmake --version
     - clang --version
   stage: build
@@ -21,7 +22,7 @@ native_Debian_clang:
     - env
     - mkdir build
     - cd build
-    - time cmake .. -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DBA_PY_PACKAGE=ON -DCMAKE_PREFIX_PATH=$QTCMAKE -DZERO_TOLERANCE=ON -DDEVELOPER_CHECKS=ON
+    - time cmake .. -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DBA_PY_PACKAGE=ON -DBA_PY_PLATFORM="$PYPLAT" -DCMAKE_PREFIX_PATH=$QTCMAKE -DZERO_TOLERANCE=ON -DDEVELOPER_CHECKS=ON
     - time make -j24
     - time xvfb-run -a ctest -j16 --output-on-failure
     - time make package_source
-- 
GitLab