43 lines
2.9 KiB
YAML
43 lines
2.9 KiB
YAML
# ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
|
# ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
|
|
# ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
|
|
# ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
|
|
# ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
|
|
# ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
|
|
# ┃ Copyright (c) 2017, the Perspective Authors. ┃
|
|
# ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
|
|
# ┃ This file is part of the Perspective library, distributed under the terms ┃
|
|
# ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
|
|
# ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
|
|
|
name: "Install wheel"
|
|
description: "Installs the wheel depending on build platform, because Python"
|
|
|
|
inputs:
|
|
inplace:
|
|
default: "true"
|
|
description: "Install in-place?"
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Install wheel (Linux)
|
|
shell: sh
|
|
run: python -m pip install -U --no-dependencies *.whl --target rust/perspective-python
|
|
if: ${{ inputs.inplace == 'true' && runner.os == 'Linux' }}
|
|
|
|
- name: Install wheel (Linux)
|
|
shell: sh
|
|
run: python -m pip install -U --no-dependencies *.whl
|
|
if: ${{ inputs.inplace != 'true' && runner.os == 'Linux' }}
|
|
|
|
- name: Install wheel (OSX)
|
|
shell: sh
|
|
run: python -m pip install -U --no-dependencies *.whl --target rust/perspective-python
|
|
if: ${{ runner.os == 'macOS' }}
|
|
|
|
- name: Install wheel (Windows)
|
|
shell: pwsh
|
|
run: python -m pip install -U --no-dependencies (Get-ChildItem .\*.whl | Select-Object -Expand FullName) --target rust/perspective-python
|
|
if: ${{ runner.os == 'Windows' }}
|