Skip to content

Commit 7d22a23

Browse files
authored
remove basic-test at ch2
1 parent ef6a849 commit 7d22a23

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,6 @@ jobs:
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
@@ -53,4 +38,4 @@ jobs:
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}}

0 commit comments

Comments
 (0)