Skip to content

Commit

Permalink
[MRG+1] Fix aarch builds (#565)
Browse files Browse the repository at this point in the history
* Debug env

* Have to explicitly pass GITHUB_REF to CIBW

* Remove debug lines
  • Loading branch information
aaronreidsmith authored Oct 23, 2023
1 parent b07e9a6 commit e9905d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
pip install -r build_tools/build_requirements.txt &&
pip install -r requirements.txt
CIBW_BUILD: "${{ env.PYTHON_EXECUTABLE }}-*"
CIBW_ENVIRONMENT: CC=gcc
CIBW_ENVIRONMENT: CC=gcc GITHUB_REF=${{ env.GITHUB_REF }}
CIBW_ENVIRONMENT_MACOS: PMD_MPL_BACKEND=TkAgg PYTHON_CROSSENV=true
# No support for pypy or musl
CIBW_SKIP: "pp* *-musllinux_*"
Expand Down
1 change: 1 addition & 0 deletions build_tools/get_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ def get_version_from_tag(tag):

# Local or non-tagged commit. setuptools requires a VERSION file, so just write a default one
else:
print("Not a tagged commit or not on CI. Using default tag")
with open(OUT_FILE, 'w') as f:
f.write(DEFAULT_TAG)

0 comments on commit e9905d3

Please sign in to comment.