File tree Expand file tree Collapse file tree 1 file changed +25
-4
lines changed Expand file tree Collapse file tree 1 file changed +25
-4
lines changed Original file line number Diff line number Diff line change 6161
6262
6363 # Compilation
64- build :
65- name : build
64+ buildv0_5 :
65+ name : build v0.5
6666 runs-on : ubuntu-22.04
6767 steps :
6868 - name : Checkout
7878 run : cargo install flip-link
7979
8080 - name : cargo build
81- run : find . -type f -name Cargo.toml -execdir cargo build --release --manifest-path {} +
81+ run : find rtic_v0.5 -type f -name Cargo.toml -execdir cargo build --release --manifest-path {} +
82+
83+ # Compilation
84+ buildv1 :
85+ name : build v1
86+ runs-on : ubuntu-22.04
87+ steps :
88+ - name : Checkout
89+ uses : actions/checkout@v3
90+
91+ - name : Cache Dependencies
92+ uses : Swatinem/rust-cache@v2
93+
94+ - name : Install all Rust targets
95+ run : rustup target install thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabihf
96+
97+ - name : Install flip-link
98+ run : cargo install flip-link
99+
100+ - name : cargo build
101+ run : find rtic_v1 -type f -name Cargo.toml -execdir cargo build --release --manifest-path {} +
82102
83103 check-dependabot-config :
84104 name : Ensure that `dependabot.yml` is up to date
@@ -102,7 +122,8 @@ jobs:
102122 - style
103123 - check
104124 - clippy
105- - build
125+ - buildv0_5
126+ - buildv1
106127 - check-dependabot-config
107128 runs-on : ubuntu-22.04
108129 steps :
You can’t perform that action at this time.
0 commit comments