|
43 | 43 | - ${{if eq(variables['runRegressions'], 'True')}}:
|
44 | 44 | - template: scripts/test-regressions.yml
|
45 | 45 |
|
| 46 | +- job: LinuxBuildsArm64 |
| 47 | + displayName: "ManyLinux ARM64 build" |
| 48 | + variables: |
| 49 | + name: ManyLinux |
| 50 | + python: "/opt/python/cp37-cp37m/bin/python" |
| 51 | + pool: |
| 52 | + vmImage: "ubuntu-latest" |
| 53 | + container: "quay.io/pypa/manylinux2014_x86_64:latest" |
| 54 | + steps: |
| 55 | + - script: curl -L -o /tmp/arm-toolchain.tar.xz 'https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-aarch64-none-linux-gnu.tar.xz?rev=22c39fc25e5541818967b4ff5a09ef3e&hash=E7676169CE35FC2AAECF4C121E426083871CA6E5' |
| 56 | + - script: mkdir -p /tmp/arm-toolchain/ |
| 57 | + - script: tar xf /tmp/arm-toolchain.tar.xz -C /tmp/arm-toolchain/ --strip-components=1 |
| 58 | + - script: echo '##vso[task.prependpath]/tmp/arm-toolchain/bin' |
| 59 | + - script: echo $PATH |
| 60 | + - script: stat /tmp/arm-toolchain/bin/aarch64-none-linux-gnu-gcc |
| 61 | + - task: PythonScript@0 |
| 62 | + displayName: Build |
| 63 | + inputs: |
| 64 | + scriptSource: 'filepath' |
| 65 | + scriptPath: scripts/mk_unix_dist.py |
| 66 | + arguments: --nodotnet --nojava --arch=arm64 |
| 67 | + pythonInterpreter: $(python) |
| 68 | + - script: git clone https://github.com/z3prover/z3test z3test |
| 69 | + displayName: 'Clone z3test' |
| 70 | + - task: PythonScript@0 |
| 71 | + displayName: Test |
| 72 | + inputs: |
| 73 | + scriptSource: 'filepath' |
| 74 | + scriptPath: z3test/scripts/test_benchmarks.py |
| 75 | + arguments: build-dist/z3 z3test/regressions/smt2 |
| 76 | + pythonInterpreter: $(python) |
| 77 | + - task: CopyFiles@2 |
| 78 | + inputs: |
| 79 | + sourceFolder: dist |
| 80 | + contents: '*.zip' |
| 81 | + targetFolder: $(Build.ArtifactStagingDirectory) |
| 82 | + - task: PublishPipelineArtifact@0 |
| 83 | + inputs: |
| 84 | + artifactName: 'ManyLinuxBuildArm64' |
| 85 | + targetPath: $(Build.ArtifactStagingDirectory) |
| 86 | + |
46 | 87 | - job: "Ubuntu20OCaml"
|
47 | 88 | displayName: "Ubuntu 20 with OCaml"
|
48 | 89 | pool:
|
|
0 commit comments