Skip to content

Commit 720c8cd

Browse files
committed
Adding raspi example build
1 parent bb8daa8 commit 720c8cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.circleci/config.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ cross_steps: &cross_steps
3131
steps:
3232
- checkout
3333
- restore_cache:
34-
key: v2-ssd1306-raspi-{{ .Environment.CIRCLE_JOB }}-{{ checksum "Cargo.toml" }}
34+
key: v2-ssd1306-{{ .Environment.CIRCLE_JOB }}-{{ checksum "Cargo.toml" }}
3535
- run: rustup self update
3636
- run: sudo apt install -qq linkchecker
3737
- run: rustup default ${RUST_VERSION:-stable}
@@ -40,9 +40,9 @@ cross_steps: &cross_steps
4040
- run: cargo install cross
4141
- run: |
4242
cd {{ .Environment.EXAMPLE_PATH }}
43-
cross build --release --target {{ .Environment.CIRCLE_JOB }}
43+
cross build --release --target {{ .Environment.TARGET }}
4444
- save_cache:
45-
key: v2-ssd1306-raspi-{{ .Environment.CIRCLE_JOB }}-{{ checksum "Cargo.toml" }}
45+
key: v2-ssd1306-{{ .Environment.CIRCLE_JOB }}-{{ checksum "Cargo.toml" }}
4646
paths:
4747
- ./target
4848
- /usr/local/cargo/registry

0 commit comments

Comments
 (0)