test: test查看cpu指令集
This commit is contained in:
2
.github/workflows/docker-image.yml
vendored
2
.github/workflows/docker-image.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
run: git clone https://github.com/MaiM-with-u/maim_message maim_message
|
||||
|
||||
- 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
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
@@ -18,6 +18,9 @@ RUN apt-get update && apt-get install -y build-essential
|
||||
RUN cat /proc/cpuinfo
|
||||
RUN uv pip install --system py-cpuinfo
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user