forked from nicoboss/nsz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
53 lines (46 loc) · 1.49 KB
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# NSZ Azure pipeline
trigger:
- master
pool:
name: default
#vmImage: 'windows-latest'
strategy:
maxParallel: 4
matrix:
Python360:
python.version: '3.6.0'
Python368:
python.version: '3.6.8'
Python376:
python.version: '3.7.6'
Python383:
python.version: '3.8.3'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '$(python.version)'
displayName: 'Use Python $(python.version)'
- script: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
displayName: 'Install dependencies'
- task: CmdLine@2
inputs:
script: python nsz.py -D -V --keep -w -m 4 -t 4 -o C:\Users\Azure\.switch\tests\nsp_from_solid_out C:\Users\Azure\.switch\tests\nsz_solid
failOnStderr: true
displayName: 'Test NSZ solid decompression'
- task: CmdLine@2
inputs:
script: python nsz.py -D -V --keep -w -m 4 -t 4 -o C:\Users\Azure\.switch\tests\nsp_from_block_out C:\Users\Azure\.switch\tests\nsz_block
failOnStderr: true
displayName: 'Test NSZ block decompression'
- task: CmdLine@2
inputs:
script: python nsz.py -C -V --keep -w -p -m 4 -t 4 -o C:\Users\Azure\.switch\tests\nsz_solid_out C:\Users\Azure\.switch\tests\nsp
failOnStderr: true
displayName: 'Test NSP solid compression'
- task: CmdLine@2
inputs:
script: python nsz.py -C -B -V --keep -w -p -m 4 -t 4 -o C:\Users\Azure\.switch\tests\nsz_block_out C:\Users\Azure\.switch\tests\nsp
failOnStderr: true
displayName: 'Test NSP block compression'