Skip to content

[ci] E: Update nanvix workflow refs to v2.3.0#264

Merged
ppenna merged 2 commits into
nanvix/v3.4.6from
automation/update-nanvix-workflows
Jun 29, 2026
Merged

[ci] E: Update nanvix workflow refs to v2.3.0#264
ppenna merged 2 commits into
nanvix/v3.4.6from
automation/update-nanvix-workflows

Conversation

@ppenna

@ppenna ppenna commented Jun 29, 2026

Copy link
Copy Markdown

Automated bump of nanvix/workflows references to v2.3.0.

Generated by the Update Workflow Refs workflow.

Copilot AI review requested due to automatic review settings June 29, 2026 18:58
@ppenna ppenna self-assigned this Jun 29, 2026
@ppenna ppenna removed the request for review from Copilot June 29, 2026 18:58
`nanvix/workflows@v2.3.0` (commit f06ad3f) tightened the windows-test
artifact upload contract to `${test-output-path}/**/*.{elf,so}` with
default `.nanvix/out/test`, and downloads the artifact back into the
same path on the Windows runner before running `./z test`.

libffi's build side is already correct: `Makefile.nanvix install`
copies `ffi_test.elf` into `TEST_OUT` (which `_make_args` passes as
`test_out()`), and `_staged_output_files()` lists it for the Windows
docker copy-back. The upload glob already catches the file.

The only missing piece is the test-side discovery: `_run_tests_windows`
searched `[repo_root(), repo_root()/build]` -- neither of which exists
on the Windows runner where the artifact lands in `test_out()`.

This commit prepends `test_out()` to the candidate list. The existing
per-binary staging block (copy to repo_root() for `make_initrd`'s
zutils-v0.13.0 hardcoded path, cleanup in `finally`) already handles
the rest, including refusing to clobber a pre-existing repo-root file.

Verified with `just lc --platform=linux` and
`just lc --platform=windows-ci` (both green; `windows-ci_test exit=0`).
Copilot AI review requested due to automatic review settings June 29, 2026 20:43
@ppenna ppenna merged commit f66af50 into nanvix/v3.4.6 Jun 29, 2026
19 checks passed
@ppenna ppenna deleted the automation/update-nanvix-workflows branch June 29, 2026 20:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the repository’s Nanvix CI integration to use nanvix/workflows@v2.3.0 and adjusts the Windows test runner’s ELF discovery/staging behavior to align with the canonical workflow artifact layout.

Changes:

  • Bump nanvix/workflows reusable workflow reference from v2.2.0 to v2.3.0.
  • Update Windows test binary discovery order to prefer .nanvix/out/test/ before falling back to repo-root/build locations.
  • Adjust repo-root ELF staging logic for make_initrd during Windows tests.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.nanvix/z.py Changes Windows test binary discovery/staging to prefer test_out() and tweaks repo-root copy/cleanup behavior.
.github/workflows/nanvix-ci.yml Updates reusable workflow ref to nanvix/workflows/.github/workflows/nanvix-ci.yml@v2.3.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .nanvix/z.py
Comment on lines +316 to +320
# `staged_created` is False whenever the repo-root copy
# pre-existed (e.g. a dev's prior `./z build` left it
# there alongside the install copy in `test_out()`), so
# cleanup never deletes a developer's build output.
# Parity with bzip2/openssl.
Comment thread .nanvix/z.py
Comment on lines +321 to +323
preexisted = repo_elf.exists()
shutil.copy2(binary, repo_elf)
copied_elf = True
copied_elf = not preexisted
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.

3 participants