Skip to content

Commit cbc1543

Browse files
committed
Workaround for "missing pip"
Related to actions/setup-python#821
1 parent 23414c6 commit cbc1543

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/llvm-project-tests.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ jobs:
7676
# python3.10.6 libraries instead of the 64-bit libraries when building
7777
# lldb. Using this setup-python action to make 3.10 the default
7878
# python fixes this.
79-
- name: Setup Python
80-
uses: actions/setup-python@v4
81-
with:
82-
python-version: ${{ inputs.python_version }}
79+
#- name: Setup Python
80+
# uses: actions/setup-python@v4
81+
# with:
82+
# python-version: ${{ inputs.python_version }}
8383
- name: Install Ninja
8484
if: runner.os != 'Linux'
8585
uses: llvm/actions/install-ninja@main
@@ -91,7 +91,10 @@ jobs:
9191
fetch-depth: 250
9292
- name: Install requirements.txt
9393
if: inputs.projects == 'mlir'
94-
run: pip install -r mlir/python/requirements.txt
94+
run: |
95+
apt-get update
96+
apt-get install -y python3-pip
97+
pip install -r mlir/python/requirements.txt
9598
- name: Setup ccache
9699
uses: hendrikmuhs/ccache-action@v1
97100
with:

0 commit comments

Comments
 (0)