Skip to content

Commit

Permalink
To pass github build ci
Browse files Browse the repository at this point in the history
  • Loading branch information
elliott10 committed Apr 19, 2024
1 parent cc0cdf5 commit f4e0562
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,20 @@ jobs:
matrix:
os: [ubuntu-latest]
arch: [riscv64]
rust-toolchain: [nightly]
rust-toolchain: [nightly, nightly-2023-02-23]
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust-toolchain }}
override: true
target: riscv64gc-unknown-none-elf
components: rust-src
- uses: actions-rs/[email protected]
with:
crate: cargo-binutils
version: latest
use-tool-cache: true

- uses: ./.github/workflows/actions/setup-musl
with:
arch: ${{ matrix.arch }}
- name: Build ${{ github.repository }}
run: |
rustup target add riscv64gc-unknown-none-elf
cargo build -vv --target riscv64gc-unknown-none-elf
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
with:
profile: minimal
toolchain: ${{ env.rust-toolchain }}
override: true
components: rust-src
- uses: actions-rs/[email protected]
with:
Expand Down

0 comments on commit f4e0562

Please sign in to comment.