Skip to content

DO NOT MERGE try out cross-platform-actions in CI#2771

Draft
asomers wants to merge 23 commits intonix-rust:masterfrom
asomers:cross-platform-actions
Draft

DO NOT MERGE try out cross-platform-actions in CI#2771
asomers wants to merge 23 commits intonix-rust:masterfrom
asomers:cross-platform-actions

Conversation

@asomers
Copy link
Copy Markdown
Member

@asomers asomers commented Apr 13, 2026

This PR replaces cirrus-CI with github workflows'
cross-platform-actions. The latter works via nested virtualization; it starts a new VM within Github Actions native VM.

This PR tries out every architecture supported by
cross-platform-actions, even those that Nix hasn't previously run CI on. We may not want to keep those.

This PR also removes unaffected CI targets from the configuration, for speed's sake. Don't merge that part!

Fixes #2768

What does this PR do

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

asomers added 23 commits April 13, 2026 08:20
This PR replaces cirrus-CI with github workflows'
cross-platform-actions.  The latter works via nested virtualization; it
starts a new VM within Github Actions native VM.

This PR tries out every architecture supported by
cross-platform-actions, even those that Nix hasn't previously run CI on.
We may not want to keep those.

This PR also removes unaffected CI targets from the configuration, for
speed's sake.  Don't merge that part!

Fixes nix-rust#2768
I think there's a syntax here, because github isn't even recognizing the
jobs
Also, cargo-hack binaries are not available on netbsd
* FreeBSD/aarch64 needs its own target, since it isn't in rustup
* Add FreeBSD-i686 back to the mix
* OpenBSD needs the shell explicitly specified
* Try "pkgman update" on haiku
* Fix omnios version number
* check if 32 bit libs are installed on freebsd
* don't try to source $HOME/.cargo/env if rustup wasn't used
* Try "-y" with pkgman
* Install gcc on omnios
* Install 32-bit libs on FreeBSD 15.  14 is TODO
* no need for gcc on openbsd
* openbsd doesn't have clippy
* better pkgman debuggging
* install gcc on illumos
* Also try using vmactions, for comparison
* Don't try to test on i686 on FreeBSD.  This VM doesn't have 32-bit
  libs intsalled, and it's not a pkgbase installation

* Correct haiku's pkg name

* need sudo on omnios to install gcco

* fix rustup syntax with vmactions
* Use cargo check, not cargo build, for freebsd i686
* fix gcc pkg name on omnios
* don't use sudo on vmcactions
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.

CirrusCI will shut down on 2026-06-01

1 participant