-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There's a small chance this is all we need to enable appropriate inte…
…rnal visibility to our rust and python dependencies
- Loading branch information
Showing
3 changed files
with
5 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,16 @@ | ||
jobs: | ||
- job: build_identity | ||
displayName: Materialize Python Build Number | ||
pool: | ||
vmImage: "ubuntu-latest" | ||
steps: | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '3.8' | ||
- script: | | ||
pip install -U pip | ||
pip install toml | ||
python .devops/manifest_version.py packages/pyo3/Cargo.toml "$BUILD_SOURCEBRANCHNAME" "$BUILD_BUILDNUMBER" | ||
displayName: "Create Python Version Number" | ||
- publish: packages/pyo3/Cargo.toml | ||
artifact: cargotoml | ||
- job: python_build | ||
- job: component_detection | ||
displayName: Python Build | ||
dependsOn: build_identity | ||
strategy: | ||
matrix: | ||
linux_p36: | ||
os: "ubuntu-latest" | ||
python_version: "3.6" | ||
linux_p37: | ||
os: "ubuntu-latest" | ||
python_version: "3.7" | ||
linux_p38: | ||
linux: | ||
os: "ubuntu-latest" | ||
python_version: "3.8" | ||
mac_p36: | ||
macos: | ||
os: "macos-latest" | ||
python_version: "3.6" | ||
mac_p37: | ||
os: "macos-latest" | ||
python_version: "3.7" | ||
mac_p38: | ||
os: "macos-latest" | ||
python_version: "3.8" | ||
windows_p36: | ||
os: "windows-latest" | ||
python_version: "3.6" | ||
windows_p37: | ||
os: "windows-latest" | ||
python_version: "3.7" | ||
windows_p38: | ||
windows: | ||
os: "windows-latest" | ||
python_version: "3.8" | ||
pool: | ||
vmImage: $(os) | ||
steps: | ||
- download: current | ||
artifact: cargotoml | ||
- task: Rust@1 | ||
inputs: | ||
installNightly: true | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: $(python_version) | ||
- script: | | ||
pip install -U pip setuptools wheel | ||
pip install maturin | ||
cd packages/pyo3 | ||
cp $(Pipeline.Workspace)/cargotoml/Cargo.toml Cargo.toml | ||
python $(Build.SourcesDirectory)/.devops/homogenized_maturin_build.py $(python_version) | ||
pip install ../target/wheels/*.whl | ||
python -m unittest | ||
- publish: target/wheels | ||
artifact: drop$(System.JobName) | ||
- task: ComponentGovernanceComponentDetection@0 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.