Skip to content

Commit d4c0f21

Browse files
update CI
1 parent f8610be commit d4c0f21

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/test-run.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: test-run
22

33

44
env:
5-
MAIN_REPO: sysones/rcore-tutorial-v3-with-hal-component
5+
MAIN_REPO: ${{ github.repository }}
66
BRANCH: ch7
77
on:
88
push:
@@ -85,5 +85,6 @@ jobs:
8585
run: sh ${{ env.WORKING_DIRECTORY }}/tools/external_test.sh ${{ env.WORKING_DIRECTORY }} ${{ inputs.CallerPackage }} ${{ inputs.CallerRepository }} ${{ inputs.CallerCommit }}
8686
- name: Test ${{ matrix.arch }}
8787
working-directory: ${{ env.WORKING_DIRECTORY }}
88-
run: cd os && PATH=$PATH:~/.cargo/bin make ARCH=${{ matrix.arch }} build
88+
run: cd os && PATH=$PATH:~/.cargo/bin make ARCH=${{ matrix.arch }} run TEST=1
89+
timeout-minutes: 10
8990

tools/external_test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ PATCH_COMMIT_HASH=$4
2222

2323
# To do the patch for current commit
2424
cd $PATCH_TOOL_DIR
25+
echo "cargo run -- ../../os $PATCH_PACKAGE $PATCH_TARGET_URL $PATCH_COMMIT_HASH"
2526
cargo run -- ../../os $PATCH_PACKAGE $PATCH_TARGET_URL $PATCH_COMMIT_HASH

0 commit comments

Comments
 (0)