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

Initial support for riscv64 Buildkite CI #148

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

endeneer
Copy link
Contributor

@endeneer endeneer commented Dec 19, 2023

Summary of the PR

The riscv64-related outputs of the autogenerate_pipeline.py:

- label: build-gnu-riscv64
  command: RUSTFLAGS="-D warnings" cargo build --release --target=riscv64gc-unknown-linux-gnu
    --config target.riscv64gc-unknown-linux-gnu.linker=\"riscv64-linux-gnu-gcc\"
  retry:
    automatic: false
  agents:
    os: linux
    platform: x86_64.metal
    hypervisor: kvm
  plugins:
  - docker#v5.3.0:
      image: rustvmm/dev_riscv64:v1
      always-pull: true
  timeout_in_minutes: 15

and

- label: unittests-gnu-riscv64
  command: cargo test --no-run --target=riscv64gc-unknown-linux-gnu --config target.riscv64gc-unknown-linux-gnu.linker=\"riscv64-linux-gnu-gcc\"
    && qemu.sh
  retry:
    automatic: false
  agents:
    os: linux
    platform: x86_64.metal
    hypervisor: kvm
  plugins:
  - docker#v5.3.0:
      image: rustvmm/dev_riscv64:v1
      always-pull: true
  timeout_in_minutes: 15

Requirements

Before submitting your PR, please make sure you addressed the following
requirements:

  • All commits in this PR are signed (with git commit -s), and the commit
    message has max 60 characters for the summary and max 75 characters for each
    description line.
  • All added/changed functionality has a corresponding unit/integration
    test.
  • [N/A] All added/changed public-facing functionality has entries in the "Upcoming
    Release" section of CHANGELOG.md (if no such section exists, please create one).
  • [N/A] Any newly added unsafe code is properly documented.

Add test configuration for `build-gnu-riscv64`.

Signed-off-by: Tan En De <[email protected]>
Add test configuration for `unittests-gnu-riscv64`.

Signed-off-by: Tan En De <[email protected]>
Enable pipeline generation for riscv64.

Signed-off-by: Tan En De <[email protected]>
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.

1 participant