File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ parameters :
2+ interpreter : ' '
3+ path : ' '
4+ target : ' '
5+
6+ steps :
7+ - bash : curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
8+ displayName : rustup
9+ - bash : PATH=$(path) rustup default nightly
10+ displayName : ensure nightly
11+ - bash : PATH=$(path) pip install --user --upgrade pip wheel maturin mypy twine
12+ displayName : build dependencies
13+ - bash : PATH=$(path) pip install --user -r test/requirements.txt
14+ displayName : test dependencies
15+ - bash : PATH=$(path) pip install --user -r integration/requirements.txt
16+ displayName : integration dependencies
17+ - bash : PATH=$(path) RUSTFLAGS="-C target-feature=+sse2" maturin build --release --strip --interpreter $(interpreter) --target $(target)
18+ displayName : build
19+ - bash : PATH=$(path) pip install --user target/wheels/orjson*.whl
20+ displayName : install
21+ - bash : PATH=$(path) pytest -vrxXs test
22+ displayName : pytest
23+ - bash : PATH=$(path) mypy ./orjson.pyi
24+ displayName : mypy
25+ - bash : PATH=$(path) ./integration/run thread
26+ displayName : thread
27+ - bash : PATH=$(path) ./deploy target/wheels/*.whl
28+ displayName : deploy
29+ env :
30+ TWINE_PASSWORD : $(TWINE_PASSWORD)
31+ TWINE_USERNAME : $(TWINE_USERNAME)
Original file line number Diff line number Diff line change 1717 dependencies : apt
1818 - template : ./azure-sdist.yml
1919
20+ - job : linux_python38
21+ pool :
22+ vmImage : ubuntu-16.04
23+ container : python:3.8-rc-buster
24+ variables :
25+ interpreter : python3.8
26+ path : /home/vsts_azpcontainer/.local/bin:/home/vsts_azpcontainer/.cargo/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
27+ target : x86_64-unknown-linux-gnu
28+ steps :
29+ - checkout : self
30+ - template : ./azure-linux38.yml
31+
2032- job : linux_python37
2133 pool :
2234 vmImage : ubuntu-16.04
You can’t perform that action at this time.
0 commit comments