From 13d47d99b9d669c2b121627789224384a387cffa Mon Sep 17 00:00:00 2001 From: "Joshua A. Anderson" Date: Wed, 5 Jun 2024 15:09:51 -0400 Subject: [PATCH] Attempt to improve job names. --- .github/workflows/build_and_test.yaml | 18 +++++++----------- .github/workflows/tests_new.yaml | 2 +- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index 758175f7cc..9cae65f24f 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -23,7 +23,7 @@ on: validate: type: boolean required: false - + env: # prevent deadlocked MPI tests from causing the job to cancel MPIEXEC_TIMEOUT: 3000 @@ -43,7 +43,6 @@ env: jobs: build: - name: Build [${{ inputs.config }}] runs-on: ${{fromJson(inputs.build_runner) }} container: image: glotzerlab/ci:2024.06.04-${{ inputs.container_prefix }} @@ -88,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 @@ -101,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: @@ -137,7 +136,6 @@ jobs: pytest: - name: Run pytest [${{ inputs.config }}] needs: build runs-on: ${{ fromJson(inputs.test_runner) }} container: @@ -186,7 +184,6 @@ jobs: ctest: - name: Run ctest [${{ inputs.config }}] needs: build runs-on: ${{ fromJson(inputs.test_runner) }} container: @@ -228,7 +225,6 @@ jobs: validate: - name: Validate [${{ inputs.config }}] needs: build runs-on: ${{ fromJson(inputs.test_runner) }} container: diff --git a/.github/workflows/tests_new.yaml b/.github/workflows/tests_new.yaml index 453db46b54..34f792dbf8 100644 --- a/.github/workflows/tests_new.yaml +++ b/.github/workflows/tests_new.yaml @@ -26,7 +26,7 @@ jobs: OS_APPLICATION_CREDENTIAL_SECRET: ${{ secrets.OS_APPLICATION_CREDENTIAL_SECRET }} typical: - name: Build and test typical configurations + name: "Typical: [${{ matrix.config[0] }}]" uses: ./.github/workflows/build_and_test.yaml with: config: ${{ join(matrix.config, '_') }}