Skip to content

Commit

Permalink
Fix CI ubuntu system deps build (#3402)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
karliss authored Jan 15, 2025
1 parent db140ee commit d5088a5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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: [
Expand Down

0 comments on commit d5088a5

Please sign in to comment.