macOS CI: build for arm64 (#7132)

* macOS CI: add build for arm64

Additionally builds an arm64 macOS app as well as x86_64 for testing purposes.

* macOS: add architecture to continuous package name

* macOS CI: remove an incorrect processor type directive

* macOS CI: remove a downgraded dependency

* macOS CI: add automake dependency to arm64 config

* macOS CI: try system libraw = ON

* macOS CI: have brew install libra

* macOS: try brew cleanup for libraw uninstall

* macOS CI: don't uninstall libraw first

* macOS CI: test-launch the app

* macOS CI: fix indentation

* macOS CI: list running apps after launch test

* macOS CI: copy app to /Applications for launch test

* macOS CI: add libtool

* macos CI: tst arm64 cli
This commit is contained in:
Richard E Barber
2024-07-28 07:18:05 +07:00
committed by GitHub
parent 1f8d0a6790
commit cee888386f
2 changed files with 115 additions and 9 deletions

View File

@@ -484,7 +484,7 @@ function CreateDmg {
if test -z "${BRANCH}"; then
BRANCH=$(git rev-parse --short HEAD)
fi
mv "${PROJECT_NAME}_macOS_${arch}_latest.zip" "${PROJECT_NAME}_${BRANCH}_macOS_${CMAKE_BUILD_TYPE}.zip"
mv "${PROJECT_NAME}_macOS_${arch}_latest.zip" "${PROJECT_NAME}_${BRANCH}_macOS_${arch}_${CMAKE_BUILD_TYPE}.zip"
fi
}