Skip to content

Commit cf53884

Browse files
authored
Add linux AARCH64 support (#393)
Signed-off-by: odidev <odidev@puresoftware.com> Signed-off-by: odidev <odidev@puresoftware.com>
1 parent 0fb0805 commit cf53884

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,3 +125,25 @@ jobs:
125125
126126
- name: Publish Coverage Report
127127
uses: codecov/codecov-action@v1
128+
129+
armv64_job:
130+
name: Build and Test for arm64
131+
runs-on: ubuntu-20.04
132+
steps:
133+
- uses: actions/checkout@v2
134+
- name: Set up QEMU
135+
id: qemu
136+
uses: docker/setup-qemu-action@v1
137+
- name: Install and Run tests
138+
run: |
139+
docker run --rm -v ${{ github.workspace }}:/ws:rw --workdir=/ws \
140+
arm64v8/ubuntu:20.04 \
141+
bash -exc 'apt-get update && apt-get -y install python3 python3-pip python3-venv curl && \
142+
python3 -m pip install virtualenv && python3 -m venv py38-venv && \
143+
source py38-venv/bin/activate && \
144+
ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime && export DEBIAN_FRONTEND=noninteractive && apt-get install -y tzdata && dpkg-reconfigure --frontend noninteractive tzdata && \
145+
python -m pip install --upgrade pip && \
146+
python -m pip install "Django==4.0" "elasticsearch-dsl==7.4" && \
147+
python -m pip install -r requirements_test.txt && \
148+
tox -e py38-django-40-es74 && \
149+
deactivate'

requirements_test.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
coverage==4.1
1+
coverage>=4.1
22
mock>=1.0.1
33
flake8>=2.1.0
44
tox>=1.7.0
5-
Pillow==6.2.0
5+
Pillow>=6.2.0
66

77

88
# Additional test requirements go here

0 commit comments

Comments
 (0)