Skip to content

Commit ff67c4c

Browse files
committed
ARM64 CI
1 parent 8293122 commit ff67c4c

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/ci-arm.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+
name: ARM64 Tests
5+
6+
on: [push, pull_request]
7+
8+
jobs:
9+
build:
10+
runs-on: [self-hosted, linux, ARM64]
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: Setup .NET
16+
uses: actions/setup-dotnet@v1
17+
with:
18+
dotnet-version: '6.0.x'
19+
20+
- name: Create virtualenv
21+
run: |
22+
virtualenv -p python3 venv
23+
24+
- name: Install dependencies
25+
run: |
26+
source venv/bin/activate
27+
python -m pip install --upgrade pip
28+
pip install pytest cffi
29+
30+
# Assumes recent Mono
31+
32+
- name: Build
33+
run: |
34+
source venv/bin/activate
35+
pip install -e .
36+
37+
- name: Test with pytest
38+
run: |
39+
source venv/bin/activate
40+
pytest

0 commit comments

Comments
 (0)