Skip to content

Commit

Permalink
There's a small chance this is all we need to enable appropriate inte…
Browse files Browse the repository at this point in the history
…rnal visibility to our rust and python dependencies
  • Loading branch information
daxpryce committed Feb 18, 2022
1 parent 0994179 commit 2e43a8c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 146 deletions.
63 changes: 5 additions & 58 deletions .devops/build.yml
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
25 changes: 0 additions & 25 deletions .devops/publish.yml

This file was deleted.

63 changes: 0 additions & 63 deletions .devops/sign.yml

This file was deleted.

0 comments on commit 2e43a8c

Please sign in to comment.