mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 15:08:51 +00:00
add novtk/all variants to daily builds
This commit is contained in:
@@ -42,6 +42,7 @@ jobs:
|
|||||||
{ name: Linux, distver: ubuntu-22.04, upload: 'true' },
|
{ name: Linux, distver: ubuntu-22.04, upload: 'true' },
|
||||||
{ name: macOS, distver: macos-12, upload: 'true' }
|
{ name: macOS, distver: macos-12, upload: 'true' }
|
||||||
]
|
]
|
||||||
|
variant: ['novtk', 'all']
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@@ -61,13 +62,9 @@ jobs:
|
|||||||
channel_priority: strict
|
channel_priority: strict
|
||||||
create-args: >-
|
create-args: >-
|
||||||
python=${{ matrix.pyver.distver }}
|
python=${{ matrix.pyver.distver }}
|
||||||
|
|
||||||
- name: build, test and upload ifcopenshell
|
- name: build, test and upload ifcopenshell
|
||||||
if: ${{ matrix.platform.upload == 'true' }}
|
if: ${{ matrix.platform.upload == 'true' }}
|
||||||
run: |
|
run: |
|
||||||
conda-build . --python ${{ matrix.pyver.distver }} -c conda-forge --token ${{ secrets.ANACONDA_TOKEN }} --user ifcopenshell
|
conda-build . --python ${{ matrix.pyver.distver }} -c conda-forge --token ${{ secrets.ANACONDA_TOKEN }} --user ifcopenshell --variants "{variant: ${{ matrix.variant }}}"
|
||||||
working-directory: ./conda
|
|
||||||
- name: build & test ifcopenshell
|
|
||||||
if: ${{ matrix.platform.upload == 'false' }}
|
|
||||||
run: |
|
|
||||||
conda-build . --python ${{ matrix.pyver.distver }} -c conda-forge
|
|
||||||
working-directory: ./conda
|
working-directory: ./conda
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
compile:
|
|
||||||
conda activate conda-build && conda-build -c conda-forge . --keep-old-work --python 3.10.5
|
|
||||||
|
|
||||||
debug:
|
|
||||||
conda activate conda-build && conda-debug -c conda-forge . --python 3.10.4
|
|
||||||
|
|
||||||
env:
|
|
||||||
conda env update --f environment.yml --prune
|
|
||||||
@@ -1,2 +1,6 @@
|
|||||||
CONDA_BUILD_SYSROOT:
|
CONDA_BUILD_SYSROOT:
|
||||||
- /opt/MacOSX10.13.sdk # [osx]
|
- /opt/MacOSX10.13.sdk # [osx]
|
||||||
|
|
||||||
|
variant:
|
||||||
|
- novtk
|
||||||
|
- all
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
name: conda-build
|
|
||||||
channels:
|
|
||||||
- conda-forge
|
|
||||||
dependencies:
|
|
||||||
- conda-build
|
|
||||||
- conda-verify
|
|
||||||
- anaconda-client
|
|
||||||
- ninja
|
|
||||||
- doxygen
|
|
||||||
- ripgrep
|
|
||||||
- pip
|
|
||||||
- pip:
|
|
||||||
- lief==0.13
|
|
||||||
+10
-3
@@ -1,6 +1,10 @@
|
|||||||
{% set name = "ifcopenshell" %}
|
{% set name = "ifcopenshell" %}
|
||||||
{% set version = "0.7.0" %}
|
{% set version = "0.7.0" %}
|
||||||
|
{% set build = 1 %}
|
||||||
|
|
||||||
|
# Higher number -> Always prioritize "novtk" variant over "all" variant
|
||||||
|
{% set build = build + 200 %} # [variant == "novtk"]
|
||||||
|
{% set build = build + 100 %} # [variant == "all"]
|
||||||
|
|
||||||
package:
|
package:
|
||||||
name: {{ name }}
|
name: {{ name }}
|
||||||
@@ -10,8 +14,9 @@ source:
|
|||||||
path: ..
|
path: ..
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
string: {{ variant }}_h{{ PKG_HASH }}_{{ build }}
|
||||||
binary_relocation: false [osx]
|
binary_relocation: false [osx]
|
||||||
number: 1
|
number: {{ build }}
|
||||||
|
|
||||||
requirements:
|
requirements:
|
||||||
build:
|
build:
|
||||||
@@ -24,7 +29,7 @@ requirements:
|
|||||||
host:
|
host:
|
||||||
- python
|
- python
|
||||||
- boost-cpp
|
- boost-cpp
|
||||||
- occt ==7.7.0
|
- occt 7.7.2 *{{ variant }}*
|
||||||
- libxml2
|
- libxml2
|
||||||
- cgal-cpp
|
- cgal-cpp
|
||||||
- hdf5
|
- hdf5
|
||||||
@@ -36,7 +41,7 @@ requirements:
|
|||||||
|
|
||||||
run:
|
run:
|
||||||
- python
|
- python
|
||||||
- {{ pin_compatible('occt', max_pin='x.x.x') }}
|
- occt 7.7.2 *{{ variant }}*
|
||||||
- {{ pin_compatible('cgal-cpp', max_pin='x.x.x') }}
|
- {{ pin_compatible('cgal-cpp', max_pin='x.x.x') }}
|
||||||
- {{ pin_compatible('boost-cpp', max_pin='x.x.x') }}
|
- {{ pin_compatible('boost-cpp', max_pin='x.x.x') }}
|
||||||
- libxml2
|
- libxml2
|
||||||
@@ -46,6 +51,8 @@ requirements:
|
|||||||
- mpir # [win]
|
- mpir # [win]
|
||||||
- nlohmann_json
|
- nlohmann_json
|
||||||
- zlib
|
- zlib
|
||||||
|
run_constrained:
|
||||||
|
- occt 7.7.2 *{{ variant }}*
|
||||||
|
|
||||||
test:
|
test:
|
||||||
imports:
|
imports:
|
||||||
|
|||||||
Reference in New Issue
Block a user