mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Try to fix uvloop build errors on macos-latest (2)
This commit is contained in:
parent
08f13262c0
commit
f16ef5ab5a
1 changed files with 1 additions and 9 deletions
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
|
|
@ -92,18 +92,10 @@ jobs:
|
|||
path: .venv
|
||||
key: venv-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}-${{ secrets.CACHE_VERSION }}
|
||||
|
||||
- name: Apply macos-specific workarounds when building uvloop on PyPy
|
||||
if: >
|
||||
matrix.os == 'macos-latest'
|
||||
&& startswith(matrix.python-version, 'pypy')
|
||||
&& steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
set -eu
|
||||
pip install -U pip
|
||||
|
||||
- name: Project dependencies
|
||||
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
export CFLAGS="$CFLAGS -std=c11"
|
||||
poetry install --no-interaction -E fast -E redis -E proxy -E i18n -E docs
|
||||
|
||||
- name: Lint code
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue