Skip to content

Commit

Permalink
ci: use local deps when running pr test
Browse files Browse the repository at this point in the history
  • Loading branch information
andelf committed Jun 1, 2024
1 parent 5519375 commit 3eb7b87
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ jobs:
rustup target add riscv32imac-unknown-none-elf
rustup target add riscv32imafc-unknown-none-elf
rustup target add riscv32i-unknown-none-elf
# - name: Fetch Deps
# run: |
# mkdir -p ../ch32-data/build/
# cd ../ch32-data/build/
# git clone https://github.com/ch32-rs/ch32-metapac.git
- name: Fetch Deps
# if this is a pull request
if: github.event_name == 'pull_request'
run: |
mkdir -p ../ch32-data/build/
cd ../ch32-data/build/
git clone https://github.com/ch32-rs/ch32-metapac.git
- name: Build Only
run: ./ci.sh

0 comments on commit 3eb7b87

Please sign in to comment.