File tree Expand file tree Collapse file tree 1 file changed +30
-4
lines changed Expand file tree Collapse file tree 1 file changed +30
-4
lines changed Original file line number Diff line number Diff line change 30
30
python3 auto_test.py
31
31
32
32
macos :
33
- runs-on : ${{ matrix.os }}
34
- strategy :
35
- matrix :
36
- os : [macos-14, macos-12]
33
+ runs-on : macos-14
37
34
38
35
steps :
39
36
- uses : actions/checkout@v3
59
56
export PYTHONPATH="$PWD"
60
57
export CHARM4PY_TEST_NUM_PROCESSES=2
61
58
python3 auto_test.py
59
+
60
+ macos-x86 :
61
+ runs-on : macos-12
62
+
63
+ steps :
64
+ - uses : actions/checkout@v3
65
+ - name : setup-python
66
+ uses : actions/setup-python@v5
67
+ with :
68
+ python-version : ' 3.x'
69
+ - name : Install dependencies
70
+ run : |
71
+ python3 -m pip install --upgrade pip
72
+ pip3 install setuptools cython cffi greenlet numpy=1.26.4 torch torchvision
73
+ - name : build-charm4py
74
+ run : |
75
+ git fetch --unshallow # Need full repo for 'git describe' used by setup.py
76
+ git clone https://github.com/UIUC-PPL/charm charm_src/charm
77
+ export CHARM_EXTRA_BUILD_OPTS="--enable-error-checking"
78
+ export CHARM_BUILD_PROCESSES=2
79
+ export CHARM4PY_BUILD_CFFI=1
80
+ python3 setup.py build_ext --inplace
81
+ - name : test-charm4py
82
+ run : |
83
+ export PYTHONPATH="$PWD"
84
+ export CHARM4PY_TEST_NUM_PROCESSES=2
85
+ python3 auto_test.py
86
+
87
+
You can’t perform that action at this time.
0 commit comments