re-enable matrix tests
This commit is contained in:
37
.github/workflows/kokkos-regression.yaml
vendored
37
.github/workflows/kokkos-regression.yaml
vendored
@ -1,5 +1,5 @@
|
|||||||
# GitHub action to build LAMMPS on Linux and run selected regression tests
|
# GitHub action to build LAMMPS on Linux and run selected regression tests
|
||||||
name: "Kokkos Regression Test"
|
name: "Kokkos OpenMP Regression Test"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
@ -16,6 +16,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
CCACHE_DIR: ${{ github.workspace }}/.ccache
|
CCACHE_DIR: ${{ github.workspace }}/.ccache
|
||||||
|
strategy:
|
||||||
|
max-parallel: 4
|
||||||
|
matrix:
|
||||||
|
idx: [ 'pair', 'fix', 'compute', 'misc' ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@ -80,24 +84,33 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
source linuxenv/bin/activate
|
source linuxenv/bin/activate
|
||||||
python3 tools/regression-tests/get_kokkos_input.py --examples-top-level=examples --filter-out="balance;fire;gcmc;mdi;mliap;neb;pace;prd;pour;python;snap"
|
python3 tools/regression-tests/get_kokkos_input.py \
|
||||||
|
--examples-top-level=examples \
|
||||||
|
--filter-out="balance;fire;gcmc;mdi;mliap;neb;pace;prd;pour;python;snap"
|
||||||
|
|
||||||
python3 tools/regression-tests/run_tests.py \
|
python3 tools/regression-tests/run_tests.py \
|
||||||
--lmp-bin=build/lmp \
|
--lmp-bin=build/lmp \
|
||||||
--config-file=tools/regression-tests/config_kokkos_openmp.yaml \
|
--config-file=tools/regression-tests/config_kokkos_openmp.yaml \
|
||||||
--list-input=input-list-pair-kk.txt \
|
--list-input=input-list-${{ matrix.idx }}-kk.txt \
|
||||||
--quick-max=100 \
|
--output-file=output-${{ matrix.idx }}.xml \
|
||||||
--output-file=output-pair.xml \
|
--progress-file=progress-${{ matrix.idx }}.yaml \
|
||||||
--progress-file=progress-pair.yaml \
|
--log-file=run-${{ matrix.idx }}.log \
|
||||||
--log-file=run-pair.log \
|
--quick-max=100 --verbose
|
||||||
--verbose
|
|
||||||
|
|
||||||
tar -cvf kokkos-regression-test-pair.tar run-pair.log progress-pair.yaml output-pair.xml
|
tar -cvf kokkos-regression-test-${{ matrix.idx }}.tar run-${{ matrix.idx }}.log progress-${{ matrix.idx }}.yaml output-${{ matrix.idx }}.xml
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: kokkos-regression-test-artifact
|
name: kokkos-regression-test-artifact-${{ matrix.idx }}
|
||||||
path: kokkos-regression-test*.tar
|
path: kokkos-regression-test-${{ matrix.idx }}.tar
|
||||||
|
|
||||||
|
|
||||||
|
merge:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: build
|
||||||
|
steps:
|
||||||
|
- name: Merge Artifacts
|
||||||
|
uses: actions/upload-artifact/merge@v4
|
||||||
|
with:
|
||||||
|
name: merged-kokkos-regresssion-artifact
|
||||||
|
pattern: kokkos-regression-test-artifact-*
|
||||||
|
|||||||
Reference in New Issue
Block a user