Skip to content

Commit

Permalink
Merge pull request #26 from Tobias-Fischer/osx-build
Browse files Browse the repository at this point in the history
Enable osx build
  • Loading branch information
Tobias-Fischer authored Oct 10, 2021
2 parents 374b89f + 679d6d0 commit a7dc320
Show file tree
Hide file tree
Showing 7 changed files with 146 additions and 3 deletions.
28 changes: 28 additions & 0 deletions .azure-pipelines/azure-pipelines-osx.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions .ci_support/osx_64_.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.13'
MACOSX_SDK_VERSION:
- '10.13'
c_compiler:
- clang
c_compiler_version:
- '11'
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- clangxx
cxx_compiler_version:
- '11'
libprotobuf:
- '3.18'
macos_machine:
- x86_64-apple-darwin13.4.0
pin_run_as_build:
qt:
max_pin: x.x
qt:
- '5.12'
target_platform:
- osx-64
tinyxml2:
- '9'
zip_keys:
- - c_compiler_version
- cxx_compiler_version
69 changes: 69 additions & 0 deletions .scripts/run_osx_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion azure-pipelines.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ c_compiler: # [win]
- vs2019 # [win]
cxx_compiler: # [win]
- vs2019 # [win]

MACOSX_DEPLOYMENT_TARGET: # [osx and x86_64]
- "10.13" # [osx and x86_64]
MACOSX_SDK_VERSION: # [osx and x86_64]
- "10.13" # [osx and x86_64]
5 changes: 3 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ source:
sha256: 09456d491e715604daa36db0f30aa9fa7d96fc54f9b8b8c3f6d2a5aed377b9ce

build:
number: 0
skip: true # [osx]
number: 1
run_exports:
- {{ pin_subpackage(name, max_pin='x') }}

Expand Down Expand Up @@ -51,6 +50,8 @@ requirements:
- qt
- tinyxml2
- xorg-libxfixes # [linux]
run:
- __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx and x86_64]

test:
commands:
Expand Down

0 comments on commit a7dc320

Please sign in to comment.