mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-30 12:09:51 +00:00
PR daily builds of ifcopenshell and upload to conda (#2132)
* WIP PR for daily builds of ifcopenshell * fix indentation in yaml * fix branch name * test daily builds using minimum occt ==v7.5.3 * chore: WIP daily builds - add tests * add test script bat/sh. Continue work in PR * fix: add more packages to test requires * fix: remove space in minimum version requirement of numpy * use manually installed MacOSX SDK on github runner. Minor rewrite of dynamic/static zlib conditional for conda_build. * fix MacOSX SDK address and made it platform conditional * make tests pass * try to skip ids tests for common icopenshell builds (caused failure on windows tests probably due to special character in filepath) * add conditional upload and testing of all available platform versions on github actions * fix wrong path to source files * fix errors in tests * remove test files and skip tests * only do import of ifcopenshell as means of testing and rely on the successful completion of ci.yml as a triggering mechanism instead * make conditional switch between original implementation of zlib suffix and new depending on conda packaging or not * point to occt v0.7.6 * make conditional import of BRepAdaptor_HCompCurve * try removing libxml2 include path * minor changes * Test nix builds * Test nix builds using only a single python version (in order to limit cpu/memory usage) * remove run check * remove testing of nix builds * Revert "Test nix builds using only a single python version (in order to limit cpu/memory usage)" This reverts commit22a552a9ac. * Revert "ci-py-only test modification" This reverts part of commitaf1e832f* update occt version to 7.6.2 in daily builds * Revert "Test nix builds" This reverts commitaf1e832f81. * Complete setups for local and cloud environments. And start by adding IfcPerson as a test case for the REST api communication * Revert changing checkout version of MVD
This commit is contained in:
committed by
GitHub
parent
adb2883310
commit
dcad4146b6
+64
-29
@@ -1,42 +1,77 @@
|
||||
{% set name = "ifcopenshell" %}
|
||||
{% set version = "0.7.0" %}
|
||||
{% set occt_version = "7.6.2" %}
|
||||
{% set cgal_cpp_version = "5.3" %}
|
||||
{% set hdf5_version = "1.12.1" %}
|
||||
|
||||
package:
|
||||
name: ifcopenshell
|
||||
version: "0.6.0a1"
|
||||
name: {{ name }}
|
||||
version: {{ version }}
|
||||
|
||||
source:
|
||||
git_rev: "v0.6.0a1"
|
||||
git_url: https://github.com/IfcOpenShell/IfcOpenShell
|
||||
path: ..
|
||||
|
||||
build:
|
||||
number: 0
|
||||
features:
|
||||
- vc9 # [win and py27]
|
||||
- vc10 # [win and py34]
|
||||
- vc14 # [win and py35]
|
||||
- vc14 # [win and py36]
|
||||
binary_relocation: false [osx]
|
||||
|
||||
requirements:
|
||||
build:
|
||||
- gcc # [osx]
|
||||
- make
|
||||
- python
|
||||
- oce ==0.18.3
|
||||
- {{ compiler('c') }}
|
||||
- {{ compiler('cxx') }}
|
||||
- ninja >=1.10.2
|
||||
- cmake
|
||||
- swig >=3.0.9
|
||||
- libboost
|
||||
- icu
|
||||
- xmlschema
|
||||
- lxml
|
||||
- numpy
|
||||
run:
|
||||
- libgcc # [osx]
|
||||
- swig >=4.0.2
|
||||
|
||||
host:
|
||||
- python
|
||||
- oce ==0.18.3
|
||||
- libboost
|
||||
- icu
|
||||
- xmlschema
|
||||
- lxml
|
||||
- occt >={{ occt_version }}
|
||||
- hdf5 >={{ hdf5_version }}
|
||||
- cgal-cpp >={{ cgal_cpp_version }}
|
||||
- nlohmann_json
|
||||
- libxml2
|
||||
|
||||
run:
|
||||
- python
|
||||
- occt >={{ occt_version }}
|
||||
- cgal-cpp >={{ cgal_cpp_version }}
|
||||
- hdf5 >={{ hdf5_version }}
|
||||
- lark-parser
|
||||
- deepdiff
|
||||
- requests
|
||||
- nlohmann_json
|
||||
- isodate
|
||||
- numpy >=1.17
|
||||
|
||||
test:
|
||||
imports:
|
||||
- ifcopenshell
|
||||
requires:
|
||||
- pytest
|
||||
- pytest-cov
|
||||
- numpy
|
||||
|
||||
- lxml
|
||||
- isodate
|
||||
- lark
|
||||
- networkx
|
||||
- xmlschema
|
||||
#source_files:
|
||||
# - src/ifcopenshell-python/test/api
|
||||
# - src/ifcopenshell-python/test/util
|
||||
# - src/ifcopenshell-python/test/bootstrap.py
|
||||
# - src/ifcopenshell-python/test/test_file.py
|
||||
# - src/ifcopenshell-python/test/test_wall_opening.py
|
||||
# - src/ifcopenshell-python/test/__init__.py
|
||||
#commands:
|
||||
# #- pip install bcf-client
|
||||
# - cd ../src/ifcopenshell-python/test && pytest -p no:pytest-blender
|
||||
|
||||
about:
|
||||
home: http://ifcopenshell.org
|
||||
license: LGPL
|
||||
license: LGPL-3.0-or-later
|
||||
license_file: COPYING
|
||||
summary: 'IfcOpenShell is a library to support the IFC file format'
|
||||
description: |
|
||||
IfcOpenShell is an open source (LGPL) software library for
|
||||
working with the Industry Foundation Classes (IFC) file format.
|
||||
doc_url: http://ifcopenshell.org/
|
||||
dev_url: https://github.com/IfcOpenShell/IfcOpenShell
|
||||
|
||||
Reference in New Issue
Block a user