File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change 29
29
export CHARM4PY_TEST_NUM_PROCESSES=2
30
30
python3 auto_test.py
31
31
32
- macos-latest :
33
- runs-on : macos-latest
32
+ macos-arm :
33
+ runs-on : macos-14
34
34
35
35
steps :
36
36
- uses : actions/checkout@v3
48
48
export PYTHONPATH="$PWD"
49
49
export CHARM4PY_TEST_NUM_PROCESSES=2
50
50
python3 auto_test.py
51
+
52
+ macos-arm :
53
+ runs-on : macos-12
54
+
55
+ steps :
56
+ - uses : actions/checkout@v3
57
+ - name : build-charm4py
58
+ run : |
59
+ git fetch --unshallow # Need full repo for 'git describe' used by setup.py
60
+ pip3 install setuptools cython cffi greenlet numpy torch torchvision
61
+ git clone https://github.com/UIUC-PPL/charm charm_src/charm
62
+ export CHARM_EXTRA_BUILD_OPTS="--enable-error-checking"
63
+ export CHARM_BUILD_PROCESSES=2
64
+ export CHARM4PY_BUILD_CFFI=1
65
+ python3 setup.py build_ext --inplace
66
+ - name : test-charm4py
67
+ run : |
68
+ export PYTHONPATH="$PWD"
69
+ export CHARM4PY_TEST_NUM_PROCESSES=2
70
+ python3 auto_test.py
71
+
You can’t perform that action at this time.
0 commit comments