feat(scripts): add fully automatic test + environment installation verification script

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
pengyiqiang
2025-09-02 12:14:32 +08:00
committed by VIFEX
parent dccab751d6
commit 6fbdb7fef9
3 changed files with 151 additions and 1 deletions
+4
View File
@@ -39,6 +39,8 @@ jobs:
run: scripts/install-prerequisites.sh
- name: Install pngquant
run: scripts/install_pngquant.sh
- name: Verify the environment dependency installation
run: scripts/run_tests.sh --skip-tests
- name: Building ${{ matrix.build_option }}
run: python tests/main.py --build-option=${{ matrix.build_option }} build --auto-clean
@@ -123,6 +125,8 @@ jobs:
run: scripts/install-prerequisites.sh
- name: Install pngquant
run: scripts/install_pngquant.sh
- name: Verify the environment dependency installation
run: scripts/run_tests.sh --skip-tests
- name: Fix kernel mmap rnd bits
# Asan in llvm 14 provided in ubuntu 22.04 is incompatible with
# high-entropy ASLR in much newer kernels that GitHub runners are