miniupnp/.github/actions/create-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
create_temporary_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

readme.md

Create venv

Creates a venv in the runner temporary path that will be removed upon completion of the job. This can be used in combination with the activate-venv action such as shown below.

- uses: Chia-Network/actions/create-venv@main
  id: create-venv

- uses: Chia-Network/actions/activate-venv@main
  with:
    directories: ${{ steps.create-venv.outputs.activate-venv-directories }}

copied from 5851777428/create-venv