Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Urhengulas committed May 13, 2024
1 parent 810e8c9 commit dd89e4f
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Use the latest stable release
run: rustup update stable && rustup default stable
run: |
rustup update --no-self-update stable
rustup default stable
- name: Install C libraries for tooling on ubuntu
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install libudev-dev libusb-1.0-0-dev
Expand All @@ -38,7 +40,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Use the latest stable release
run: rustup update stable && rustup default stable
run: |
rustup update --no-self-update stable
rustup default stable
- name: Install Rust targets, build defmt crates for no_std targets, build defmt dependent crates for cortex-m targets, build panic-probe with different features
run: cargo xtask test-cross

Expand All @@ -48,7 +52,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Use the latest stable release
run: rustup update stable && rustup default stable
run: |
rustup update --no-self-update stable
rustup default stable
- name: Run rustfmt & clippy
run: cargo xtask test-lint

Expand All @@ -57,7 +63,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Use the latest stable release
run: rustup update stable && rustup default stable
run: |
rustup update --no-self-update stable
rustup default stable
- name: Install Rust stable, run all UI tests on the host
run: cargo xtask test-ui

Expand All @@ -67,7 +75,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Use the latest stable release
run: rustup update stable && rustup default stable
run: |
rustup update --no-self-update stable
rustup default stable
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
Expand All @@ -84,8 +94,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use the latest stable release
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: Use the latest ${{ matrix.toolchain }} release
run: |
rustup update --no-self-update ${{ matrix.toolchain }}
rustup default ${{ matrix.toolchain }}
- name: Install QEMU_TARGET
run: rustup target add ${{ env.QEMU_TARGET }}
- name: Install dependencies
Expand All @@ -100,7 +112,9 @@ jobs:
with:
fetch-depth: 0
- name: Use the latest stable release
run: rustup update stable && rustup default stable
run: |
rustup update --no-self-update stable
rustup default stable
- name: Install QEMU_TARGET
run: rustup target add ${{ env.QEMU_TARGET }}
- name: Install dependencies
Expand Down

0 comments on commit dd89e4f

Please sign in to comment.