Skip to content

Commit

Permalink
Adding raspi example build
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickLang committed Aug 4, 2020
1 parent bb8daa8 commit 720c8cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ cross_steps: &cross_steps
steps:
- checkout
- restore_cache:
key: v2-ssd1306-raspi-{{ .Environment.CIRCLE_JOB }}-{{ checksum "Cargo.toml" }}
key: v2-ssd1306-{{ .Environment.CIRCLE_JOB }}-{{ checksum "Cargo.toml" }}
- run: rustup self update
- run: sudo apt install -qq linkchecker
- run: rustup default ${RUST_VERSION:-stable}
Expand All @@ -40,9 +40,9 @@ cross_steps: &cross_steps
- run: cargo install cross
- run: |
cd {{ .Environment.EXAMPLE_PATH }}
cross build --release --target {{ .Environment.CIRCLE_JOB }}
cross build --release --target {{ .Environment.TARGET }}
- save_cache:
key: v2-ssd1306-raspi-{{ .Environment.CIRCLE_JOB }}-{{ checksum "Cargo.toml" }}
key: v2-ssd1306-{{ .Environment.CIRCLE_JOB }}-{{ checksum "Cargo.toml" }}
paths:
- ./target
- /usr/local/cargo/registry
Expand Down

0 comments on commit 720c8cd

Please sign in to comment.