Skip to content

Commit

Permalink
MNT: Re-rendered with conda-build 3.27.0, conda-smithy 3.28.0, and co…
Browse files Browse the repository at this point in the history
…nda-forge-pinning 2023.11.07.18.09.01

Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
  • Loading branch information
ryanvolz committed Nov 7, 2023
1 parent b7532c2 commit 736506d
Show file tree
Hide file tree
Showing 14 changed files with 277 additions and 106 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
alsa_lib:
- 1.2.7
boost_cpp:
- 1.78.0
- 1.2.10
c_compiler:
- gcc
c_compiler_version:
- '10'
- '12'
cdt_name:
- cos7
channel_sources:
Expand All @@ -15,7 +13,7 @@ channel_targets:
cxx_compiler:
- gxx
cxx_compiler_version:
- '10'
- '12'
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
fftw:
Expand All @@ -24,38 +22,40 @@ gmp:
- '6'
gsl:
- '2.7'
libboost_devel:
- '1.82'
libiio:
- '0'
libsndfile:
- '1.1'
- '1.2'
libthrift:
- 0.16.0
- 0.19.0
numpy:
- '1.21'
- '1.23'
pin_run_as_build:
boost-cpp:
max_pin: x.x.x
python:
min_pin: x.x
max_pin: x.x
pybind11_abi:
- '4'
pyqt:
- '5.15'
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
qt_main:
- '5.15'
soapysdr:
- '0.8'
spdlog:
- '1.10'
- '1.12'
target_platform:
- linux-64
uhd:
- 4.3.0
- 4.5.0
volk:
- '2.5'
- '3.0'
zeromq:
- 4.3.4
- 4.3.5
zip_keys:
- - c_compiler_version
- cxx_compiler_version
Expand Down
20 changes: 20 additions & 0 deletions .ci_support/migrations/boost_cpp_to_libboost.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
migrator_ts: 1695775149
__migrator:
kind: version
migration_number: 1
bump_number: 1
commit_message: "Rebuild for libboost 1.82"
# limit the number of prs for ramp-up
pr_limit: 10
libboost_devel:
- 1.82
# This migration is matched with a piggy-back migrator
# (see https://github.com/regro/cf-scripts/pull/1668)
# that will replace boost-cpp with libboost-devel
boost_cpp:
- 1.82
# same for boost -> libboost-python-devel
libboost_python_devel:
- 1.82
boost:
- 1.82
7 changes: 7 additions & 0 deletions .ci_support/migrations/fmt10.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
__migrator:
build_number: 1
kind: version
migration_number: 1
fmt:
- '10'
migrator_ts: 1683802784.4940007
7 changes: 7 additions & 0 deletions .ci_support/migrations/libthrift0190.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
__migrator:
build_number: 1
kind: version
migration_number: 1
libthrift:
- 0.19.0
migrator_ts: 1693762377.7427814
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
migrator_ts: 1653771978
migrator_ts: 1698047052
__migrator:
kind: version
migration_number: 1
bump_number: 1

qt:
- 5.15
qt_main:
- 5.15
zeromq:
- '4.3.5'
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
boost_cpp:
- 1.78.0
c_compiler:
- clang
c_compiler_version:
- '14'
- '16'
channel_sources:
- conda-forge
channel_targets:
- gnuradio main
cxx_compiler:
- clangxx
cxx_compiler_version:
- '14'
- '16'
fftw:
- '3'
gmp:
- '6'
gsl:
- '2.7'
libboost_devel:
- '1.82'
libiio:
- '0'
libsndfile:
- '1.1'
- '1.2'
libthrift:
- 0.16.0
- 0.19.0
macos_machine:
- x86_64-apple-darwin13.4.0
numpy:
- '1.21'
- '1.23'
pin_run_as_build:
boost-cpp:
max_pin: x.x.x
python:
min_pin: x.x
max_pin: x.x
pybind11_abi:
- '4'
pyqt:
- '5.15'
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
qt_main:
- '5.15'
soapysdr:
- '0.8'
spdlog:
- '1.10'
- '1.12'
target_platform:
- osx-64
uhd:
- 4.3.0
- 4.5.0
volk:
- '2.5'
- '3.0'
zeromq:
- 4.3.4
- 4.3.5
zip_keys:
- - c_compiler_version
- cxx_compiler_version
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
boost_cpp:
- 1.78.0
c_compiler:
- vs2019
channel_sources:
Expand All @@ -12,36 +10,38 @@ fftw:
- '3'
gsl:
- '2.7'
libboost_devel:
- '1.82'
libiio:
- '0'
libsndfile:
- '1.1'
- '1.2'
numpy:
- '1.21'
- '1.23'
pin_run_as_build:
boost-cpp:
max_pin: x.x.x
python:
min_pin: x.x
max_pin: x.x
pybind11_abi:
- '4'
pyqt:
- '5.15'
python:
- 3.10.* *_cpython
- 3.11.* *_cpython
qt_main:
- '5.15'
soapysdr:
- '0.8'
spdlog:
- '1.10'
- '1.12'
target_platform:
- win-64
uhd:
- 4.3.0
- 4.5.0
volk:
- '2.5'
- '3.0'
zeromq:
- 4.3.4
- 4.3.5
zip_keys:
- - python
- numpy
59 changes: 26 additions & 33 deletions .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,35 @@
# -*- mode: yaml -*-

