mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
Rename osx to macos.
This commit is contained in:
18
.github/scripts/build_definition.py
vendored
18
.github/scripts/build_definition.py
vendored
@ -17,15 +17,15 @@ BUILD_DEF = """
|
||||
| bionic | | B | | | | |
|
||||
----------------------------------------------------------------------------------------------
|
||||
# Osx builds, build binaries on native_dyn and native_static. On anyother things, build only the libraries
|
||||
| osx | native_dyn | d | d | dB | B | |
|
||||
| osx | native_static | | | B | B | |
|
||||
| osx | native_mixed | B | B | | | |
|
||||
| osx | iOS_arm64 | dB | B | | | |
|
||||
| osx | iOS_x86_64 | dB | B | | | |
|
||||
| osx | iOS_Mac_ABI | B | B | | | |
|
||||
| osx | macOS_arm64_static | B | B | | | |
|
||||
| osx | macOS_arm64_mixed | B | B | | | |
|
||||
| osx | macOS_x86_64 | B | B | | | |
|
||||
| macos | native_dyn | d | d | dB | B | |
|
||||
| macos | native_static | | | B | B | |
|
||||
| macos | native_mixed | B | B | | | |
|
||||
| macos | iOS_arm64 | dB | B | | | |
|
||||
| macos | iOS_x86_64 | dB | B | | | |
|
||||
| macos | iOS_Mac_ABI | B | B | | | |
|
||||
| macos | macOS_arm64_static | B | B | | | |
|
||||
| macos | macOS_arm64_mixed | B | B | | | |
|
||||
| macos | macOS_x86_64 | B | B | | | |
|
||||
----------------------------------------------------------------------------------------------
|
||||
| | flatpak | | | | | B |
|
||||
| | native_static | d | d | dB | dB | |
|
||||
|
2
.github/scripts/build_projects.py
vendored
2
.github/scripts/build_projects.py
vendored
@ -17,7 +17,7 @@ for target in select_build_targets(BUILD):
|
||||
if target == "kiwix-desktop":
|
||||
archive = create_desktop_image(make_release=False)
|
||||
else:
|
||||
if PLATFORM_TARGET == "native_mixed" and OS_NAME == "osx":
|
||||
if PLATFORM_TARGET == "native_mixed" and OS_NAME == "macos":
|
||||
fix_macos_rpath(target)
|
||||
archive = make_archive(target, make_release=False)
|
||||
if archive and DEV_BRANCH:
|
||||
|
4
.github/scripts/build_release_nightly.py
vendored
4
.github/scripts/build_release_nightly.py
vendored
@ -34,7 +34,7 @@ for target in TARGETS:
|
||||
if target == "kiwix-desktop":
|
||||
archive = create_desktop_image(make_release=MAKE_RELEASE)
|
||||
else:
|
||||
if OS_NAME == "osx" and PLATFORM_TARGET.endswith("_mixed"):
|
||||
if OS_NAME == "macos" and PLATFORM_TARGET.endswith("_mixed"):
|
||||
fix_macos_rpath(target)
|
||||
notarize_macos_build(target)
|
||||
archive = make_archive(target, make_release=MAKE_RELEASE)
|
||||
@ -46,7 +46,7 @@ for target in TARGETS:
|
||||
# We have few more things to do for release:
|
||||
if MAKE_RELEASE:
|
||||
# Publish source archives
|
||||
if PLATFORM_TARGET in ("native_dyn", "native_mixed") and OS_NAME != "osx":
|
||||
if PLATFORM_TARGET in ("native_dyn", "native_mixed") and OS_NAME != "macos":
|
||||
for target in TARGETS:
|
||||
if release_versions.get(target) != 0:
|
||||
continue
|
||||
|
2
.github/scripts/common.py
vendored
2
.github/scripts/common.py
vendored
@ -36,7 +36,7 @@ if not MAKE_RELEASE and _ref != "main":
|
||||
else:
|
||||
DEV_BRANCH = None
|
||||
|
||||
RELEASE_OS_NAME = "macos" if OS_NAME == "osx" else "linux"
|
||||
RELEASE_OS_NAME = "macos" if OS_NAME == "macos" else "linux"
|
||||
EXTRA_NAME = "-bionic" if OS_NAME == "bionic" else ""
|
||||
|
||||
PLATFORM_TO_RELEASE = {
|
||||
|
Reference in New Issue
Block a user