88
99 # ############################################################################################
1010 # HOOMD-blue version to build.
11- HOOMD_BLUE_VERSION : v5.3.1
11+ HOOMD_BLUE_VERSION : v5.4.0
1212 # prevent deadlocked MPI tests from causing the job to cancel
1313 MPIEXEC_TIMEOUT : 3000
1414 # allow mpirun to execute as root in the tests
2121 OMPI_MCA_btl : " vader,self"
2222
2323concurrency :
24- group : ${{ github.workflow }}-${{ github.ref }}
24+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
2525 cancel-in-progress : true
2626
2727on :
4040 name : Build and test [${{ matrix.name }}]
4141 runs-on : ubuntu-24.04
4242 container :
43- image : nvidia/cuda:12.5.0 -devel-ubuntu22.04
43+ image : nvidia/cuda:12.9.1 -devel-ubuntu22.04
4444 strategy :
4545 fail-fast : false
4646 matrix :
5959 enable_mpi : " ON"
6060
6161 steps :
62+ - name : Checkout component
63+ uses : actions/checkout@v5
64+ with :
65+ path : component
6266 - name : Restore cached HOOMD-blue build
6367 id : cache
6468 uses : actions/cache/restore@v4
@@ -77,19 +81,15 @@ jobs:
7781 submodules : true
7882 ref : ${{ env.HOOMD_BLUE_VERSION }}
7983 - name : Create Python Environment
80- uses : mamba-org /setup-micromamba@v2
84+ uses :
prefix-dev /setup-[email protected] 8185 with :
82- environment-name : test
83- environment-file : hoomd-blue/.github/workflows/environments/py312-conda-lock.yml
84- micromamba-root-path : ${{ github.workspace }}/micromamba
85-
86+ pixi-version : v0.54.1
87+ cache : false
88+ activate-environment : true
89+ manifest-path : component/pixi.toml
8690 - name : Configure conda environment variables
8791 run : |
8892 echo "PYTHONPATH=$GITHUB_WORKSPACE/install" >> $GITHUB_ENV
89- echo "CONDA_PREFIX=$MAMBA_ROOT_PREFIX/envs/test" >> $GITHUB_ENV
90- echo "CMAKE_PREFIX_PATH=$MAMBA_ROOT_PREFIX/envs/test" >> $GITHUB_ENV
91- echo "$MAMBA_ROOT_PREFIX/envs/test/bin" >> $GITHUB_PATH
92-
9393 - name : Configure HOOMD-blue
9494 if : steps.cache.outputs.cache-hit != 'true'
9595 run : |
@@ -116,17 +116,11 @@ jobs:
116116 with :
117117 path : install
118118 key : hoomd-blue-${{ env.HOOMD_BLUE_VERSION }}-mpi-${{ matrix.enable_mpi }}-gpu-${{ matrix.enable_gpu }}
119-
120- - name : Checkout component
121- uses : actions/checkout@v5
122- with :
123- path : component
124119 - name : Configure component
125120 run : CMAKE_PREFIX_PATH=${GITHUB_WORKSPACE}/install cmake -S component -B build-component -GNinja -DCMAKE_BUILD_TYPE=Release
126121 - name : Build component
127122 run : ninja install -j $(($(getconf _NPROCESSORS_ONLN) + 2))
128123 working-directory : build-component
129-
130124 - name : Run pytest (serial)
131125 run : python3 -m pytest --pyargs hoomd.${COMPONENT_NAME} -x -v -ra --durations=0 --durations-min=0.1
132126 - name : Run pytest (MPI)
0 commit comments