Skip to content

Commit ec999c9

Browse files
Test linux arm support
Signed-off-by: Ayan Sinha Mahapatra <asmahapatra@aboutcode.org>
1 parent 494209d commit ec999c9

2 files changed

Lines changed: 35 additions & 2 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Test CI Linux ARM
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ${{ matrix.os }}
8+
9+
strategy:
10+
max-parallel: 4
11+
matrix:
12+
os: [ubuntu-22.04-arm, ubuntu-24.04-arm]
13+
python-version: ["3.10", "3.14"]
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
- name: Set up Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
24+
- name: Install system dependencies
25+
run: |
26+
sudo apt update
27+
sudo apt install libarchive-tools libarchive-dev libmagic1 libmagic-dev
28+
29+
- name: Set up venv
30+
run: ./configure --dev-system-provided
31+
32+
- name: Run tests
33+
run: venv/bin/pytest -n 3 -vvs .

.github/workflows/test-ci-mac.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test CI Mac
1+
name: Test CI Macos ARM
22

33
on: [push, pull_request]
44

@@ -24,7 +24,7 @@ jobs:
2424
- name: Install system dependencies
2525
run: |
2626
brew update
27-
brew install p7zip libarchive libmagic
27+
brew install libarchive libmagic
2828
2929
- name: Set up venv
3030
run: ./configure --dev-system-provided

0 commit comments

Comments
 (0)