File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ freebsd_test_task:
30
30
cpu : 1
31
31
memory : 4G
32
32
33
+ install_devtools_script : |
34
+ pkg install -y git bash ninja ccache
35
+
33
36
<< : *MODIFIED_CLONE
34
37
35
38
ccache_cache :
@@ -43,14 +46,25 @@ freebsd_test_task:
43
46
# gcc g++ gfortran pkg-config ccache python3.10 python3.10-venv
44
47
cc --version
45
48
c++ --version
46
- pkg install lang/gfortran
49
+ python --version
47
50
51
+ # Create a venv (the `source` command needs bash, not the default sh shell)
52
+ chsh -s /usr/local/bin/bash
53
+ python -m venv .venv
54
+ source .venv/bin/activate
48
55
# Minimal build and test requirements
49
- pip install meson-python Cython spin pytest hypothesis
56
+ python -m pip install -U pip
57
+ python -m pip install meson-python Cython pytest hypothesis
50
58
51
59
build_script : |
52
- pip install . --no-build-isolation -v -Csetup-args="-Dallow-noblas=true"
60
+ chsh -s /usr/local/bin/bash
61
+ source .venv/bin/activate
62
+ python -m pip install . --no-build-isolation -v -Csetup-args="-Dallow-noblas=true"
63
+ #spin build -- -Dallow-noblas=true
53
64
54
65
test_script : |
55
- spin test
66
+ chsh -s /usr/local/bin/bash
67
+ source .venv/bin/activate
68
+ cd tools
69
+ python -m pytest --pyargs numpy -m "not slow"
56
70
ccache -s
You can’t perform that action at this time.
0 commit comments