File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 github_token : ${{ secrets.GITHUB_TOKEN }}
2525 publish_dir : ./os/target/riscv64gc-unknown-none-elf/doc
2626 destination_dir : ${{ github.ref_name }}
27- basic-test :
28- runs-on : ubuntu-latest
29- container :
30- image : duskmoon/dev-env:rcore-ci
31- steps :
32- - uses : actions/checkout@v3
33- - name : Run tests
34- run : |
35- qemu-system-riscv64 --version
36- rustup target add riscv64gc-unknown-none-elf
37- git config --global --add safe.directory /__w/rCore-Tutorial-Code-2023S/rCore-Tutorial-Code-2023S
38- git clone https://github.com/LearningOS/rCore-Tutorial-Checker-2023S.git ci-user
39- git clone https://github.com/LearningOS/rCore-Tutorial-Test-2023S.git ci-user/user
40- ID=`git rev-parse --abbrev-ref HEAD | grep -oP 'ch\K[0-9]'`
41- cd ci-user && make test CHAPTER=$ID passwd=${{ secrets.BASE_TEST_TOKEN }}
4227 gitlab-mirror :
4328 if : github.repository == 'LearningOS/rCore-Tutorial-Code-2023S'
4429 runs-on : ubuntu-latest
5338 GITLAB_PROJECT_ID : " 20881"
5439 GITLAB_PROJECT_NAME : " rcore-tutorial-code-2023s"
5540 GITLAB_PROJECT_TOKEN : ${{secrets.GITLAB_PROJECT_TOKEN}}
56- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
41+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments