Skip to content

Commit 1729d6b

Browse files
committed
Stubs: Use UV, Enable EB
1 parent c7c25aa commit 1729d6b

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/stubs.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
with:
4242
python-version: '3.10'
4343

44+
- name: Install uv
45+
uses: astral-sh/setup-uv@v6
46+
with:
47+
activate-environment: true
48+
4449
- name: Dependencies
4550
run: |
4651
.github/workflows/dependencies/dependencies_gcc10.sh
@@ -61,9 +66,9 @@ jobs:
6166
export CCACHE_MAXSIZE=200M
6267
ccache -z
6368
64-
python3 -m pip install -U pip setuptools[core] wheel
65-
python3 -m pip install -U pip mpi4py pytest pybind11-stubgen pre-commit
66-
cmake -S . -B build -DAMReX_SPACEDIM="1;2;3" -DpyAMReX_IPO=OFF
69+
uv pip install -U setuptools[core] wheel
70+
uv pip install -U mpi4py pytest pybind11-stubgen pre-commit
71+
cmake -S . -B build -DAMReX_SPACEDIM="1;2;3" -DAMReX_EB=ON -DpyAMReX_IPO=OFF -DPY_PIP_COMMAND="uv;pip"
6772
cmake --build build -j 4 --target pip_install
6873
6974
ccache -s

0 commit comments

Comments
 (0)