File tree 13 files changed +25
-30
lines changed
13 files changed +25
-30
lines changed Original file line number Diff line number Diff line change 1
- summary:
2
- Documentation examples
1
+ summary: Documentation examples
3
2
discover+:
4
3
how: fmf
5
4
filter: "tag: examples"
Original file line number Diff line number Diff line change 1
- summary:
2
- Basic smoke tests
1
+ /:
2
+ inherit: false
3
+
4
+ summary: Basic smoke tests
3
5
discover:
4
6
how: fmf
5
7
filter: "tag: smoke"
Original file line number Diff line number Diff line change 5
5
6
6
# Define tests
7
7
/version:
8
+ summary: Read version
8
9
test: python3 -c "import scikit_build_core; print(scikit_build_core.__version__)"
Original file line number Diff line number Diff line change 1
- summary:
2
- Nanobind downstream example
1
+ summary: Nanobind downstream example
3
2
adjust:
4
3
enabled: false
5
4
because: Nanobind is not yet packaged on Fedora
6
5
#require+:
7
- # - python3- nanobind
6
+ # - python3dist( nanobind)
Original file line number Diff line number Diff line change 1
- summary:
2
- Pybind downstream example
1
+ summary: Pybind downstream example
3
2
require+:
4
3
- gcc-c++
5
- - pybind11-devel
4
+ - python3dist( pybind11)
Original file line number Diff line number Diff line change 1
- summary:
2
- Abi3 example project
1
+ summary: Abi3 example project
Original file line number Diff line number Diff line change 1
- summary:
2
- C example project
1
+ summary: C example project
Original file line number Diff line number Diff line change 1
- summary:
2
- Cython example project
1
+ summary: Cython example project
3
2
require+:
4
- - python3- cython
3
+ - python3dist( cython)
Original file line number Diff line number Diff line change 1
- summary:
2
- F2PY example project
1
+ summary: F2PY example project
3
2
require+:
4
3
- gcc-gfortran
5
- - python3- numpy
4
+ - python3dist( numpy)
6
5
- python3-numpy-f2py
Original file line number Diff line number Diff line change 1
- summary:
2
- Nanobind example project
1
+ summary: Nanobind example project
3
2
adjust:
4
3
enabled: false
5
4
because: Nanobind is not yet packaged on Fedora
6
5
#require+:
7
- # - python3- nanobind
6
+ # - python3dist( nanobind)
Original file line number Diff line number Diff line change 1
- summary:
2
- Pybind example project
1
+ summary: Pybind example project
3
2
require+:
4
3
- gcc-c++
5
- - pybind11-devel
4
+ - python3dist( pybind11)
Original file line number Diff line number Diff line change 1
- summary:
2
- Swig example project
1
+ summary: Swig example project
3
2
require+:
4
3
- swig
Original file line number Diff line number Diff line change @@ -12,13 +12,15 @@ rlJournalStart
12
12
fi
13
13
rlRun " pushd $tmp "
14
14
rlRun " tree" 0 " Show directory tree"
15
+ rlRun " python3 -m venv .venv --system-site-packages" 0 " Create venv with system packages"
16
+ rlRun " source .venv/bin/activate" 0 " Activate venv"
15
17
rlRun " set -o pipefail"
16
18
rlPhaseEnd
17
19
18
20
rlPhaseStartTest
19
- rlRun " pip install --user . -- config-settings=cmake .verbose=true --no-index --no-build-isolation" 0 " Build the python project"
21
+ rlRun " pip install . -v -- config-settings=build .verbose=true --no-index --no-build-isolation" 0 " Build the python project"
20
22
if [ " ${HAS_PYTEST} " == True ]; then
21
- rlRun " pytest" 0 " Run built-in pytest"
23
+ rlRun " python3 -m pytest" 0 " Run built-in pytest"
22
24
else
23
25
rlRun " python3 test.py" 0 " Test project is installed correctly"
24
26
fi
You can’t perform that action at this time.
0 commit comments