Skip to content

Commit bead884

Browse files
authored
ARM64 CI (#22)
1 parent 5b18691 commit bead884

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/ci-arm.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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: |
19+
3.1.x
20+
6.0.x
21+
22+
- name: Create virtualenv
23+
run: |
24+
virtualenv -p python3 venv
25+
26+
- name: Install dependencies
27+
run: |
28+
source venv/bin/activate
29+
python -m pip install --upgrade pip
30+
pip install pytest cffi
31+
32+
# Assumes recent Mono
33+
34+
- name: Build
35+
run: |
36+
source venv/bin/activate
37+
pip install -e .
38+
39+
- name: Test with pytest
40+
run: |
41+
source venv/bin/activate
42+
pytest

0 commit comments

Comments
 (0)