Skip to content

Commit

Permalink
2024S: gitlab ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf2019 committed Feb 26, 2024
1 parent 28a11f4 commit 01d082a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
default:
image: duskmoon/dev-env:rcore-ci
image: tkf2023/env:rcore-ci

stages:
- test

test-code-job:
stage: test
script:
- git clone https://github.com/LearningOS/rCore-Tutorial-Checker-2024S.git ci-user
- git clone https://github.com/LearningOS/rCore-Tutorial-Test-2024S.git ci-user/user
- git clone https://token:${RCORE_CHECKER_REPO_READ_TOKEN_2024S}@git.tsinghua.edu.cn/os-lab/2024s/ta/rcore-tutorial-checker.git ci-user
- git clone https://token:${RCORE_TEST_REPO_READ_TOKEN_2024S}@git.tsinghua.edu.cn/os-lab/2024s/public/rcore-tutorial-test.git ci-user/user
- cp -r $HOME/os-vendor os/vendor
- cp -r $HOME/user-vendor ci-user/user/vendor
- cd ci-user && make test CHAPTER=`echo $CI_COMMIT_REF_NAME | grep -oP 'ch\K[0-9]'` passwd=$BASE_TEST_TOKEN OFFLINE=1

0 comments on commit 01d082a

Please sign in to comment.