-
-
Notifications
You must be signed in to change notification settings - Fork 23
79 lines (60 loc) · 1.89 KB
/
Copy pathtests-ci-other.yml
File metadata and controls
79 lines (60 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: CI on Linux ARM and MacOS Intel
on: [push]
permissions: {}
jobs:
test_on_linux_arm:
permissions:
contents: read # to fetch code (actions/checkout)
name: Test PyPI wheels on linux
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
strategy:
fail-fast: true
matrix:
os: [ubuntu-24.04-arm]
pyver: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false
- name: Set up Python ${{ matrix.pyver }} on ${{ matrix.os }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: ${{ matrix.pyver }}
- name: Configure and setup test environment
run: |
sudo apt update
sudo chmod 0644 /boot/vmlinuz-* && sudo apt install libguestfs-tools
./configure --clean && ./configure --dev-system-provided
- name: Run tests
run: |
make test
test_on_macos_intel:
permissions:
contents: read # to fetch code (actions/checkout)
name: Test PyPI wheels on linux
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
strategy:
fail-fast: true
matrix:
os: [macos-15-intel]
pyver: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
persist-credentials: false
- name: Set up Python ${{ matrix.pyver }} on ${{ matrix.os }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: ${{ matrix.pyver }}
- name: Configure and setup test environment
run: |
./configure --clean && ./configure --dev
- name: Run tests
run: |
make test