name: Build conda package
on: [push, pull_request]
on: ['push', 'pull_request']

jobs:
build:
name: ${{ matrix.CONFIG }}
runs-on: ${{ matrix.os }}-latest
runs-on: ${{ matrix.runs_on }}
timeout-minutes: 360
strategy:
fail-fast: false
matrix:
include:
- CONFIG: linux_64_numpy1.21python3.10.____cpython
SHORT_CONFIG: linux_64_numpy1.21python3.10.____cpython
- CONFIG: linux_64_numpy1.23python3.11.____cpython
SHORT_CONFIG: linux_64_numpy1.23python3.11.____cpython
UPLOAD_PACKAGES: True
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
os: ubuntu
- CONFIG: win_64_numpy1.21python3.10.____cpython
SHORT_CONFIG: win_64_numpy1.21python3.10.____cpython
runs_on: ['ubuntu-latest']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
- CONFIG: win_64_numpy1.23python3.11.____cpython
SHORT_CONFIG: win_64_numpy1.23python3.11.____cpython
UPLOAD_PACKAGES: True
os: windows
- CONFIG: osx_64_numpy1.21python3.10.____cpython
SHORT_CONFIG: osx_64_numpy1.21python3.10.____cpython
runs_on: ['windows-latest']
- CONFIG: osx_64_numpy1.23python3.11.____cpython
SHORT_CONFIG: osx_64_numpy1.23python3.11.____cpython
UPLOAD_PACKAGES: True
os: macos
runs_on: ['macos-latest']
steps:

- name: Checkout code
uses: actions/checkout@v3
with:
Expand All @@ -40,11 +45,15 @@ jobs:
DOCKER_IMAGE: ${{ matrix.DOCKER_IMAGE }}
CI: github_actions
UPLOAD_ON_BRANCH: main
CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.CONDA_FORGE_DOCKER_RUN_ARGS }}"
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
shell: bash
run: |
echo "::group::Configure binfmt_misc"
docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
export flow_run_id="github_$GITHUB_RUN_ID"
export remote_url="https://github.com/$GITHUB_REPOSITORY"
export sha="$GITHUB_SHA"
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
export GIT_BRANCH="$(basename $GITHUB_REF)"
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
Expand All @@ -65,6 +74,9 @@ jobs:
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
shell: bash
run: |
export flow_run_id="github_$GITHUB_RUN_ID"
export remote_url="https://github.com/$GITHUB_REPOSITORY"
export sha="$GITHUB_SHA"
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
export GIT_BRANCH="$(basename $GITHUB_REF)"
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
Expand All @@ -80,33 +92,14 @@ jobs:
miniforge-version: latest
miniforge-variant: Mambaforge
if: matrix.os == 'windows'

- name: Build on windows
shell: cmd
run: |
call activate base
mamba.exe install -c conda-forge 'python=3.9' conda-build conda pip boa conda-forge-ci-setup=3 "py-lief<0.12"
if errorlevel 1 exit 1
setup_conda_rc .\ ".\.packaging/conda_recipe" .\.ci_support\%CONFIG%.yaml
if errorlevel 1 exit 1
if EXIST LICENSE.txt (
copy LICENSE.txt ".packaging/conda_recipe\\recipe-scripts-license.txt"
)
conda.exe mambabuild ".packaging/conda_recipe" -m .ci_support\%CONFIG%.yaml
if errorlevel 1 exit 1
set "FEEDSTOCK_NAME=%GITHUB_REPOSITORY:*/=%"
set "GIT_BRANCH=%GITHUB_REF:refs/heads/=%"
if /i "%GITHUB_EVENT_NAME%" == "pull_request" (
set "IS_PR_BUILD=True"
) else (
set "IS_PR_BUILD=False"
)
if /i "%UPLOAD_PACKAGES%" == "true" (
if /i "%IS_PR_BUILD%" == "false" (
upload_package .\ ".\.packaging/conda_recipe" .ci_support\%CONFIG%.yaml
)
)
set "flow_run_id=github_%GITHUB_RUN_ID%"
set "remote_url=https://github.com/%GITHUB_REPOSITORY%"
set "sha=%GITHUB_SHA%"
call ".scripts\run_win_build.bat"
env:
PYTHONUNBUFFERED: 1
CONFIG: ${{ matrix.CONFIG }}
Expand Down
Loading

0 comments on commit 736506d

Please sign in to comment.