File: wheels-linux.yml

package info (click to toggle)
python-jpype 1.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,348 kB
  • sloc: python: 19,275; cpp: 18,049; java: 8,638; xml: 1,454; makefile: 155; sh: 37
file content (30 lines) | stat: -rw-r--r-- 764 bytes parent folder | download
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
steps:

- task: DownloadPipelineArtifact@2
  inputs:
    source: current
    artifact: artifact_SourceDistribution
    path: dist

- script: |
    sudo apt-get update
    sudo apt-get install -y qemu qemu-user-static qemu-user binfmt-support
    sudo docker run --rm --privileged hypriot/qemu-register
  condition: and(succeeded(), eq(variables['arch'], 'aarch64'))
  displayName: 'Install QEMU'

- script: |
    ls -l
    ls -l dist
  displayName: Sanity check 

- script: |
    set -ex
    docker run -e PLAT=$(plat) -e package_name=$(package_name) --rm -v `pwd`:/io $(image) /io/.azure/scripts/build-wheels.sh
  displayName: Build wheels

- script: |
    ls -lh wheelhouse/
    rm dist/*
    cp wheelhouse/$(package_name)*.whl dist/.
  displayName: Copy wheels