Properly name job and prevent building multiple arches.

This commit is contained in:
Pentarctagon 2023-04-17 00:31:50 -05:00
parent 982c99a9b1
commit eef9a072a5
2 changed files with 2 additions and 2 deletions

View file

@ -198,7 +198,7 @@ jobs:
with:
submodules: "recursive"
- name: macOS ARM Release
- name: macOS Intel Release
run: |
export CFG=Release
export CACHE_DIR=~/build-cache

View file

@ -13,7 +13,7 @@ scons translations build=release --debug=time nls=true jobs=2 || exit 1
cd ./projectfiles/Xcode
xcodebuild CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -project "The Battle for Wesnoth.xcodeproj" -target "The Battle for Wesnoth" -configuration "$CFG"
xcodebuild ARCHS=x86_64 CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -project "The Battle for Wesnoth.xcodeproj" -target "The Battle for Wesnoth" -configuration "$CFG"
EXIT_VAL=$?
hdiutil create -volname "Wesnoth_${CFG}" -fs 'HFS+' -srcfolder "build/$CFG" -ov -format UDBZ "Wesnoth_${CFG}.dmg"