diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 618ca4d..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: CI - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - build: - name: Deploy gh-pages - runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write - steps: - - uses: actions/checkout@v3 - with: - submodules: 'recursive' - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - - name: install mdbook - run: (test -x $HOME/.cargo/bin/mdbook || cargo install mdbook) - - name: build and test - run: mdbook build - - name: publish - if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'eunomia-bpf' - uses: JamesIves/github-pages-deploy-action@v4.4.1 - with: - branch: gh-pages - folder: book diff --git a/.github/workflows/test-libbpf.yml b/.github/workflows/test-libbpf.yml index e567b3e..af7a834 100644 --- a/.github/workflows/test-libbpf.yml +++ b/.github/workflows/test-libbpf.yml @@ -84,4 +84,7 @@ jobs: - name: test 44 run: | - make -C src/43-kfuncs + make -C src/44-scx-simple + - name: test 45 + run: | + make -C src/45-scx-nest diff --git a/README.md b/README.md index 2fa1315..55e8253 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # eBPF Developer Tutorial: Learning eBPF Step by Step with Examples -[![CI](https://github.com/eunomia-bpf/bpf-developer-tutorial/actions/workflows/main.yml/badge.svg)](https://github.com/eunomia-bpf/bpf-developer-tutorial/actions/workflows/main.yml) +[![Test run](https://github.com/eunomia-bpf/bpf-developer-tutorial/actions/workflows/main.yml/badge.svg)](https://github.com/eunomia-bpf/bpf-developer-tutorial/actions/workflows/test-libbpf.yml) [![Test and trigger downstream tutorial sync](https://github.com/eunomia-bpf/bpf-developer-tutorial/actions/workflows/trigger-sync.yml/badge.svg)](https://github.com/eunomia-bpf/bpf-developer-tutorial/actions/workflows/trigger-sync.yml) [GitHub](https://github.com/eunomia-bpf/bpf-developer-tutorial) diff --git a/README.zh.md b/README.zh.md index c9ad69f..b9a634d 100644 --- a/README.zh.md +++ b/README.zh.md @@ -1,6 +1,6 @@ # eBPF 开发者教程与知识库:eBPF Tutorial by Example -[![CI](https://github.com/eunomia-bpf/bpf-developer-tutorial/actions/workflows/main.yml/badge.svg)](https://github.com/eunomia-bpf/bpf-developer-tutorial/actions/workflows/main.yml) +[![Test run](https://github.com/eunomia-bpf/bpf-developer-tutorial/actions/workflows/main.yml/badge.svg)](https://github.com/eunomia-bpf/bpf-developer-tutorial/actions/workflows/test-libbpf.yml) [GitHub](https://github.com/eunomia-bpf/bpf-developer-tutorial) [Gitee 镜像](https://gitee.com/yunwei37/bpf-developer-tutorial) diff --git a/book.toml b/book.toml deleted file mode 100644 index 432b20f..0000000 --- a/book.toml +++ /dev/null @@ -1,6 +0,0 @@ -[book] -authors = ["eunomia-bpf"] -language = "en" -multilingual = false -src = "src" -title = "bpf-developer-tutorial"