Rename osx to macos.
This commit is contained in:
parent
7b6ed275ed
commit
6fe37ba0de
|
@ -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 | |
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -150,7 +150,7 @@ jobs:
|
|||
runs-on: macos-11
|
||||
env:
|
||||
SSH_KEY: /tmp/id_rsa
|
||||
OS_NAME: osx
|
||||
OS_NAME: macos
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
|
|
@ -168,7 +168,7 @@ jobs:
|
|||
runs-on: macos-11
|
||||
env:
|
||||
SSH_KEY: /tmp/id_rsa
|
||||
OS_NAME: osx
|
||||
OS_NAME: macos
|
||||
CERTIFICATE: /tmp/wmch-devid.p12
|
||||
SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
|
||||
KEYCHAIN: /Users/runner/build.keychain-db
|
||||
|
|
Loading…
Reference in New Issue