Update doc for AppVeyor on linux

This commit is contained in:
mayeut
2019-11-12 01:20:06 +01:00
parent 7d90a2f16b
commit b3f82d52cc
2 changed files with 19 additions and 12 deletions
+2 -2
View File
@@ -32,13 +32,13 @@ What does it do?
Usage Usage
----- -----
`cibuildwheel` currently works on **Travis CI** and **Azure Pipelines** to build wheels for all three supported platforms (Linux, macOS, Windows). On **CircleCI** Linux and macOS wheels can be built, and on **AppVeyor** Windows is supported. `cibuildwheel` currently works on **Travis CI** and **Azure Pipelines** to build wheels for all three supported platforms (Linux, macOS, Windows). On **CircleCI** Linux and macOS wheels can be built, and on **AppVeyor** Linux and Windows are supported.
| | Linux | macOS | Windows | | | Linux | macOS | Windows |
|-----------------|-------|-------|---------| |-----------------|-------|-------|---------|
| Azure Pipelines | ✅ | ✅ | ✅ | | Azure Pipelines | ✅ | ✅ | ✅ |
| Travis CI | ✅ | ✅ | ✅ | | Travis CI | ✅ | ✅ | ✅ |
| AppVeyor | | | ✅ | | AppVeyor | | | ✅ |
| CircleCI | ✅ | ✅ | | | CircleCI | ✅ | ✅ | |
`cibuildwheel` is not intended to run on your development machine. Because it uses system Python from Python.org it will try to install packages globally - not what you expect from a build tool! Instead, isolated CI services like Travis CI, CircleCI, Azure Pipelines and AppVeyor are ideal. `cibuildwheel` is not intended to run on your development machine. Because it uses system Python from Python.org it will try to install packages globally - not what you expect from a build tool! Instead, isolated CI services like Travis CI, CircleCI, Azure Pipelines and AppVeyor are ideal.
+11 -4
View File
@@ -139,16 +139,23 @@ Commit this file, enable building of your repo on CircleCI, and push.
CircleCI will store the built wheels for you - you can access them from the project console. Check out the CircleCI [docs](https://circleci.com/docs/2.0/configuration-reference/#section=configuration) for more info on this config file. CircleCI will store the built wheels for you - you can access them from the project console. Check out the CircleCI [docs](https://circleci.com/docs/2.0/configuration-reference/#section=configuration) for more info on this config file.
# AppVeyor [windows] {: #appveyor} # AppVeyor [linux/windows] {: #appveyor}
To build Windows wheels on AppVeyor, create an `appveyor.yml` file in your repo. To build Linux and Windows wheels on AppVeyor, create an `appveyor.yml` file in your repo.
> appveyor.yml > appveyor.yml
```yaml ```yaml
image:
- Ubuntu
- Visual Studio 2015
build_script: build_script:
- pip install cibuildwheel==1.0.0 # windows
- cibuildwheel --output-dir wheelhouse - cmd: pip install cibuildwheel==1.0.0
- cmd: cibuildwheel --output-dir wheelhouse
# linux
- sh: "${HOME}/.localpython3.7.4/bin/python3 -m pip install cibuildwheel==1.0.0"
- sh: "${HOME}/.localpython3.7.4/bin/python3 -m cibuildwheel --output-dir wheelhouse"
artifacts: artifacts:
- path: "wheelhouse\\*.whl" - path: "wheelhouse\\*.whl"
name: Wheels name: Wheels