4419: osx -> macos r=heinrich5991 a=def-

<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [ ] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: def <dennis@felsin9.de>
This commit is contained in:
bors[bot] 2021-12-06 19:07:22 +00:00 committed by GitHub
commit 923474eec0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -35,7 +35,7 @@ jobs:
- os: macOS-latest
cmake-args: -G "Unix Makefiles"
build-args: --parallel
package-file: DDNet-*-osx.dmg
package-file: DDNet-*-macos.dmg
fancy: false
env:
CFLAGS: -Wdeclaration-after-statement -Werror

View file

@ -2428,7 +2428,7 @@ if(TARGET_OS AND TARGET_BITS)
endif()
set(CPACK_SYSTEM_NAME "linux_${ARCHITECTURE}")
elseif(TARGET_OS STREQUAL "mac")
set(CPACK_SYSTEM_NAME "osx")
set(CPACK_SYSTEM_NAME "macos")
set(CPACK_GENERATOR DMG)
endif()
endif()

View file

@ -41,8 +41,8 @@ RUN printf '#!/bin/bash\n \
cd /build/win32\n \
pwd\n \
cmake -DCMAKE_TOOLCHAIN_FILE=/ddnet/cmake/toolchains/mingw32.toolchain /ddnet && make\n \
mkdir /build/osx\n \
cd /build/osx\n \
mkdir /build/macos\n \
cd /build/macos\n \
pwd\n \
cmake -DCMAKE_TOOLCHAIN_FILE=/ddnet/cmake/toolchains/darwin.toolchain -DCMAKE_OSX_SYSROOT=/osxcross/target/SDK/MacOSX10.11.sdk/ /ddnet && make' \
>> build-all.sh