Skip to content

Commit

Permalink
Fixed the build script on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
openvmp committed Jan 13, 2024
1 parent 0d9e17e commit 3a2a3a3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@ jobs:
python -m pip install --upgrade pip build
mkdir .venv
python -m venv .venv/build
(. .venv/build/bin/activate && python -m pip install --upgrade pip build; deactivate)
(. .venv/build/bin/activate && python -m pip install --upgrade pip build && deactivate)
python -m venv .venv/build-cli
(. .venv/build-cli/bin/activate && python -m pip install --upgrade pip build; deactivate)
(. .venv/build-cli/bin/activate && python -m pip install --upgrade pip build && deactivate)
python -m venv .venv/install
(. .venv/install/bin/activate && python -m pip install --upgrade pip build; deactivate)
(. .venv/install/bin/activate && python -m pip install --upgrade pip build && deactivate)
- name: Test building and packaging
run: |
(. .venv/build/bin/activate && cd partcad && python -m build; deactivate)
(. .venv/build-cli/bin/activate && python -m pip install partcad/dist/partcad-[0-9].[0-9]*.[0-9]*-py3-none-any.whl; deactivate)
(. .venv/build-cli/bin/activate && cd partcad-cli && python -m build; deactivate)
(. .venv/build/bin/activate && cd partcad && python -m build && deactivate)
(. .venv/build-cli/bin/activate && python -m pip install partcad/dist/partcad-[0-9].[0-9]*.[0-9]*-py3-none-any.whl && deactivate)
(. .venv/build-cli/bin/activate && cd partcad-cli && python -m build && deactivate)
- name: Test installation
run: |
(. .venv/install/bin/activate && python -m pip install partcad/dist/partcad-[0-9].[0-9]*.[0-9]*-py3-none-any.whl; deactivate)
(. .venv/install/bin/activate && python -m pip install partcad-cli/dist/partcad_cli-[0-9].[0-9]*.[0-9]*-py3-none-any.whl; deactivate)
(. .venv/install/bin/activate && python -m pip install partcad/dist/partcad-[0-9].[0-9]*.[0-9]*-py3-none-any.whl && deactivate)
(. .venv/install/bin/activate && python -m pip install partcad-cli/dist/partcad_cli-[0-9].[0-9]*.[0-9]*-py3-none-any.whl && deactivate)

0 comments on commit 3a2a3a3

Please sign in to comment.