Skip to content

Commit

Permalink
Add before-all to pyproject.toml to install deno for linux containers
Browse files Browse the repository at this point in the history
  • Loading branch information
taybenlor committed Dec 28, 2024
1 parent 944879b commit 7921acc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ jobs:
with:
deno-version: "v2.x"

- run: echo "Deno version is ${{ steps.deno.outputs.deno-version }}"
- run: echo "Binary version is:" `deno --version`
- run: echo "PATH is:" $PATH
- run: /bin/sh -c "echo $PATH"
- run: /bin/sh -c "deno --version"

- name: Build wheels
uses: pypa/[email protected]
env:
Expand Down
4 changes: 4 additions & 0 deletions sandbox/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,7 @@ infer_tag = true

[tool.hatch.build.targets.wheel.hooks.custom]
path = "hatch_build.py"

# Make sure deno is installed inside cibuildwheel containers
[tool.cibuildwheel.linux]
before-all = "curl -fsSL https://deno.land/install.sh | sh"

0 comments on commit 7921acc

Please sign in to comment.