8000 WIP: CI: tweak FreeBSD job · numpy/numpy@f29a810 · GitHub
[go: up one dir, main page]

Skip to content

Commit f29a810

Browse files
committed
WIP: CI: tweak FreeBSD job
[skip actions] [skip azp] [skip circle]
1 parent f5cce4d commit f29a810

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

tools/ci/cirrus_arm.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ freebsd_test_task:
3030
cpu: 1
3131
memory: 4G
3232

33+
install_devtools_script: |
34+
pkg install -y git bash ninja ccache
35+
3336
<<: *MODIFIED_CLONE
3437

3538
ccache_cache:
@@ -43,14 +46,25 @@ freebsd_test_task:
4346
# gcc g++ gfortran pkg-config ccache python3.10 python3.10-venv
4447
cc --version
4548
c++ --version
46-
pkg install lang/gfortran
49+
python --version
4750
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
4855
# 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
5058
5159
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
5364
5465
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"
5670
ccache -s

0 commit comments

Comments
 (0)
0