File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 9
9
- cron : ' 5 0 * * *' # Runs at 00:05 UTC every day.
10
10
11
11
jobs :
12
- build :
12
+ ubuntu-latest :
13
13
runs-on : ubuntu-latest
14
14
15
15
steps :
28
28
export PYTHONPATH="$PWD"
29
29
export CHARM4PY_TEST_NUM_PROCESSES=2
30
30
python3 auto_test.py
31
+
32
+ macos-latest :
33
+ runs-on : macos-latest
34
+
35
+ steps :
36
+ - uses : actions/checkout@v3
37
+ - name : build-charm4py
38
+ run : |
39
+ git fetch --unshallow # Need full repo for 'git describe' used by setup.py
40
+ pip3 install setuptools cython cffi greenlet numpy torch torchvision
41
+ git clone https://github.com/UIUC-PPL/charm charm_src/charm
42
+ export CHARM_EXTRA_BUILD_OPTS="--enable-error-checking"
43
+ export CHARM_BUILD_PROCESSES=2
44
+ export CHARM4PY_BUILD_CFFI=1
45
+ python3 setup.py build_ext --inplace
46
+ - name : test-charm4py
47
+ run : |
48
+ export PYTHONPATH="$PWD"
49
+ export CHARM4PY_TEST_NUM_PROCESSES=2
50
+ python3 auto_test.py
You can’t perform that action at this time.
0 commit comments