Properly name job and prevent building multiple arches.
This commit is contained in:
parent
982c99a9b1
commit
eef9a072a5
2 changed files with 2 additions and 2 deletions
2
.github/workflows/ci-main.yml
vendored
2
.github/workflows/ci-main.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/ci-scripts/macos.sh
vendored
2
.github/workflows/ci-scripts/macos.sh
vendored
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue