Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 18 additions & 12 deletions .azure-pipelines/azure-pipelines-osx.yml
100755 → 100644

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

69 changes: 0 additions & 69 deletions .azure-pipelines/azure-pipelines-win.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .ci_support/linux_64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cxx_compiler:
cxx_compiler_version:
- '14'
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
- quay.io/condaforge/linux-anvil-x86_64:alma10
expat:
- '2'
liblzma_devel:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_aarch64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cxx_compiler:
cxx_compiler_version:
- '14'
docker_image:
- quay.io/condaforge/linux-anvil-aarch64:alma9
- quay.io/condaforge/linux-anvil-aarch64:alma10
expat:
- '2'
liblzma_devel:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_ppc64le_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cxx_compiler:
cxx_compiler_version:
- '14'
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
- quay.io/condaforge/linux-anvil-x86_64:alma10
expat:
- '2'
liblzma_devel:
Expand Down
8 changes: 8 additions & 0 deletions .ci_support/migrations/libffi37.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
__migrator:
build_number: 1
commit_message: Rebuild for libffi 3.7
kind: version
migration_number: 1
libffi:
- '3.7'
migrator_ts: 1783528989.6688116
113 changes: 72 additions & 41 deletions .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,101 +23,129 @@ jobs:
matrix:
include:
- CONFIG: linux_64_
CONFIG_SHORT: linux_64_
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10
STORE_BUILD_ARTIFACTS: True
SHORT_CONFIG: linux_64_
UPLOAD_PACKAGES: True
build_workspace_dir: build_artifacts
docker_run_args:
free_disk_space: skip
os: ubuntu
pagefile_size: 0
resize_partitions: False
runs_on: ['ubuntu-latest']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
tools_install_dir: ~/miniforge3
build_workspace_dir: build_artifacts
docker_run_args:
- CONFIG: linux_aarch64_
CONFIG_SHORT: linux_aarch64_
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma10
STORE_BUILD_ARTIFACTS: True
SHORT_CONFIG: linux_aarch64_
UPLOAD_PACKAGES: True
build_workspace_dir: build_artifacts
docker_run_args:
free_disk_space: skip
os: ubuntu
pagefile_size: 0
resize_partitions: False
runs_on: ['ubuntu-24.04-arm']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-aarch64:alma9
tools_install_dir: ~/miniforge3
build_workspace_dir: build_artifacts
docker_run_args:
- CONFIG: linux_ppc64le_
CONFIG_SHORT: linux_ppc64le_
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma10
STORE_BUILD_ARTIFACTS: True
SHORT_CONFIG: linux_ppc64le_
UPLOAD_PACKAGES: True
build_workspace_dir: build_artifacts
docker_run_args:
free_disk_space: skip
os: ubuntu
pagefile_size: 0
resize_partitions: False
runs_on: ['ubuntu-latest']
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
tools_install_dir: ~/miniforge3
build_workspace_dir: build_artifacts
- CONFIG: win_64_
CONFIG_SHORT: win_64_
STORE_BUILD_ARTIFACTS: True
UPLOAD_PACKAGES: True
build_platform: win-64
build_workspace_dir: D:\\bld\\
docker_run_args:
free_disk_space: skip
os: windows
pagefile_size: 0
resize_partitions: False
runs_on: ['windows-2022']
tools_install_dir: D:\Miniforge
steps:

- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Configure binfmt_misc
if: matrix.os == 'ubuntu'
shell: bash
run: |
if [[ "$(uname -m)" == "x86_64" ]]; then
docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
fi

- name: Build on Linux
id: build-linux
if: matrix.os == 'ubuntu'
env:
MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
CI: github_actions
CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
CONDA_FORGE_DOCKER_RUN_ARGS: ${{ matrix.docker_run_args }}
CONFIG: ${{ matrix.CONFIG }}
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
DOCKER_IMAGE: ${{ matrix.DOCKER_IMAGE }}
CI: github_actions
CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.docker_run_args }}"
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
RATTLER_BUILD_COLOR: always
RATTLER_BUILD_ENABLE_GITHUB_INTEGRATION: 'true'
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
shell: bash
run: |
if [[ "$(uname -m)" == "x86_64" ]]; then
echo "::group::Configure binfmt_misc"
docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
fi
export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
export GIT_BRANCH="${GITHUB_REF_NAME}"
export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
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
export IS_PR_BUILD="True"
else
export IS_PR_BUILD="False"
fi
export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
echo "::endgroup::"
./.scripts/run_docker_build.sh

- name: Build on macOS
id: build-macos
if: matrix.os == 'macos'
env:
MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
CI: github_actions
CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
CONFIG: ${{ matrix.CONFIG }}
MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
CI: github_actions
RATTLER_BUILD_COLOR: always
RATTLER_BUILD_ENABLE_GITHUB_INTEGRATION: 'true'
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
shell: bash
run: |
export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
export GIT_BRANCH="${GITHUB_REF_NAME}"
export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
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
export IS_PR_BUILD="True"
else
export IS_PR_BUILD="False"
fi
export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
./.scripts/run_osx_build.sh

- name: Build on windows
Expand All @@ -130,12 +158,15 @@ jobs:
set "sha=%GITHUB_SHA%"
call ".scripts\run_win_build.bat"
env:
MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
BUILD_PLATFORM: ${{ matrix.build_platform }}
CI: github_actions
CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
PYTHONUNBUFFERED: 1
CONFIG: ${{ matrix.CONFIG }}
CI: github_actions
MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
PYTHONUNBUFFERED: 1
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
RATTLER_BUILD_COLOR: always
RATTLER_BUILD_ENABLE_GITHUB_INTEGRATION: 'true'
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
Expand Down Expand Up @@ -169,18 +200,18 @@ jobs:
# we do not want to trigger artefact creation if the build was cancelled
if: ${{ always() && steps.determine-status.outputs.status != 'cancelled' && matrix.STORE_BUILD_ARTIFACTS }}
env:
CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
CI: github_actions
CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
CONFIG: ${{ matrix.CONFIG }}
SHORT_CONFIG: ${{ matrix.SHORT_CONFIG }}
CONFIG_SHORT: ${{ matrix.CONFIG_SHORT }}
JOB_STATUS: ${{ steps.determine-status.outputs.status }}
OS: ${{ matrix.os }}
run: |
export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
export ARTIFACT_STAGING_DIR="$GITHUB_WORKSPACE"
export CI_RUN_ID=$GITHUB_RUN_ID
export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
export ARTIFACT_STAGING_DIR="$GITHUB_WORKSPACE"
export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
# Archive everything in CONDA_BLD_PATH except environments
# Archive the CONDA_BLD_PATH environments only when the job fails
# Use different prefix for successful and failed build artifacts
Expand All @@ -198,7 +229,7 @@ jobs:
fi

- name: Store conda build artifacts
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: ${{ always() && steps.prepare-artifacts.outcome == 'success' }}
with:
name: ${{ steps.prepare-artifacts.outputs.BLD_ARTIFACT_NAME }}
Expand All @@ -207,7 +238,7 @@ jobs:
continue-on-error: true

- name: Store conda build environment artifacts
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
# only relevant if build failed, see above
if: ${{ always() && steps.determine-status.outputs.status == 'failure' && steps.prepare-artifacts.outcome == 'success' }}
with:
Expand Down
Loading
Loading