|
@@ -14,14 +14,18 @@ jobs:
|
|
|
- name: Set up Docker Buildx
|
|
|
uses: docker/setup-buildx-action@v1
|
|
|
- name: Test-start main.py
|
|
|
- uses: addnab/docker-run-action@v3
|
|
|
- with:
|
|
|
- image: arm32v7/python:3.9-slim-buster
|
|
|
- options: -v ${{ github.workspace }}:/app
|
|
|
- run: |
|
|
|
- cd /app && \
|
|
|
- python -m pip install . && \
|
|
|
- python main.py
|
|
|
+ run: |
|
|
|
+ docker run \
|
|
|
+ --platform linux/arm/v7 \
|
|
|
+ -v ${{ github.workspace }}:/app \
|
|
|
+ -w /app \
|
|
|
+ arm32v7/python:3.9-slim-buster \
|
|
|
+ /bin/bash -c "\
|
|
|
+ apt-get update && \
|
|
|
+ apt-get install -y gfortran libopenblas-dev && \
|
|
|
+ cd /app && \
|
|
|
+ python -m pip install --no-cache-dir . && \
|
|
|
+ python main.py"
|
|
|
|
|
|
test:
|
|
|
strategy:
|