File tree Expand file tree Collapse file tree 15 files changed +86
-31
lines changed
Expand file tree Collapse file tree 15 files changed +86
-31
lines changed Original file line number Diff line number Diff line change 11build_and_store_wheels : &BUILD_AND_STORE_WHEELS
22 install_cibuildwheel_script :
3- - python -m pip install cibuildwheel==2.17.0
3+ - python -m pip install cibuildwheel==2.19.2
44 run_cibuildwheel_script :
55 - cibuildwheel
66 wheels_artifacts :
@@ -16,17 +16,23 @@ linux_aarch64_task:
1616 cpu : 4
1717 memory : 4G
1818 env :
19- CIBW_ARCHS_LINUX : aarch64
19+ VENV_ROOT : ${HOME}/venv-cibuildwheel
20+ PATH : ${VENV_ROOT}/bin:${PATH}
2021 install_pre_requirements_script :
21- - apt install -y python3-venv python-is-python3
22+ - add-apt-repository -y ppa:deadsnakes/ppa
23+ - apt-get update
24+ - apt-get install -y python3.12-venv
25+ - python3.12 -m venv ${VENV_ROOT}
2226 << : *BUILD_AND_STORE_WHEELS
2327
2428macos_arm64_task :
2529 name : Build macOS arm64 wheels.
2630 macos_instance :
2731 image : ghcr.io/cirruslabs/macos-sonoma-xcode
2832 env :
29- PATH : /opt/homebrew/opt/python@3.10/libexec/bin:$PATH
33+ VENV_ROOT : ${HOME}/venv-cibuildwheel
34+ PATH : ${VENV_ROOT}/bin:${PATH}
3035 install_pre_requirements_script :
31- - brew install python@3.10
36+ - brew install python@3.12
37+ - python3.12 -m venv ${VENV_ROOT}
3238 << : *BUILD_AND_STORE_WHEELS
Original file line number Diff line number Diff line change 11name : Build wheels
22
3- on : [push, pull_request]
3+ on :
4+ push :
5+ pull_request :
6+ schedule :
7+ - cron : ' 0 12 * * 0'
48
59jobs :
610 build_wheels_linux_x86_64 :
2024 name : dist_linux
2125 path : ./wheelhouse/*.whl
2226
23- build_wheels_macos_x86_64 :
27+ build_wheels_macos12_x86_64 :
2428 name : Build x86_64 wheels on macos-12
2529 runs-on : macos-12
2630
3438
3539 - uses : actions/upload-artifact@v4
3640 with :
37- name : dist_macos
41+ name : dist_macos12_x86_64
42+ path : ./wheelhouse/*.whl
43+
44+ build_wheels_macos14_arm64 :
45+ name : Build arm64 wheels on macos-14
46+ runs-on : macos-14
47+
48+ steps :
49+ - uses : actions/checkout@v4
50+
51+ - name : Build wheels
52+ uses : pypa/cibuildwheel@v2.19.2
53+ env :
54+ CIBW_ARCHS_MACOS : arm64
55+
56+ - uses : actions/upload-artifact@v4
57+ with :
58+ name : dist_macos14_arm64
3859 path : ./wheelhouse/*.whl
3960
4061 build_sdist :
Original file line number Diff line number Diff line change 11name : Testing build on ubuntu-latest
22
3- on : [push, pull_request]
3+ on :
4+ push :
5+ pull_request :
6+ schedule :
7+ - cron : ' 0 12 * * 0'
48
59env :
610 SKBUILD_BUILD_OPTIONS : --verbose
3236 uses : actions/cache/restore@v4
3337 with :
3438 path : CASMcode_global/dist
35- key : ${{ runner.os }}-libcasm-global-v2-0-4
39+ key : ${{ runner.os }}-libcasm-global-v2-0-5
3640
3741 - name : Install CASM dependencies
3842 run : |
Original file line number Diff line number Diff line change 11name : Testing c++ only on ubuntu-latest
22
3- on : [push, pull_request]
3+ on :
4+ push :
5+ pull_request :
6+ schedule :
7+ - cron : ' 0 12 * * 0'
48
59env :
610 SKBUILD_BUILD_OPTIONS : --verbose
3236 uses : actions/cache/restore@v4
3337 with :
3438 path : CASMcode_global/dist
35- key : ${{ runner.os }}-libcasm-global-v2-0-4
39+ key : ${{ runner.os }}-libcasm-global-v2-0-5
3640
3741 - name : Install CASM dependencies
3842 run : |
Original file line number Diff line number Diff line change @@ -24,15 +24,15 @@ jobs:
2424 uses : actions/cache/restore@v4
2525 with :
2626 path : CASMcode_global/dist
27- key : ${{ runner.os }}-libcasm-global-v2-0-4
27+ key : ${{ runner.os }}-libcasm-global-v2-0-5
2828
2929 - name : checkout libcasm-global
3030 if : steps.cache-libcasm-global-restore.outputs.cache-hit != 'true'
3131 uses : actions/checkout@v4
3232 with :
3333 repository : prisms-center/CASMcode_global
3434 path : CASMcode_global
35- ref : v2.0.4
35+ ref : v2.0.5
3636
3737 - name : make global
3838 if : steps.cache-libcasm-global-restore.outputs.cache-hit != 'true'
Original file line number Diff line number Diff line change 11name : Testing on ubuntu-latest
22
3- on : [push, pull_request]
3+ on :
4+ push :
5+ pull_request :
6+ schedule :
7+ - cron : ' 0 12 * * 0'
48
59env :
610 SKBUILD_BUILD_OPTIONS : --verbose
3236 uses : actions/cache/restore@v4
3337 with :
3438 path : CASMcode_global/dist
35- key : ${{ runner.os }}-libcasm-global-v2-0-4
39+ key : ${{ runner.os }}-libcasm-global-v2-0-5
3640
3741 - name : Install CASM dependencies
3842 run : |
Original file line number Diff line number Diff line change 11name : Testing build on macos-latest
22
3- on : [push, pull_request]
3+ on :
4+ push :
5+ pull_request :
6+ schedule :
7+ - cron : ' 0 12 * * 0'
48
59jobs :
610 build :
Original file line number Diff line number Diff line change 11name : Testing on macos-latest
22
3- on : [push, pull_request]
3+ on :
4+ push :
5+ pull_request :
6+ schedule :
7+ - cron : ' 0 12 * * 0'
48
59jobs :
610 build :
Original file line number Diff line number Diff line change @@ -5,6 +5,14 @@ All notable changes to `libcasm-composition` will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+
9+ ## [ 2.0a3] - 2024-07-12
10+
11+ ### Changed
12+
13+ - Wheels compiled with numpy>=2.0.0
14+
15+
816## [ 2.0a2] - 2024-03-13
917
1018### Added
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ scikit-build
44cmake>=3.20
55ninja
66pybind11>=2.6
7- libcasm-global>=2.0.4
7+ libcasm-global>=2.0.5
You can’t perform that action at this time.
0 commit comments