forked from amzn/pecos
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 924 Bytes
/
pytest_aarch64.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Python Unit Tests aarch64
on: [push, pull_request]
jobs:
Ubuntu-Python-Unit-Test:
name: Ubuntu 22.04 Python3.10 Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: all
- name: Check QEMU Simulator
uses: docker://arm64v8/ubuntu:22.04
with:
args: 'uname -a'
- name: Install dependencies and Pytest
uses: docker://arm64v8/ubuntu:22.04
with:
args: >
bash -c
"apt-get update &&
apt-get install -y build-essential git python3 python3-distutils libopenblas-dev wget &&
wget https://bootstrap.pypa.io/get-pip.py &&
python3 get-pip.py &&
python3 -m pip install --upgrade pip &&
make libpecos VFLAG=-v WARN_AS_ERROR=True &&
make test VFLAG=-v WARN_AS_ERROR=True"