Skip to content

Commit

Permalink
unskip windows (#53)
Browse files Browse the repository at this point in the history
automerged PR by conda-forge/automerge-action
  • Loading branch information
github-actions[bot] authored Aug 28, 2024
2 parents b33aaf3 + 2d5eee7 commit 8ca86cf
Show file tree
Hide file tree
Showing 11 changed files with 242 additions and 16 deletions.
52 changes: 52 additions & 0 deletions .azure-pipelines/azure-pipelines-win.yml

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

4 changes: 2 additions & 2 deletions .ci_support/linux_64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ c_compiler_version:
c_stdlib:
- sysroot
c_stdlib_version:
- '2.12'
- '2.17'
cdt_name:
- cos6
- cos7
channel_sources:
- conda-forge
channel_targets:
Expand Down
8 changes: 0 additions & 8 deletions .ci_support/migrations/libflint30.yaml

This file was deleted.

20 changes: 20 additions & 0 deletions .ci_support/win_64_.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
c_compiler:
- vs2019
c_stdlib:
- vs
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
cxx_compiler:
- vs2019
libflint:
- '3.0'
mpfr:
- '4'
target_platform:
- win-64
zlib:
- '1'
zstd:
- '1.5'
7 changes: 7 additions & 0 deletions .scripts/build_steps.sh

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

7 changes: 7 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.

130 changes: 130 additions & 0 deletions .scripts/run_win_build.bat

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.

15 changes: 12 additions & 3 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,17 @@ cmake ^
-DBUILD_SHARED_LIBS=yes ^
-DMSVC_USE_MT=no ^
..
if errorlevel 1 exit 1

cmake --build . --config Release -- -j${CPU_COUNT}
cmake --build . --config Release --target install
ninja -j%CPU_COUNT%
if errorlevel 1 exit 1

ctest
ninja install
if errorlevel 1 exit 1

if "%PKG_VERSION%"=="0.12.0" (
ctest -E test_cwrapper --output-on-failure
) else (
ctest --output-on-failure
)
if errorlevel 1 exit 1
5 changes: 3 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ source:
sha256: 1b5c3b0bc6a9f187635f93585649f24a18e9c7f2167cebcd885edeaaf211d956

build:
number: 1
skip: true # [win]
number: 2

requirements:
build:
Expand Down Expand Up @@ -42,7 +41,9 @@ test:
commands:
- if not exist %LIBRARY_INC%\\symengine\\basic.h exit 1 # [win]
- if not exist %LIBRARY_LIB%\\symengine.lib exit 1 # [win]
{% if version != "0.12.0" %}
- if not exist %LIBRARY_BIN%\\symengine-{{ maj_min }}.dll exit 1 # [win]
{% endif %}
- test -f $PREFIX/include/symengine/basic.h # [unix]
- test -f $PREFIX/lib/libsymengine.so # [linux]
- test -f $PREFIX/lib/libsymengine.dylib # [osx]
Expand Down

0 comments on commit 8ca86cf

Please sign in to comment.