mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
Update nightly.yaml
This commit is contained in:
parent
0a1a57cf01
commit
d624eec976
|
@ -81,21 +81,26 @@ stages:
|
||||||
artifactName: 'UbuntuArm64'
|
artifactName: 'UbuntuArm64'
|
||||||
targetPath: $(Build.ArtifactStagingDirectory)
|
targetPath: $(Build.ArtifactStagingDirectory)
|
||||||
|
|
||||||
- job: UbuntuArm64CMAKE
|
- job: UbuntuBuilds
|
||||||
displayName: "Ubuntu ARM64 build - CMAKE"
|
displayName: "Ubuntu Builds"
|
||||||
pool:
|
pool:
|
||||||
vmImage: "ubuntu-latest"
|
vmImage: "ubuntu-latest"
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
arm64:
|
||||||
|
setupcmds: 'sudo apt update& sudo apt install gcc-arm-none-eabi gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu g++-aarch64-linux-gnu ninja-build -y'
|
||||||
|
buildenv: 'CXX=aarch64-linux-gnu-g++ CC=aarch64-linux-gnu-gcc'
|
||||||
|
arch: 'arm64'
|
||||||
|
x64:
|
||||||
|
setupcmds: 'sudo apt update& sudo apt install ninja-build -y'
|
||||||
|
buildenv: ''
|
||||||
|
arch: 'x64'
|
||||||
steps:
|
steps:
|
||||||
- script: sudo apt update
|
- script: $(setupcmds)
|
||||||
- script: sudo apt install gcc-arm-none-eabi -y
|
|
||||||
- script: sudo apt install gcc-arm-linux-gnueabihf -y
|
|
||||||
- script: sudo apt install gcc-aarch64-linux-gnu -y
|
|
||||||
- script: sudo apt install g++-aarch64-linux-gnu -y
|
|
||||||
- script: sudo apt install ninja-build -y
|
|
||||||
- script: |
|
- script: |
|
||||||
mkdir build
|
mkdir $(arch)
|
||||||
cd build
|
cd $(arch)
|
||||||
cmake \
|
$(buildenv) cmake \
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo\
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo\
|
||||||
-DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++\
|
-DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++\
|
||||||
-DZ3_BUILD_DOTNET_BINDINGS=ON\
|
-DZ3_BUILD_DOTNET_BINDINGS=ON\
|
||||||
|
@ -111,12 +116,13 @@ stages:
|
||||||
-DCMAKE_INSTALL_PREFIX=dist\
|
-DCMAKE_INSTALL_PREFIX=dist\
|
||||||
-G "Ninja" ../
|
-G "Ninja" ../
|
||||||
ninja install
|
ninja install
|
||||||
|
|
||||||
zip -r z3-$(NightlyVersion)-ubuntu-arm64.zip dist
|
zip -r z3-$(NightlyVersion)-ubuntu-arm64.zip dist
|
||||||
cd ..
|
cd ..
|
||||||
- script: cp build/*.zip $(Build.ArtifactStagingDirectory)/.
|
- script: cp $(arch)/*.zip $(Build.ArtifactStagingDirectory)/.
|
||||||
- task: PublishPipelineArtifact@0
|
- task: PublishPipelineArtifact@0
|
||||||
inputs:
|
inputs:
|
||||||
artifactName: 'UbuntuArm64CMAKE'
|
artifactName: 'ubuntu-builds'
|
||||||
targetPath: $(Build.ArtifactStagingDirectory)
|
targetPath: $(Build.ArtifactStagingDirectory)
|
||||||
|
|
||||||
- job: UbuntuDoc
|
- job: UbuntuDoc
|
||||||
|
@ -641,9 +647,9 @@ stages:
|
||||||
artifactName: 'UbuntuArm64'
|
artifactName: 'UbuntuArm64'
|
||||||
targetPath: tmp
|
targetPath: tmp
|
||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
displayName: 'Download Ubuntu ARM64 Build - CMAKE'
|
displayName: 'Download Ubuntu Builds'
|
||||||
inputs:
|
inputs:
|
||||||
artifact: 'UbuntuArm64CMAKE'
|
artifact: 'ubuntu-builds'
|
||||||
targetPath: tmp
|
targetPath: tmp
|
||||||
- task: DownloadPipelineArtifact@2
|
- task: DownloadPipelineArtifact@2
|
||||||
displayName: "Download Ubuntu"
|
displayName: "Download Ubuntu"
|
||||||
|
|
Loading…
Reference in a new issue