@@ -41,17 +41,13 @@ jobs:
41
41
- " pypy-3.8"
42
42
os :
43
43
- ubuntu-latest
44
- include :
45
- - python_version : pyjion
46
- os : ubuntu-20.04
47
44
48
45
steps :
49
46
- uses : actions/checkout@master
50
47
with :
51
48
fetch-depth : 1
52
49
53
50
- name : Use Python ${{ matrix.python_version }}
54
- if : ${{ matrix.python_version != 'pyjion' }}
55
51
uses : actions/setup-python@v5
56
52
with :
57
53
python-version : ${{ matrix.python_version }}
61
57
sudo DEBIAN_FRONTEND=noninteractive apt-get update
62
58
sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq gcc libvirt-dev
63
59
64
- - name : Use Python 3.10 (pyjion)
65
- if : ${{ matrix.python_version == 'pyjion' }}
66
- uses : actions/setup-python@v5
67
- with :
68
- python-version : " 3.10"
69
-
70
- # From https://github.com/tonybaloney/Pyjion/blob/develop/main/.github/workflows/benchmark.yml#L26 (MIT)
71
- - name : Install OS / deb dependencies
72
- if : ${{ matrix.python_version == 'pyjion' }}
73
- run : |
74
- sudo DEBIAN_FRONTEND=noninteractive apt-get update
75
- sudo DEBIAN_FRONTEND=noninteractive apt-get install -yq cmake llvm-9 clang-9 autoconf automake \
76
- libtool build-essential python curl git lldb-6.0 liblldb-6.0-dev \
77
- libunwind8 libunwind8-dev gettext libicu-dev liblttng-ust-dev \
78
- libssl-dev libnuma-dev libkrb5-dev zlib1g-dev
79
-
80
- - name : Setup Dotnet 6
81
- if : ${{ matrix.python_version == 'pyjion' }}
82
-
83
- with :
84
- dotnet-version : " 6.0.100"
85
-
86
60
- name : Cache Python Dependencies
87
61
uses : actions/cache@v4
88
62
with :
91
65
restore-keys : |
92
66
${{ runner.os }}-pip-
93
67
94
- - name : Install Pyjion
95
- if : ${{ matrix.python_version == 'pyjion' }}
96
- run : |
97
- pip install pyjion
98
-
99
68
- name : Install Python Dependencies
100
69
run : |
101
70
pip install -r requirements-ci.txt
106
75
107
76
- name : Run dist install checks tox target
108
77
# NOTE: 3.12 will be failing until we migrate away from setup.py
109
- if : ${{ matrix.python_version != 'pypy-3.7' && matrix.python_version != 'pypy-3.8' && matrix.python_version != 'pyjion' && matrix.python_version != ' 3.12-dev' }}
78
+ if : ${{ matrix.python_version != 'pypy-3.7' && matrix.python_version != 'pypy-3.8' && matrix.python_version != '3.12-dev' }}
110
79
run : |
111
80
tox -e py${{ matrix.python_version }}-dist,py${{ matrix.python_version }}-dist-wheel
112
81
0 commit comments