Skip to content

Commit

Permalink
Try what happens if using other target
Browse files Browse the repository at this point in the history
  • Loading branch information
Urhengulas committed Nov 25, 2022
1 parent 6a95332 commit 3e19be7
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ on:
env:
CARGO_TERM_COLOR: always
NO_STD_TARGET: thumbv7em-none-eabi # firmware uses atomics
QEMU_TARGET: thumbv7m-none-eabi

jobs:
host:
Expand Down Expand Up @@ -40,7 +39,7 @@ jobs:
- uses: actions/checkout@v3
- name: Use the latest stable release
run: rustup update stable && rustup default stable
- name: Install NO_STD_TARGET
- name: Install target for cross-compilation
run: rustup target add ${{ env.NO_STD_TARGET }}
- 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 Down Expand Up @@ -90,8 +89,8 @@ jobs:
- uses: actions/checkout@v3
- name: Use the latest stable release
run: rustup update stable && rustup default stable
- name: Install NO_STD_TARGET
run: rustup target add ${{ env.QEMU_TARGET }}
- name: Install target for cross-compilation
run: rustup target add ${{ env.NO_STD_TARGET }}
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install qemu qemu-system-arm
- name: Run QEMU snapshot tests
Expand All @@ -105,8 +104,8 @@ jobs:
fetch-depth: 0
- name: Use the latest stable release
run: rustup update stable && rustup default stable
- name: Install NO_STD_TARGET
run: rustup target add ${{ env.QEMU_TARGET }}
- name: Install target for cross-compilation
run: rustup target add ${{ env.NO_STD_TARGET }}
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install qemu qemu-system-arm
- name: Run backward compatibility test
Expand Down

0 comments on commit 3e19be7

Please sign in to comment.