8
8
matrix :
9
9
build_type : [Release, Debug]
10
10
config :
11
- - cc : gcc-9
12
- cxx : g++-9
13
- os : ubuntu-20.04
14
- python2_ver : ' 2.7'
15
- python3_ver : ' 3.8'
16
-
17
11
- cc : gcc-10
18
12
cxx : g++-10
19
- os : ubuntu-20.04
20
- python2_ver : ' 2.7'
21
- python3_ver : ' 3.8'
13
+ os : ubuntu-22.04
14
+ python3_ver : ' 3.10'
22
15
23
16
- cc : gcc-11
24
17
cxx : g++-11
@@ -30,23 +23,20 @@ jobs:
30
23
os : ubuntu-22.04
31
24
python3_ver : ' 3.10'
32
25
33
- - cc : clang-10
34
- cxx : clang++-10
35
- os : ubuntu-20.04
36
- python2_ver : ' 2.7'
37
- python3_ver : ' 3.8'
26
+ - cc : gcc-12
27
+ cxx : g++-12
28
+ os : ubuntu-24.04
29
+ python3_ver : ' 3.12'
38
30
39
- - cc : clang-11
40
- cxx : clang++-11
41
- os : ubuntu-20.04
42
- python2_ver : ' 2.7'
43
- python3_ver : ' 3.8'
31
+ - cc : gcc-13
32
+ cxx : g++-13
33
+ os : ubuntu-24.04
34
+ python3_ver : ' 3.12'
44
35
45
- - cc : clang-12
46
- cxx : clang++-12
47
- os : ubuntu-20.04
48
- python2_ver : ' 2.7'
49
- python3_ver : ' 3.8'
36
+ - cc : gcc-14
37
+ cxx : g++-14
38
+ os : ubuntu-24.04
39
+ python3_ver : ' 3.12'
50
40
51
41
- cc : clang-13
52
42
cxx : clang++-13
57
47
cxx : clang++-14
58
48
os : ubuntu-22.04
59
49
python3_ver : ' 3.10'
50
+
51
+ - cc : clang-15
52
+ cxx : clang++-15
53
+ os : ubuntu-22.04
54
+ python3_ver : ' 3.10'
55
+
56
+ - cc : clang-16
57
+ cxx : clang++-16
58
+ os : ubuntu-24.04
59
+ python3_ver : ' 3.12'
60
+
61
+ - cc : clang-17
62
+ cxx : clang++-17
63
+ os : ubuntu-24.04
64
+ python3_ver : ' 3.12'
65
+
66
+ - cc : clang-18
67
+ cxx : clang++-18
68
+ os : ubuntu-24.04
69
+ python3_ver : ' 3.12'
60
70
runs-on : ${{matrix.config.os}}
61
71
env :
62
72
CC : ${{matrix.config.cc}}
@@ -67,11 +77,10 @@ jobs:
67
77
- name : Install dependencies
68
78
run : |
69
79
sudo apt update --fix-missing
70
- sudo apt install -y libpython2-dev libpython3-dev python3-numpy doxygen luajit lua-ldoc
80
+ sudo apt install -y libpython3-dev python3-numpy doxygen luajit lua-ldoc
71
81
72
82
# Note: we need the grep because apt-cache will return 0 even when no packages are found
73
83
if sudo apt-cache search python-numpy | grep 'numpy -'; then sudo apt install -y python-numpy; fi
74
- if sudo apt-cache search python2-numpy | grep 'numpy -'; then sudo apt install -y python2-numpy; fi
75
84
76
85
# LuaRocks stopped installing properly through apt, so just copy the file from its repo
77
86
git clone https://github.com/bluebird75/luaunit -b LUAUNIT_V3_4
@@ -97,15 +106,6 @@ jobs:
97
106
SoapySDRUtil --info
98
107
SoapySDRUtil --check=null
99
108
SoapySDRUtil --make="driver=null"
100
- - name : Test Python2 bindings
101
- if : ${{matrix.config.python2_ver}}
102
- run : |
103
- export PYTHONPATH=${INSTALL_PREFIX}/$(python${{matrix.config.python2_ver}} ${{github.workspace}}/swig/python/get_python_lib.py ${INSTALL_PREFIX})
104
- python${{matrix.config.python2_ver}} -c "import SoapySDR; print(SoapySDR.getAPIVersion())"
105
- python${{matrix.config.python2_ver}} -c "from SoapySDR import *; print(SOAPY_SDR_ABI_VERSION)"
106
- python${{matrix.config.python2_ver}} -c "from SoapySDR import *; print(SOAPY_SDR_TIMEOUT)"
107
- python${{matrix.config.python2_ver}} -c "import SoapySDR; print(SoapySDR.errToStr(SoapySDR.SOAPY_SDR_TIMEOUT))"
108
- python${{matrix.config.python2_ver}} -c "import SoapySDR; print(SoapySDR.Device.make('driver=null'))"
109
109
- name : Test Python3 bindings
110
110
run : |
111
111
export PYTHONPATH=${INSTALL_PREFIX}/$(python${{matrix.config.python3_ver}} ${{github.workspace}}/swig/python/get_python_lib.py ${INSTALL_PREFIX})
0 commit comments