diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index 2f908a6ac..c419e3332 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -31,7 +31,7 @@ inputs: # Test Parameters arch: - description: 'Architecture (x86_64/riscv64)' + description: 'Architecture (x86_64/riscv64/loongarch64)' required: false extra_blocklists: description: 'Extra blocklists directories' diff --git a/.github/workflows/test_loongarch.yml b/.github/workflows/test_loongarch.yml new file mode 100644 index 000000000..abe3f5316 --- /dev/null +++ b/.github/workflows/test_loongarch.yml @@ -0,0 +1,27 @@ +name: "Test loongarch64 " + +on: + workflow_dispatch: + pull_request: + push: + branches: + - main + +jobs: + basic-test: + runs-on: ubuntu-latest + container: + image: asterinas/asterinas:0.15.2-20250722 + options: --device=/dev/kvm --privileged + strategy: + matrix: + id: ['lint', 'compile'] + fail-fast: false + steps: + - uses: actions/checkout@v4 + - name: Run basic tests + uses: ./.github/actions/test + with: + auto_test: 'general' + runs_on: 'ubuntu-latest' + arch: 'loongarch64' diff --git a/README.md b/README.md index 653e31f99..647a6d98d 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ A secure, fast, and general-purpose OS kernel written in Rust and compatible with Linux
Test x86-64 Test riscv64 + Test loongarch64 Test Intel TDX Benchmark x86-64
diff --git a/README_CN.md b/README_CN.md index 157e88319..65ddc2c06 100644 --- a/README_CN.md +++ b/README_CN.md @@ -3,6 +3,7 @@ 一个安全、快速、通用的操作系统内核,使用Rust编写,并与Linux兼容
Test x86-64 Test riscv64 + Test loongarch64 Test Intel TDX Benchmark x86-64
diff --git a/README_JP.md b/README_JP.md index e2cd13d0f..6eec9b839 100644 --- a/README_JP.md +++ b/README_JP.md @@ -3,6 +3,7 @@ 安全で高速、汎用的なOSカーネル。Rustで書かれ、Linuxと互換性があります
Test x86-64 Test riscv64 + Test loongarch64 Test Intel TDX Benchmark x86-64