Skip to content

Commit

Permalink
Fix assumed directory name in CI build job
Browse files Browse the repository at this point in the history
  • Loading branch information
speelbarrow committed Oct 22, 2023
1 parent 0f44764 commit 7b39c6b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- '**Cargo.toml'
- .github/workflows/ci.yml
- .github/actions/*/action.yml
branches: [ '**' ]

jobs:
test:
Expand All @@ -28,12 +29,12 @@ jobs:
- name: Create a Cargo package containing a binary crate
working-directory: ../
run: cargo new --bin --vcs=none test-bin
- name: Define dependencies of the package
working-directory: ../test-bin
- name: Add `weensy` as a dependency of the package
run: |
echo 'weensy = { path = "../weensy/", features = ["t4bsp-rt"] }' \
>> Cargo.toml
cargo add teensy4-bsp teensy4-panic -F teensy4-bsp/rt
echo "weensy = { path = '`pwd`' }" >> ../test-bin/Cargo.toml
- name: Define additional dependencies of the package
working-directory: ../test-bin
run: cargo add teensy4-bsp teensy4-panic -F teensy4-bsp/rt
- name: Create the `main` program
working-directory: ../test-bin
run: |
Expand Down

0 comments on commit 7b39c6b

Please sign in to comment.