diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 52fb14a6..ce237ab7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -73,7 +73,8 @@ pixi-test: - pixi info # - rm -rf ../transonic # - hg clone https://foss.heptapod.net/fluiddyn/transonic ../transonic - - pixi run install-editable + - pixi run install-dependencies + - pixi run pip install -e . -v --no-build-isolation --no-deps -C compile-args=-j4 - pixi run pytest -v lib - pixi run fluidsim-test -v # currently broken because of fluidfft conda issues diff --git a/noxfile.py b/noxfile.py index fb97a6f9..e9bd69e5 100644 --- a/noxfile.py +++ b/noxfile.py @@ -53,7 +53,11 @@ def test_with_fft_and_pythran(session): _install_fluidfft(session) command = "pdm sync --clean -G dev -G test -G fft -G mpi --no-self" session.run_always(*command.split(), external=True) - session.install(".", "-v", "--no-deps", "-C", "setup-args=-Dnative=true") + + command = ". -v --no-deps -C setup-args=-Dnative=true" + if "GITLAB_CI" in os.environ: + command += " -C compile-args=-j4" + session.install(*command.split()) _test(session) @@ -63,9 +67,7 @@ def doc(session): _install_fluidfft(session) command = "pdm sync -G doc -G fft -G test --no-self" session.run_always(*command.split(), external=True) - session.install( - ".", "--config-settings=setup-args=-Dtransonic-backend=python", "--no-deps" - ) + session.install(".", "-C", "setup-args=-Dtransonic-backend=python", "--no-deps") session.chdir("doc") session.run("make", "cleanall", external=True)