Skip to content

Commit

Permalink
MNT: Re-rendered with conda-build 3.24.0, conda-smithy 3.24.2.dev3+g6…
Browse files Browse the repository at this point in the history
…dbdbac, and conda-forge-pinning 2023.08.04.02.04.35
  • Loading branch information
jakirkham committed Aug 6, 2023
1 parent c10288f commit 366f0d9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 171 deletions.
59 changes: 1 addition & 58 deletions .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,24 @@ jobs:
matrix:
include:
- CONFIG: linux_64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10
SHORT_CONFIG: linux_64_c_compiler_version10cuda_c_h6c3dbf9b3c
UPLOAD_PACKAGES: True
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2
os: ubuntu
- CONFIG: linux_64_c_compiler_version12cuda_compilercuda-nvcccuda_compiler_version12.0cxx_compiler_version12
SHORT_CONFIG: linux_64_c_compiler_version12cuda_c_h0d07a5e0ab
UPLOAD_PACKAGES: True
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64
os: ubuntu
- CONFIG: linux_aarch64_c_compiler_version10cuda_compilernvcccuda_compiler_version11.2cxx_compiler_version10
SHORT_CONFIG: linux_aarch64_c_compiler_version10c_hb0ea797ce5
UPLOAD_PACKAGES: True
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cuda:11.2
os: ubuntu
- CONFIG: win_64_cuda_compilerNonecuda_compiler_versionNone
SHORT_CONFIG: win_64_cuda_compilerNonecuda_compil_hdd26f212be
UPLOAD_PACKAGES: True
os: windows
- CONFIG: osx_64_
SHORT_CONFIG: osx_64_
UPLOAD_PACKAGES: True
os: macos
- CONFIG: osx_arm64_
SHORT_CONFIG: osx_arm64_
UPLOAD_PACKAGES: True
os: macos
steps:
Expand Down Expand Up @@ -147,55 +141,4 @@ jobs:
CI: github_actions
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
if: matrix.os == 'windows'
- name: Prepare conda build artifacts
id: prepare-artifacts
shell: bash
if: ${{ always() }}
env:
CONFIG: ${{ matrix.CONFIG }}
SHORT_CONFIG: ${{ matrix.SHORT_CONFIG }}
OS: ${{ matrix.os }}
run: |
export CI=github_actions
export CI_RUN_ID=$GITHUB_RUN_ID
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
export ARTIFACT_STAGING_DIR="$GITHUB_WORKSPACE"
if [ $OS == "macos" ]; then
export CONDA_BLD_DIR="${MINIFORGE_HOME:-${HOME}/miniforge3}/conda-bld"
elif [ $OS == "windows" ]; then
export CONDA_BLD_DIR="${CONDA//\\//}/conda-bld"
else
export CONDA_BLD_DIR="build_artifacts"
fi
# Archive everything in CONDA_BLD_DIR except environments
# Archive the CONDA_BLD_DIR environments only when the job fails
# Use different prefix for successful and failed build artifacts
# so random failures don't prevent rebuilds from creating artifacts.
JOB_STATUS="${{ job.status }}"
if [ $JOB_STATUS == "failure" ]; then
export BLD_ARTIFACT_PREFIX="conda_artifacts"
export ENV_ARTIFACT_PREFIX="conda_envs"
else
export BLD_ARTIFACT_PREFIX="conda_pkgs"
fi
./.scripts/create_conda_build_artifacts.sh
continue-on-error: true

- name: Store conda build artifacts
uses: actions/upload-artifact@v3
if: ${{ always() && steps.prepare-artifacts.outcome == 'success' }}
with:
name: ${{ steps.prepare-artifacts.outputs.BLD_ARTIFACT_NAME }}
path: ${{ steps.prepare-artifacts.outputs.BLD_ARTIFACT_PATH }}
retention-days: 7
continue-on-error: true

- name: Store conda build environment artifacts
uses: actions/upload-artifact@v3
if: ${{ failure() && steps.prepare-artifacts.outcome == 'success' }}
with:
name: ${{ steps.prepare-artifacts.outputs.ENV_ARTIFACT_NAME }}
path: ${{ steps.prepare-artifacts.outputs.ENV_ARTIFACT_PATH }}
retention-days: 7
continue-on-error: true
if: matrix.os == 'windows'
113 changes: 0 additions & 113 deletions .scripts/create_conda_build_artifacts.sh

This file was deleted.

0 comments on commit 366f0d9

Please sign in to comment.