Skip to content

workflows: build-onnx: add - #204

Open
threexc wants to merge 3 commits into
mainfrom
tgamblin/onnx
Open

workflows: build-onnx: add#204
threexc wants to merge 3 commits into
mainfrom
tgamblin/onnx

Conversation

@threexc

@threexc threexc commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://riseproject-dev.github.io/python-wheels/pr-preview/pr-204/

Built to branch gh-pages at 2026-08-05 16:46 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

threexc added 2 commits August 5, 2026 10:56
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
The cp312 build produces a stable ABI wheel that works for cp313 and
cp314, so we only need a separate build for cp314t.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
# but Pillow has no riscv64 wheel on public PyPI yet, so our
# registry is used.
CIBW_ENVIRONMENT_PASS_LINUX: PIP_EXTRA_INDEX_URL
CIBW_TEST_COMMAND: "pytest -k 'not maxpool_2d_uint8_cpu' {project}/onnx/test"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nit: can you explain why we need to skip this test?

@@ -0,0 +1,144 @@
---
name: Build onnx wheels (riscv64)

@justeph justeph Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

would be very nice to have a link to the upstream workflow this file is based on. This will help review and traceability (make sure to link to a specific revision)

@justeph

justeph commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Not strictly related to this PR, but the doc preview should run only on PR modifying documentation (I.e files under docs)

Comment on lines +141 to +144
gitlab-username: ${{ vars.GITLAB_DEPLOY_USER }}
gitlab-token: ${{ secrets.GITLAB_DEPLOY_TOKEN }}
gitlab-project-id: ${{ vars.GITLAB_PROJECT_ID }}
gh-token: ${{ secrets.GITHUB_TOKEN }}

@justeph justeph Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nit: not strictly related to this PR, but can't this be the default values? so we would avoid copying it on every workflow file?

python -m abi3audit -v "$whl"
done

publish:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

not strictly related to this PR, but what about having a ./.github/workflows/deploy.yml workflow that would contains this to avoid copying it in each individual workflow?

The other benefit is that inside this file we could do something like:

- name: Deploy${{ github.ref != 'refs/heads/main' && ' (dry run)' || '' }}
  uses: ./.github/actions/deploy
  with:
    dry-run: ${{ github.ref != 'refs/heads/main' }}

So the name of the job will actually contain "(dry run)" . Right now, we have the impression that the publish job succeeded and correctly uploaded file on the registry

@@ -0,0 +1,144 @@
---

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

missing copyright:

Suggested change
---
# SPDX-FileCopyrightText: 2026 The RISE Project
# SPDX-License-Identifier: MIT
---

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