Skip to content

Commit

Permalink
CI:switch to new macOS arm64 agent
Browse files Browse the repository at this point in the history
Signed-off-by: Raluca Groza <[email protected]>
  • Loading branch information
ccraluca committed Aug 24, 2023
1 parent a015afe commit 89bdad5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ stages:
macOS_13_arm64:
poolName: 'Default'
vmImage:
agentName: 'macOS_arm64'
agentName: 'miniMAC_arm64'
artifactName: 'macOS-13-arm64'
pool:
name: $(poolName)
Expand All @@ -316,7 +316,7 @@ stages:
fetchDepth: 1
clean: true
- task: UsePythonVersion@0
condition: ne(variables['agentName'],'macOS_arm64')
condition: ne(variables['agentName'],'miniMAC_arm64')
inputs:
versionSpec: '3.x'
addToPath: true
Expand All @@ -325,10 +325,11 @@ stages:
brew install doxygen libusb libxml2 ncurses cdk libserialport sphinx-doc pkg-config
pip3 install sphinx
displayName: 'Dependencies'
condition: ne(variables['agentName'],'macOS_arm64')
condition: ne(variables['agentName'],'miniMAC_arm64')
- script: |
set -e
mkdir build && cd build
ls -al /opt/homebrew/bin
cmake .. -Werror=dev -DCOMPILE_WARNING_AS_ERROR=ON -DOSX_PACKAGE=ON -DCPP_BINDINGS=ON -DPYTHON_BINDINGS=ON -DWITH_EXAMPLES=ON -DWITH_SERIAL_BACKEND=ON -DWITH_ZSTD=OFF
make
sudo make install
Expand Down

0 comments on commit 89bdad5

Please sign in to comment.