File tree Expand file tree Collapse file tree 2 files changed +19
-13
lines changed Expand file tree Collapse file tree 2 files changed +19
-13
lines changed Original file line number Diff line number Diff line change 40
40
arch : " x64"
41
41
env : true
42
42
43
- - if : matrix.os == 'ubuntu-24.04'
44
- name : Install dependencies
45
- run : sudo apt-get install libtinfo5
43
+ - if : startsWith(matrix.os, 'ubuntu')
44
+ name : Install Python dependencies
45
+ run : sudo apt-get install -y build-essential libssl-dev zlib1g-dev libbz2-dev \
46
+ libreadline-dev libsqlite3-dev wget curl llvm \
47
+ libncurses5-dev libncursesw5-dev xz-utils tk-dev \
48
+ libffi-dev liblzma-dev python3-openssl git
46
49
47
50
- if : matrix.os == 'ubuntu-20.04' || matrix.os == 'ubuntu-22.04' || matrix.os == 'ubuntu-24.04'
48
51
name : Set CXXFLAGS
57
60
- name : Install Poetry
58
61
run : pip install poetry==1.8.3
59
62
60
- - name : Install Python dependencies
61
- run : poetry install --no-cache --sync
63
+ - name : Install project dependencies
64
+ run : poetry install --no-cache --sync --no-root
62
65
63
66
- name : Build distribution package
64
67
run : poetry build --format wheel
Original file line number Diff line number Diff line change 14
14
class Builder :
15
15
"""Class responsible for building epseon_backend binaries."""
16
16
17
- DEPS : tuple [tuple [str , str ], ...] = (
18
- ("googletest" , "release-1.12.1" ),
19
- ("spdlog" , "v1.12.0" ),
20
- ("pybind11" , "v2.11.1" ),
21
- ("fmt" , "10.1.1" ),
22
- ("vma_hpp" , "v3.0.1-3" ),
23
- )
24
-
25
17
def __init__ (self ) -> None :
26
18
"""Initialize builder object."""
27
19
self .repo_path = Path (__file__ ).parent
20
+ subprocess .check_call (
21
+ executable = sys .executable ,
22
+ args = [
23
+ sys .executable ,
24
+ "-m" ,
25
+ "pip" ,
26
+ "list" ,
27
+ ],
28
+ env = os .environ ,
29
+ cwd = self .repo_path .as_posix (),
30
+ )
28
31
29
32
def build (self ) -> None :
30
33
"""Build extension module."""
You can’t perform that action at this time.
0 commit comments