filter out input scripts for testing, remove concurrent (matrix) testing
This commit is contained in:
30
.github/workflows/kokkos-regression.yaml
vendored
30
.github/workflows/kokkos-regression.yaml
vendored
@ -16,10 +16,6 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
CCACHE_DIR: ${{ github.workspace }}/.ccache
|
||||
strategy:
|
||||
max-parallel: 4
|
||||
matrix:
|
||||
style: [ 'pair', 'fix', 'compute', 'misc' ]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@ -73,6 +69,7 @@ jobs:
|
||||
-D PKG_PYTHON=on \
|
||||
-D PKG_QEQ=on \
|
||||
-D PKG_REAXFF=on \
|
||||
-D PKG_REPLICA=on \
|
||||
-D BUILD_OMP=yes \
|
||||
-G Ninja
|
||||
cmake --build build
|
||||
@ -82,32 +79,23 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
source linuxenv/bin/activate
|
||||
python3 tools/regression-tests/get_kokkos_input.py --examples-top-level=examples
|
||||
python3 tools/regression-tests/get_kokkos_input.py --examples-top-level=examples --filter-out="balance;mdi;mliap;pace;prd;pour;python;snap"
|
||||
|
||||
python3 tools/regression-tests/run_tests.py \
|
||||
--lmp-bin=build/lmp \
|
||||
--config-file=tools/regression-tests/config_kokkos_openmp.yaml \
|
||||
--list-input=input-list-${{ matrix.style }}-kk.txt \
|
||||
--output-file=output-${{ matrix.style }}.xml \
|
||||
--progress-file=progress-${{ matrix.style }}.yaml \
|
||||
--log-file=run-${{ matrix.style }}.log \
|
||||
--list-input=input-list-pair-kk.txt \
|
||||
--output-file=output-pair.xml \
|
||||
--progress-file=progress-pair.yaml \
|
||||
--log-file=run-pair.log \
|
||||
--verbose
|
||||
|
||||
tar -cvf kokkos-regression-test-${{ matrix.style }}.tar run-${{ matrix.style }}.log progress-${{ matrix.style }}.yaml output-${{ matrix.style }}.xml
|
||||
tar -cvf kokkos-regression-test-pair.tar run-pair.log progress-pair.yaml output-pair.xml
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: kokkos-regression-test-artifact-${{ matrix.style }}
|
||||
path: kokkos-regression-test-${{ matrix.style }}.tar
|
||||
name: kokkos-regression-test-artifact
|
||||
path: kokkos-regression-test.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