Skip to content

Commit

Permalink
ci: fixing local/ci separation
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter-Barrow committed Aug 20, 2024
1 parent 1dba820 commit 5eed208
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ before-build = [
]
skip = "pp"
archs = ["auto64"]
environment = { PATH="$PATH:./opt" }
environment = { PATH="$PATH:./opt", CI="CI" }

build = [
"cp39-manylinux_x86_64",
Expand Down
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ def building_on_github_actions():
return False
return True

local = True
if "CIBUILDWHEEL" in os.environ or os.environ["CIBUILDWHEEL"]:
local = False

local = False
if building_on_github_actions() is False:
local = True
# if building_on_github_actions():
# local = False

cython_dir = os.path.join("tangy_src")

Expand Down

0 comments on commit 5eed208

Please sign in to comment.