miniupnp/.github/actions/activate-venv
Kyle Altendorf f9b2857dce
build miniupnpc wheels in ci (#640)
* add miniupnpc_wheels_yml

* cp --recursive --verbose cloned/miniupnpc source

* --dereference

* reduce legibility to -RLv for macOS

* try qemu for linux aarch64

* use macos-latest for macOS ARM64 and cross build

* only setup qemu for linux

* skip install test for macos arm64 since we are cross building

* force all CIBW_ARCHS

* skip install test for all arm since we are cross building

* copy in actions

* setup for windows exclusion before merge

* add 3.12

* update from upstream

* macos arm runners, supposedly

* checkout before local actions

* cloned/

* _MACOS

* multiple cibuildwheel pins

* more cloned/

* exclude macos arm 3.7-3.9 due to python unavailability from github actions

* yup

* actions/setup-python@v5

* update pip

* maybe actually use qemu for linux arm

* oops

* more explicit in docker

* -m

* hmm

* aarch64

* aarch64 _and_ arm64

* ...

* try calling out os/arch labels for the runner

* Revert "try calling out os/arch labels for the runner"

This reverts commit 51f1f43e6b11b83433eb297a1ba0a15ef9e06702.

* add copyright and license notices

* exclude windows, cleanup
2024-03-13 01:09:47 +01:00
..
action.yml build miniupnpc wheels in ci (#640) 2024-03-13 01:09:47 +01:00
activate_venv.py build miniupnpc wheels in ci (#640) 2024-03-13 01:09:47 +01:00
readme.md build miniupnpc wheels in ci (#640) 2024-03-13 01:09:47 +01:00
test_check_activated.py build miniupnpc wheels in ci (#640) 2024-03-13 01:09:47 +01:00

readme.md

Activate virtual environment

Provides cross-platform activation of a Python virtual environment. By default it searches in venv/ then .venv/. This is configurable via a JSON list passed to the directories parameter.

- uses: Chia-Network/actions/activate-venv@main
- uses: Chia-Network/actions/activate-venv@main
  directories: '["another_virtualenv/"]'

copied from 5851777428/activate-venv