aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/on-target.yml
diff options
context:
space:
mode:
authorGravatar Adam Greig <adam@adamgreig.com> 2023-11-29 21:53:05 +0000
committerGravatar GitHub <noreply@github.com> 2023-11-29 21:53:05 +0000
commit0b04de538e462e076db7db5d922014ea8b13b68a (patch)
tree22144eab129e7c846cfe953b1cc018ae6f7338d2 /.github/workflows/on-target.yml
parentfc2c6cc5c8c3471d1ab22c11051b5664138d1bd8 (diff)
parentfa7031a430a570c643ae12cbd3f527c8d48213f5 (diff)
downloadcortex-m-0b04de538e462e076db7db5d922014ea8b13b68a.tar.gz
cortex-m-0b04de538e462e076db7db5d922014ea8b13b68a.tar.zst
cortex-m-0b04de538e462e076db7db5d922014ea8b13b68a.zip
Merge pull request #489 from newAM/rm-actions-rs
CI: actions-rs/toolchain -> dtolnay/rust-toolchain
Diffstat (limited to '')
-rw-r--r--.github/workflows/on-target.yml14
1 files changed, 4 insertions, 10 deletions
diff --git a/.github/workflows/on-target.yml b/.github/workflows/on-target.yml
index cc0c2ee..8371da1 100644
--- a/.github/workflows/on-target.yml
+++ b/.github/workflows/on-target.yml
@@ -15,12 +15,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- - uses: actions-rs/toolchain@v1
+ - uses: dtolnay/rust-toolchain@stable
with:
- profile: minimal
- toolchain: stable
- override: true
- target: thumbv7m-none-eabi
+ targets: thumbv7m-none-eabi
- name: Build testsuite
env:
RUSTFLAGS: -C link-arg=-Tlink.x -D warnings
@@ -40,12 +37,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- - uses: actions-rs/toolchain@v1
+ - uses: dtolnay/rust-toolchain@stable
with:
- profile: minimal
- toolchain: stable
- override: true
- target: thumbv6m-none-eabi
+ targets: thumbv6m-none-eabi
- name: Modify linkerfile
run: |
sed -i 's/FLASH : ORIGIN = 0x00000000, LENGTH = 256K/FLASH : ORIGIN = 0x8000000, LENGTH = 128K/g' memory.x