Skip to content

Commit

Permalink
Run azure regression for arm/ppc in qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Dec 22, 2020
1 parent 1e1efeb commit 26ee320
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
deb [arch=$ARCH] http://ports.ubuntu.com/ubuntu-ports/ focal-security main universe multiverse
HEREDOC
sudo apt-get update
sudo apt-get -y install -o APT::Immediate-Configure=false crossbuild-essential-$ARCH
sudo apt-get -y install -o APT::Immediate-Configure=false crossbuild-essential-$ARCH qemu-user-static
displayName: Install crossbuild toolchain
- script: |
mkdir build && cd build
Expand All @@ -148,6 +148,12 @@ jobs:
cp LICENSE README.md hhsuite
tar -czvf hhsuite-linux-${ARCHIVE_NAME}.tar.gz hhsuite
displayName: Build HHsuite
- script: |
cd ${BUILD_SOURCESDIRECTORY}/data
PATH="${BUILD_SOURCESDIRECTORY}/hhsuite/bin:$PATH"
./test.sh
displayName: Run regression in QEMU
condition: eq(variables['regression'], 1)
- task: PublishPipelineArtifact@0
inputs:
targetPath: $(Build.SourcesDirectory)/hhsuite-linux-$(ARCHIVE_NAME).tar.gz
Expand Down

0 comments on commit 26ee320

Please sign in to comment.