Skip to content

Commit

Permalink
Run pre-commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Jun 6, 2024
1 parent 0840193 commit 882f17e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
validate:
type: string
required: false

env:
# prevent deadlocked MPI tests from causing the job to cancel
MPIEXEC_TIMEOUT: 3000
Expand Down Expand Up @@ -87,11 +87,11 @@ jobs:
BUILD_HPMC: ${{ !contains(inputs.config, 'nohpmc') }}
BUILD_DEBUG: ${{ contains(inputs.config, 'debug') }}
shell: bash

- name: Build
run: ninja install -j $(($(getconf _NPROCESSORS_ONLN) + 2))
working-directory: build

- name: Configure plugins
run : |
if [[ ${BUILD_DEBUG} == "true" ]]; then BUILD_TYPE="Debug"; else BUILD_TYPE="Release"; fi
Expand All @@ -100,20 +100,20 @@ jobs:
env:
BUILD_DEBUG: ${{ contains(inputs.config, 'debug') }}
shell: bash

- name: Build plugins
run: ninja install -j $(($(getconf _NPROCESSORS_ONLN) + 2))
working-directory: build-example-plugins

- name: Remove object files
run: find build -type f -name '*.o' -delete

- name: 'Tar build'
run: tar --use-compress-program='zstd -10 -T0' -cvf build.tar build

- name: 'Tar install'
run: tar --use-compress-program='zstd -10 -T0' -cvf install.tar install

- name: 'Upload build'
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ jobs:
validate: 'true'

- config: [gcc13_py312, nomd]

- config: [gcc13_py312, nohpmc]

- config: [gcc13_py312, nomd, nohpmc]

- config: [cuda120_gcc11_py310, mpi, llvm, debug]
test_runner: [self-hosted,GPU]
test_docker_options: '--gpus=all --device /dev/nvidia0 --device /dev/nvidia1 --device /dev/nvidia-uvm --device /dev/nvidia-uvm-tools --device /dev/nvidiactl'
Expand Down

0 comments on commit 882f17e

Please sign in to comment.