...
 
Commits (2)
before_script:
- source /opt/conda/bin/activate
build:
.build-conda: &build-conda
stage: build
script:
- cd $CI_COMMIT_REF_NAME
- conda build . --prefix-length=80 --output-folder=../dist/ --channel=http://bcu-ci.esrf.fr/stable
- conda build --prefix-length=80 --output-folder=dist fmt
artifacts:
paths:
- dist/
except:
- master
tags:
- conda
build-linux:
<<: *build-conda
tags:
- linux
build-win:
<<: *build-conda
tags:
- win
deploy:
stage: deploy
dependencies:
- build
- build-linux
- build-win
script:
- mv -f dist/linux-64/*.tar.bz2 /conda/linux-64/
- conda index /conda/linux-64/
- cp -Rf dist/* /conda/
- conda index /conda/
except:
- master
tags:
- conda
- linux
cmake -H. -B_build ^
-G "NMake Makefiles" ^
-D CMAKE_BUILD_TYPE=Release ^
-D CMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
-D FMT_DOC=OFF ^
-D FMT_TEST=OFF
if errorlevel 1 exit 1
cmake --build _build --target install
if errorlevel 1 exit 1
#!/bin/bash
cmake -H. -B_build \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=$PREFIX \
-D CMAKE_INSTALL_LIBDIR=$PREFIX/lib \
-D FMT_DOC=OFF \
-D FMT_TEST=OFF
cmake --build _build --target install
{% set version = "5.3.0" %}
{% set sha256 = "defa24a9af4c622a7134076602070b45721a43c51598c8456ec6f2c4dbb51c89" %}
package:
name: fmt
version: {{ version }}
source:
url: https://github.com/fmtlib/fmt/archive/{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
number: 1
requirements:
build:
- {{ compiler('cxx') }}
- cmake
host: []
about:
home: https://fmt.dev
summary: Small, safe and fast formatting library
license: BSD 2-Clause
license_family: BSD
license_file: LICENSE.rst