Skip to content

Commit 32847a1

Browse files
Just build for the one target.
1 parent fba4aed commit 32847a1

File tree

1 file changed

+2
-48
lines changed

1 file changed

+2
-48
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -3,59 +3,13 @@ name: Build
33
on: [push, pull_request]
44

55
jobs:
6-
7-
build_thumbv7m:
8-
env:
9-
TARGET: thumbv7m-none-eabi
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: actions/checkout@v1
13-
- name: Add Target
14-
run: rustup target add ${TARGET}
15-
- name: Build
16-
run: cargo build --verbose --target=${TARGET}
17-
18-
build_thumbv7em:
19-
env:
20-
TARGET: thumbv7em-none-eabi
21-
runs-on: ubuntu-latest
22-
steps:
23-
- uses: actions/checkout@v1
24-
- name: Add Target
25-
run: rustup target add ${TARGET}
26-
- name: Build
27-
run: cargo build --verbose --target=${TARGET}
28-
29-
build_thumbv7em_hf:
6+
build:
307
env:
31-
TARGET: thumbv7em-none-eabihf
8+
TARGET: thumbv6m-none-eabi
329
runs-on: ubuntu-latest
3310
steps:
3411
- uses: actions/checkout@v1
3512
- name: Add Target
3613
run: rustup target add ${TARGET}
3714
- name: Build
3815
run: cargo build --verbose --target=${TARGET}
39-
40-
build_thumbv8m_main:
41-
env:
42-
TARGET: thumbv8m.main-none-eabi
43-
runs-on: ubuntu-latest
44-
steps:
45-
- uses: actions/checkout@v1
46-
- name: Add Target
47-
run: rustup target add ${TARGET}
48-
- name: Build
49-
run: cargo build --verbose --target=${TARGET}
50-
51-
build_thumbv8m_base:
52-
env:
53-
TARGET: thumbv8m.base-none-eabi
54-
runs-on: ubuntu-latest
55-
steps:
56-
- uses: actions/checkout@v1
57-
- name: Add Target
58-
run: rustup target add ${TARGET}
59-
- name: Build
60-
run: cargo build --verbose --target=${TARGET}
61-

0 commit comments

Comments
 (0)