Skip to content

Commit

Permalink
Just build noarch canaries (#493)
Browse files Browse the repository at this point in the history
* Just build noarch canaries

* debug

* Revert debugging, this is ready
  • Loading branch information
jaimergp authored Jul 17, 2024
1 parent 3a7299e commit ab4fb72
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@ jobs:

# canary builds
build:
name: Build canary
needs: [analyze]
# only build canary build if
# - prior steps succeeded,
Expand All @@ -705,18 +706,7 @@ jobs:
|| startsWith(github.ref_name, 'feature/')
|| endsWith(github.ref_name, '.x')
)
strategy:
matrix:
include:
- runner: ubuntu-latest
subdir: linux-64
- runner: macos-latest
subdir: osx-64
- runner: macos-14
subdir: osx-arm64
- runner: windows-latest
subdir: win-64
runs-on: ${{ matrix.runner }}
runs-on: ubuntu-latest
steps:
# Clean checkout of specific git ref needed for package metadata version
# which needs env vars GIT_DESCRIBE_TAG and GIT_BUILD_STR:
Expand Down Expand Up @@ -755,13 +745,13 @@ jobs:
Path(environ["GITHUB_ENV"]).write_text(f"ANACONDA_ORG_LABEL={label}")
- name: Create & Upload
uses: conda/actions/canary-release@v24.2.0
uses: conda/actions/canary-release@v24.5.0
env:
# Run conda-build in isolated activation to properly package conda
_CONDA_BUILD_ISOLATED_ACTIVATION: 1
with:
package-name: ${{ github.event.repository.name }}
subdir: ${{ matrix.subdir }}
subdir: noarch
anaconda-org-channel: conda-canary
anaconda-org-label: ${{ env.ANACONDA_ORG_LABEL }}
anaconda-org-token: ${{ secrets.ANACONDA_ORG_CONDA_CANARY_TOKEN }}

0 comments on commit ab4fb72

Please sign in to comment.