test: test查看cpu指令集

This commit is contained in:
infinitycat
2025-04-25 04:31:50 +08:00
parent a822cac492
commit 4e222afacc
2 changed files with 4 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ jobs:
run: git clone https://github.com/MaiM-with-u/maim_message maim_message run: git clone https://github.com/MaiM-with-u/maim_message maim_message
- name: Clone lpmm - name: Clone lpmm
run: git clone https://github.com/MaiM-with-u/MaiMBot-LPMM.git MaiMBot-LPMM run: git clone https://github.com/infinitycat233/MaiMBot-LPMM.git MaiMBot-LPMM
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3

View File

@@ -18,6 +18,9 @@ RUN apt-get update && apt-get install -y build-essential
RUN cat /proc/cpuinfo RUN cat /proc/cpuinfo
RUN uv pip install --system py-cpuinfo RUN uv pip install --system py-cpuinfo
RUN python /test_cpu.py RUN python /test_cpu.py
RUN cd /MaiMBot-LPMM && uv pip install --system -r requirements.txt
RUN cd /MaiMBot-LPMM/lib/quick_algo && python build_lib.py --cleanup --cythonize --install
# 安装依赖 # 安装依赖
RUN uv pip install --system --upgrade pip RUN uv pip install --system --upgrade pip