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

Try to build on riscv64 runner #301

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,25 @@ jobs:
# If one platform fails, allow the rest to keep testing if `CI-no-fail-fast` label is present
fail-fast: ${{ !contains(github.event.pull_request.labels.*.name, 'CI-no-fail-fast') }}
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
os: [ubuntu-latest, macos-13, windows-latest, riscv-builders]
toolchain: [1.74.0, stable, nightly]
zig: [0.10.1, 0.13.0, master]
exclude:
# Only test MSRV with zig stable version
- toolchain: 1.74.0
zig: master
- toolchain: 1.74.0
os: riscv-builders
- toolchain: nightly
os: riscv-builders
env:
RUST_BACKTRACE: "1"
# SCCACHE_GHA_ENABLED: "true"
# RUSTC_WRAPPER: "sccache"
steps:
- uses: actions/checkout@v4
- name: setup sccache
if: ${{ !startsWith(matrix.os, 'riscv') }}
uses: mozilla-actions/[email protected]
with:
version: "v0.4.0"
Expand All @@ -53,9 +58,9 @@ jobs:
with:
toolchain: ${{ matrix.toolchain }}
- name: Install zig
uses: korandoru/setup-zig@v1
uses: mlugg/setup-zig@v1
with:
zig-version: ${{ matrix.zig }}
version: ${{ matrix.zig }}
- run: zig version
- run: cargo build
- name: Install Rust targets
Expand Down
Loading