Fix CI ubuntu system deps build (#3402)
Some checks failed
CI / linux-x86_64-system-deps (push) Has been cancelled
CI / (push) Has been cancelled
CI / linux-x86_64 (push) Has been cancelled
CI / tarball (push) Has been cancelled
CI / linux-x86_64-qt5-system-deps (push) Has been cancelled
CI / linux-x86_64-qt5 (push) Has been cancelled
CI / macos-arm64 (push) Has been cancelled
CI / windows-x86_64 (push) Has been cancelled
CI / macos-x86_64 (push) Has been cancelled
Docs / deploy (push) Has been cancelled
Linter / changes (push) Has been cancelled
CI / plugin-test-macos-arm64 (push) Has been cancelled
CI / plugin-test-windows (push) Has been cancelled
CI / plugin-test-linux-x86_64 (push) Has been cancelled
Linter / clang-format (push) Has been cancelled
coverity-scan / latest (push) Has been cancelled

Python versions provided by GHA setup-py currently doesn't work properly in Ubuntu 22.04 images for some reason.

For now use the system python, system-deps job was supposed to use it anyways.
This commit is contained in:
karliss 2025-01-15 13:34:10 +02:00 committed by GitHub
parent db140ee3fb
commit d5088a51ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,7 @@ jobs:
cxx-override: default
- name: linux-x86_64-system-deps # ensure that Cutter can be built at least in basic config on Ubuntu 22.04 using sytem libraries
image: ubuntu:22.04
python-version: 3.10.x
python-version: 3.11.x
system-deps: true
package: false
tarball: false
@ -161,10 +161,13 @@ jobs:
g++-12
fi
- uses: actions/setup-python@v5
if: matrix.system-deps == false
with:
python-version: ${{ matrix.python-version }}
- name: py dependencies
run: |
python3 --version
which python3
# https://github.com/rizinorg/cutter/runs/7170222817?check_suite_focus=true
python3 -m pip install meson==0.61.5
- name: Prepare package id
@ -310,7 +313,7 @@ jobs:
artifact_linux: ${{ steps.output_setup.outputs.artifact_name }}
build-linux-old:
name: ${{ matrix.name }}
runs-on: ubuntu-latest
runs-on: ubuntu-latest # only a host environement, actual building happens in a docker image
strategy:
matrix:
name: [