Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: rfl: add more tools and steps #128928

Merged
merged 6 commits into from
Sep 5, 2024
Merged

Commits on Aug 27, 2024

  1. Configuration menu
    Copy the full SHA
    992dd0b View commit details
    Browse the repository at this point in the history
  2. CI: rfl: switch to a stage 2 build

    Apparently tools like `rustfmt` require it in order to find the right
    `librustc_driver.so` without extra tweaks.
    
    Signed-off-by: Miguel Ojeda <[email protected]>
    ojeda committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    d783b1d View commit details
    Browse the repository at this point in the history
  3. CI: rfl: add a Clippy build

    Signed-off-by: Miguel Ojeda <[email protected]>
    ojeda committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    824397d View commit details
    Browse the repository at this point in the history
  4. CI: rfl: add a rustfmt run

    This change will also remove the current warnings in the build due to
    `rustfmt` not being available (for `bindgen` output):
    
        error: 'rustfmt' is not installed for the custom toolchain 'local'.
        note: this is a custom toolchain, which cannot use `rustup component add`
        help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py`
        Failed to run rustfmt: Internal rustfmt error (non-fatal, continuing)
    
    Signed-off-by: Miguel Ojeda <[email protected]>
    ojeda committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    d584f70 View commit details
    Browse the repository at this point in the history
  5. CI: rfl: add macro expanded source build (-Zunpretty=expanded)

    This particular target does not expand into much code, so it is a good
    first candidate to see if we could keep this in the CI.
    
    Signed-off-by: Miguel Ojeda <[email protected]>
    ojeda committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    5c558d3 View commit details
    Browse the repository at this point in the history
  6. CI: rfl: factor out build targets

    It will make it easier to add more in the future.
    
    Signed-off-by: Miguel Ojeda <[email protected]>
    ojeda committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    778ff06 View commit details
    Browse the repository at this point in the history