File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -47,14 +47,20 @@ jobs:
4747 displayName : Clippy
4848 condition : ne( variables['rustup_toolchain'], 'nightly' )
4949
50- - ${{ if ne(parameters.name, 'Windows') }} :
50+ - ${{ if eq(parameters.name, 'Linux') }} :
51+ - script : |
52+ cargo run --bin pyoxidizer -- init --pip-install cryptography --python-code 'import cryptography; print("hello, world")' ~/pyapp
53+ cargo run --bin pyoxidizer -- run ~/pyapp
54+ displayName: Build Oxidized Application
55+
56+ - ${{ if eq(parameters.name, 'macOS') }} :
5157 - script : |
52- cargo run --bin pyoxidizer -- init --python-code 'print("hello, world")' ~/pyapp
58+ cargo run --bin pyoxidizer -- init --pip-install bcrypt -- python-code 'import bcrypt; print("hello, world")' ~/pyapp
5359 cargo run --bin pyoxidizer -- run ~/pyapp
5460 displayName: Build Oxidized Application
5561
5662 - ${{ if eq(parameters.name, 'Windows') }} :
5763 - script : |
58- cargo run --bin pyoxidizer -- init --python-code 'print("hello, world")' %HOME%/pyapp
64+ cargo run --bin pyoxidizer -- init --pip-install cryptography -- python-code '__import__("cryptography") and print("hello, world")' %HOME%/pyapp
5965 cargo run --bin pyoxidizer -- run %HOME%/pyapp
6066 displayName: Build Oxidized Application (Windows)
You can’t perform that action at this time.
0 commit comments