Skip to content

Commit

Permalink
Try to build python with clang instead of gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
alorence committed Jan 2, 2023
1 parent 32351ea commit cea0d8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ env:
POETRY_INSTALLER_PARALLEL: true
POETRY_VIRTUALENVS_CREATE: true
PIP_DISABLE_PIP_VERSION_CHECK: 1
# Ensure pyenv distributions will be compiled with clang
CC: clang

jobs:
tests:
Expand Down Expand Up @@ -192,7 +194,7 @@ jobs:
# Only ran on tag push and manual trigger
if: (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) || github.event.inputs.target_repo != ''
env:
# inputs.target_repo is set only when workflow was manually triggered. Default to 'pypi.org' for tags push
# inputs.target_repo is set only when workflow was manually triggered. Default to 'pypi.org' for tags push
pypi_repository: ${{ github.event.inputs.target_repo || 'pypi.org' }}

steps:
Expand Down

0 comments on commit cea0d8f

Please sign in to comment.