-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 1.26 KB
/
dev.yml
File metadata and controls
37 lines (34 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Culverin Remote CI
on:
push:
branches: [ remote-dev ]
pull_request:
branches: [ remote-dev ]
jobs:
macos_release:
name: M-Series C23 Release (Clang 22)
runs-on: macos-14
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- uses: astral-sh/setup-uv@v7
- name: Build Performance Wheels
uses: pypa/cibuildwheel@v4.0.0
env:
CIBW_BUILD: "cp313t-macosx_arm64"
CIBW_ENABLE: "cpython-freethreading"
CIBW_BUILD_FRONTEND: "uv"
MACOSX_DEPLOYMENT_TARGET: "13.0"
CIBW_BEFORE_ALL: brew install llvm@22
CIBW_ENVIRONMENT: >
CC="$(brew --prefix llvm@22)/bin/clang"
CXX="$(brew --prefix llvm@22)/bin/clang++"
LDFLAGS="-L$(brew --prefix llvm@22)/lib -Wl,-rpath,$(brew --prefix llvm@22)/lib"
CPPFLAGS="-I$(brew --prefix llvm@22)/include"
CMAKE_ARGS="-DCMAKE_C_STANDARD=23 -DCMAKE_C_STANDARD_REQUIRED=ON -DCMAKE_BUILD_TYPE=Release -DJPH_USE_MTL=OFF"
CIBW_TEST_REQUIRES: numpy psutil pytest
CIBW_TEST_COMMAND: >
python {project}/tests/benchmark.py --all &&
python {project}/tests/test_core.py &&
python {project}/tests/test_perf.py