File tree Expand file tree Collapse file tree 4 files changed +9
-13
lines changed
Expand file tree Collapse file tree 4 files changed +9
-13
lines changed Original file line number Diff line number Diff line change 1010 image : duskmoon/dev-env:ucore-ci
1111 steps :
1212 - uses : actions/checkout@v3
13- - run : git clone https://github.com/LearningOS/uCore-Tutorial-Checker-2023A .git ucore-tutorial-ci
14- - run : git clone https://github.com/LearningOS/uCore-Tutorial-Test-2023A .git ucore-tutorial-ci/workplace/user
13+ - run : git clone https://github.com/LearningOS/uCore-Tutorial-Checker-2024S .git ucore-tutorial-ci
14+ - run : git clone https://github.com/LearningOS/uCore-Tutorial-Test-2024S .git ucore-tutorial-ci/workplace/user
1515 - run : cd ucore-tutorial-ci && make test passwd=${{ secrets.BASE_TEST_TOKEN }} CHAPTER=`echo ${GITHUB_REF##*/} | grep -oP 'ch\K[0-9]'`
1616
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ jobs:
1313 - name : Mirror + trigger CI
1414 uses : tkf2019/gitlab-mirror-and-ci-action@master
1515 with :
16- args : " https://git.tsinghua.edu.cn/os-lab/2023a /public/ucore-tutorial-code-2023a "
16+ args : " https://git.tsinghua.edu.cn/os-lab/2024s /public/ucore-tutorial-code"
1717 env :
1818 GITLAB_HOSTNAME : " git.tsinghua.edu.cn"
19- GITLAB_PROJECT_ID : " 26336 "
20- GITLAB_PROJECT_NAME : " ucore-tutorial-code-2023a "
19+ GITLAB_PROJECT_ID : " 29092 "
20+ GITLAB_PROJECT_NAME : " ucore-tutorial-code"
2121 GITLAB_PROJECT_TOKEN : ${{secrets.GITLAB_PROJECT_TOKEN}}
2222 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 77test-code-job :
88 stage : test
99 script :
10- - git clone https://github.com/LearningOS/uCore-Tutorial-Checker-2023A .git ucore-tutorial-ci
11- - git clone https://github.com/LearningOS/uCore-Tutorial-Test-2023A .git ucore-tutorial-ci/workplace/user
10+ - git clone https://github.com/LearningOS/uCore-Tutorial-Checker-2024S .git ucore-tutorial-ci
11+ - git clone https://github.com/LearningOS/uCore-Tutorial-Test-2024S .git ucore-tutorial-ci/workplace/user
1212 - cd ucore-tutorial-ci && make test CHAPTER=`echo $CI_COMMIT_REF_NAME | grep -oP 'ch\K[0-9]'`
Original file line number Diff line number Diff line change @@ -15,14 +15,10 @@ Course project for THU-OS.
1515在本地开发并测试时,需要拉取 uCore-Tutorial-Test-2022A 到 ` user ` 文件夹。你可以根据网络情况和个人偏好选择下列一项执行:
1616
1717``` bash
18- # 清华 git 使用 https
19- git clone https://git.tsinghua.edu.cn/os-lab/2023a/public/ucore-tutorial-test-2023a.git user
20- # 清华 git 使用 ssh
21- git clone
[email protected] :os-lab/2023a/public/ucore-tutorial-test-2023a.git user
2218# GitHub 使用 https
23- git clone https://github.com/LearningOS/uCore-Tutorial-Test-2023A .git user
19+ git clone https://github.com/LearningOS/uCore-Tutorial-Test-2024S .git user
2420# GitHub 使用 ssh
25- git clone
[email protected] :LearningOS/uCore-Tutorial-Test-
2023A .git user
21+ git clone
[email protected] :LearningOS/uCore-Tutorial-Test-
2024S .git user
2622```
2723
2824注意:` user ` 已添加至 ` .gitignore ` ,你无需将其提交,ci 也不会使用它
You can’t perform that action at this time.
0 commit comments