ci: Build macOS architectures separately and combine (#6321)
* ci: Build macOS for different architectures separately. * ci: Combine macOS builds into universal binary. * ci: Disable uploading final macOS artifacts until ready to resume producing.
This commit is contained in:
parent
c961ecb9a4
commit
8f2a5374c3
3 changed files with 99 additions and 5 deletions
|
@ -17,7 +17,7 @@ ccache -s
|
|||
mkdir build && cd build
|
||||
# TODO: LibreSSL ASM disabled due to platform detection issues in build.
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" \
|
||||
-DCMAKE_OSX_ARCHITECTURES="$TARGET_ARCH" \
|
||||
-DENABLE_QT_TRANSLATION=ON \
|
||||
-DCITRA_ENABLE_COMPATIBILITY_REPORTING=${ENABLE_COMPATIBILITY_REPORTING:-"OFF"} \
|
||||
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
|
||||
|
@ -30,4 +30,7 @@ ninja
|
|||
|
||||
ccache -s
|
||||
|
||||
ctest -VV -C Release
|
||||
CURRENT_ARCH=`arch`
|
||||
if [ "$TARGET_ARCH" = "$CURRENT_ARCH" ]; then
|
||||
ctest -VV -C Release
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue