Skip to content

Migrate CircleCI to GitHub Actions#2716

Merged
madrob merged 1 commit intoml-explore:mainfrom
madrob:actions
Oct 30, 2025
Merged

Migrate CircleCI to GitHub Actions#2716
madrob merged 1 commit intoml-explore:mainfrom
madrob:actions

Conversation

@madrob
Copy link
Copy Markdown
Contributor

@madrob madrob commented Oct 29, 2025

Proposed changes

Port over the CircleCI configuration to equivalent GitHub Actions configuration.

@madrob madrob requested review from angeloskath and awni October 29, 2025 22:28
Comment on lines +130 to +131
# - name: Publish package distributions to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this will not publish to pypi yet, we will have to do that as a second commit after the workflows exist and we can configure trusted publishing.

# Compatibility matrix: https://docs.nvidia.com/deeplearning/cudnn/backend/latest/reference/support-matrix.html
# This also drops `nvcc` into `/usr/local/cuda-12.9/bin/nvcc` - but it's *not* on the default PATH

- name: Package and Driver Report
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not required, but was useful during debugging when setting up the workflows and has low cost to keeping it in.

Comment on lines +110 to +124
- name: Build macOS 13 package
if: inputs.build-type == 'release'
uses: ./.github/actions/build-macos-release
with:
macos-target: 13.0
- name: Build macOS 14 package
if: inputs.build-type == 'release'
uses: ./.github/actions/build-macos-release
with:
macos-target: 14.0
- name: Build macOS 15 package
if: inputs.build-type == 'release'
uses: ./.github/actions/build-macos-release
with:
macos-target: 15.0 No newline at end of file
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't embed a matrix inside of a job so manually specify the combinations in series. It's not that many so it's probably ok to maintain this for now.

@@ -0,0 +1,6 @@
version: 2
updates:
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

python ecosystem maybe deserves to be here as well

Comment on lines +40 to +46
- name: setup python venv
shell: bash
run: |
python -m venv .venv
source .venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
pip install --upgrade pip cmake
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We used system python and added the venv directly to the path because cmake was having issues deciding whether to look at system or uv and it was getting too messy to configure it otherwise.

Copy link
Copy Markdown
Member

@awni awni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Let's merge it and iterate.

@madrob madrob merged commit 74c1ed2 into ml-explore:main Oct 30, 2025
12 checks passed
@madrob madrob deleted the actions branch October 30, 2025 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants