Skip to content

Commit 7c38da9

Browse files
committed
[CI] Add gitlab CI yml
1 parent cbdb7c4 commit 7c38da9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.gitlab-ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
default:
2+
image: alicesama/rcore-ci:2024a
3+
4+
stages:
5+
- test
6+
7+
test-code-job:
8+
stage: test
9+
script:
10+
- git clone https://token:${rCoreCheckToken}@git.tsinghua.edu.cn/os-lab/20245/ta/rcore-tutorial-checker.git ci-user
11+
- git clone https://token:${rCoreTestToken}@git.tsinghua.edu.cn/os-lab/20245/public/rcore-tutorial-test.git ci-user/user
12+
- cd ci-user && make test CHAPTER=`echo $CI_COMMIT_REF_NAME | grep -oP 'ch\K[0-9]'` OFFLINE=1

0 commit comments

Comments
 (0)