Fix CI ubuntu system deps build (#3402)
Some checks failed
CI / ${{ matrix.name }} (/usr/bin/gcc-12, /usr/bin/g++-12, ubuntu:22.04, linux-x86_64-system-deps, false, 3.11.x, true, false) (push) Has been cancelled
CI / ${{ matrix.name }} (default, default, 6) (push) Has been cancelled
CI / ${{ matrix.name }} (ubuntu:20.04, linux-x86_64, true, 3.6.x, false, false) (push) Has been cancelled
CI / ${{ matrix.name }} (ubuntu:20.04, tarball, false, 3.6.x, false, true) (push) Has been cancelled
CI / ${{ matrix.name }} (/usr/bin/gcc-7, /usr/bin/g++-7, ubuntu:18.04, linux-x86_64-qt5-system-deps, false, 3.6.x, 5, true) (push) Has been cancelled
CI / ${{ matrix.name }} (ubuntu:18.04, linux-x86_64-qt5, true, 3.6.x, 5, false) (push) Has been cancelled
CI / ${{ matrix.name }} () (push) Has been cancelled
CI / ${{ matrix.name }} (3.12.x) (push) Has been cancelled
CI / ${{ matrix.name }} (arm64, macos-arm64, macos-14, artifact_macos, true) (push) Has been cancelled
CI / ${{ matrix.name }} (false) (push) Has been cancelled
CI / ${{ matrix.name }} (windows-x86_64, windows-2019, artifact_windows, true, 3.12.x) (push) Has been cancelled
CI / ${{ matrix.name }} (x86_64, macos-x86_64, macos-13, true) (push) Has been cancelled
Docs / deploy (push) Has been cancelled
Linter / changes (push) Has been cancelled
CI / plugin-test-${{ matrix.name }} (build, artifact_macos, macos-arm64, macos-14) (push) Has been cancelled
CI / plugin-test-${{ matrix.name }} (build, artifact_windows, windows, windows-2019) (push) Has been cancelled
CI / plugin-test-${{ matrix.name }} (build-linux, artifact_linux, linux-x86_64, ubuntu-20.04) (push) Has been cancelled
Linter / clang-format (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 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 - 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 image: ubuntu:22.04
python-version: 3.10.x python-version: 3.11.x
system-deps: true system-deps: true
package: false package: false
tarball: false tarball: false
@ -161,10 +161,13 @@ jobs:
g++-12 g++-12
fi fi
- uses: actions/setup-python@v5 - uses: actions/setup-python@v5
if: matrix.system-deps == false
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: py dependencies - name: py dependencies
run: | run: |
python3 --version
which python3
# https://github.com/rizinorg/cutter/runs/7170222817?check_suite_focus=true # https://github.com/rizinorg/cutter/runs/7170222817?check_suite_focus=true
python3 -m pip install meson==0.61.5 python3 -m pip install meson==0.61.5
- name: Prepare package id - name: Prepare package id
@ -310,7 +313,7 @@ jobs:
artifact_linux: ${{ steps.output_setup.outputs.artifact_name }} artifact_linux: ${{ steps.output_setup.outputs.artifact_name }}
build-linux-old: build-linux-old:
name: ${{ matrix.name }} name: ${{ matrix.name }}
runs-on: ubuntu-latest runs-on: ubuntu-latest # only a host environement, actual building happens in a docker image
strategy: strategy:
matrix: matrix:
name: [ name: [