File tree Expand file tree Collapse file tree 5 files changed +36
-9
lines changed
ubuntu-24.04/conan/profiles
windows-2022/conan/profiles Expand file tree Collapse file tree 5 files changed +36
-9
lines changed Original file line number Diff line number Diff line change
1
+ [settings]
2
+ arch=x86_64
3
+ build_type=Release
4
+ compiler=apple-clang
5
+ compiler.version=14
6
+ compiler.cppstd=17
7
+ compiler.libcxx=libc++
8
+ os=Macos
Original file line number Diff line number Diff line change
1
+ [settings]
2
+ arch=x86_64
3
+ build_type=Release
4
+ compiler=clang
5
+ compiler.version=16
6
+ compiler.cppstd=17
7
+ compiler.libcxx=libstdc++11
8
+ os=Linux
9
+
10
+ [conf]
11
+ tools.build:compiler_executables={'c': 'clang-16', 'cpp': 'clang++-16'}
Original file line number Diff line number Diff line change
1
+ [settings]
2
+ arch=x86_64
3
+ build_type=Release
4
+ compiler=msvc
5
+ compiler.version=193
6
+ compiler.cppstd=17
7
+ compiler.runtime=dynamic
8
+ os=Windows
Original file line number Diff line number Diff line change @@ -11,18 +11,18 @@ jobs:
11
11
strategy :
12
12
fail-fast : false
13
13
matrix :
14
- platform : [windows-latest, macos-13, ubuntu-latest ]
14
+ os : [ubuntu-24.04, windows-2022, macos-14 ]
15
15
python-version : ["3.7", "3.11"]
16
- runs-on : ${{ matrix.platform }}
16
+ runs-on : ${{ matrix.os }}
17
17
steps :
18
18
- uses : actions/checkout@v4
19
19
- uses : actions/setup-python@v5
20
20
with :
21
21
python-version : ${{ matrix.python-version }}
22
22
- name : Add requirements
23
23
run : python -m pip install --upgrade pip wheel setuptools conan
24
- - name : Conan detect profile
25
- run : conan profile detect
24
+ - name : Install conan config
25
+ run : conan config install .github/config/${{ matrix.os }}/conan
26
26
- name : Build and install
27
27
run : pip install --verbose .[test]
28
28
# TODO
Original file line number Diff line number Diff line change 12
12
jobs :
13
13
build_sdist :
14
14
name : Build SDist
15
- runs-on : ubuntu-latest
15
+ runs-on : ubuntu-24.04
16
16
steps :
17
17
- uses : actions/checkout@v4
18
18
- name : Build SDist
@@ -30,16 +30,16 @@ jobs:
30
30
strategy :
31
31
fail-fast : false
32
32
matrix :
33
- os : [ubuntu-latest , windows-latest , macos-13 ]
33
+ os : [ubuntu-24.04 , windows-2022 , macos-14 ]
34
34
steps :
35
35
- uses : actions/checkout@v4
36
36
- uses : actions/setup-python@v5
37
37
with :
38
38
python-version : " 3.x"
39
39
- name : Add requirements
40
40
run : python -m pip install --upgrade pip conan
41
- - name : Conan detect profile
42
- run : conan profile detect
41
+ - name : Install conan config
42
+ run : conan config install .github/config/${{ matrix.os }}/conan
43
43
- uses : pypa/cibuildwheel@v2.17
44
44
env :
45
45
CIBW_ARCHS_MACOS : auto universal2
55
55
upload_all :
56
56
name : Upload if release
57
57
needs : [build_wheels, build_sdist]
58
- runs-on : ubuntu-latest
58
+ runs-on : ubuntu-24.04
59
59
if : github.event_name == 'release' && github.event.action == 'published'
60
60
steps :
61
61
- uses : actions/setup-python@v5
You can’t perform that action at this time.
0 commit comments