From 853d40b60c2c011b783ae94f61de042dfa1c9acc Mon Sep 17 00:00:00 2001 From: Victor Nova Date: Sat, 8 Jan 2022 22:41:12 -0800 Subject: [PATCH] ARM64 CI --- .github/workflows/ci-arm.yml | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/ci-arm.yml diff --git a/.github/workflows/ci-arm.yml b/.github/workflows/ci-arm.yml new file mode 100644 index 0000000..0c308bd --- /dev/null +++ b/.github/workflows/ci-arm.yml @@ -0,0 +1,42 @@ +# This workflow will install Python dependencies, run tests and lint with a variety of Python versions +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions + +name: ARM64 Tests + +on: [push, pull_request] + +jobs: + build: + runs-on: [self-hosted, linux, ARM64] + + steps: + - uses: actions/checkout@v2 + + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: | + 3.1.x + 6.0.x + + - name: Create virtualenv + run: | + virtualenv -p python3 venv + + - name: Install dependencies + run: | + source venv/bin/activate + python -m pip install --upgrade pip + pip install pytest cffi + + # Assumes recent Mono + + - name: Build + run: | + source venv/bin/activate + pip install -e . + + - name: Test with pytest + run: | + source venv/bin/activate + pytest