Skip to content

Commit

Permalink
DO NOT MERGE: artifact size benchmark
Browse files Browse the repository at this point in the history
This is a benchmark to determine the size of artifacts produced by
continuous integration when enabling full debug info.
See CleverRaven#73240

Note: for the purposes of this benchmark I have:
* Enabled continuous integration for draft pull requests
* Disabled "fail fast" in the build matrix
* Enabled artifact upload even if tests pass
  • Loading branch information
hexagonrecursion committed Apr 25, 2024
1 parent 5ec2f03 commit a1d8b0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
varied_builds:
needs: [ skip-duplicates-code, skip-duplicates-data, matrix-variables ]
strategy:
fail-fast: ${{ fromJSON(needs.matrix-variables.outputs.fail_fast) }}
fail-fast: false
max-parallel: ${{ fromJSON(needs.matrix-variables.outputs.max_parallel) }}
matrix:
include:
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
CCACHE_FILECLONE: true
CCACHE_HARDLINK: true
CCACHE_NOCOMPRESS: true
SKIP: ${{ ( github.event.pull_request.draft == true && matrix.title != 'Basic Build and Test (Clang 10, Ubuntu, Curses)' ) || ( matrix.dont_skip_data_only_changes == 0 && needs.skip-duplicates.outputs.should_skip_code == 'true' ) || ( matrix.dont_skip_data_only_changes != 0 && needs.skip-duplicates-mods.outputs.should_skip_data == 'true' ) }}
SKIP: ${{ ( false == true && matrix.title != 'Basic Build and Test (Clang 10, Ubuntu, Curses)' ) || ( matrix.dont_skip_data_only_changes == 0 && needs.skip-duplicates.outputs.should_skip_code == 'true' ) || ( matrix.dont_skip_data_only_changes != 0 && needs.skip-duplicates-mods.outputs.should_skip_data == 'true' ) }}
SKIP_TESTS: ${{ needs.matrix-variables.outputs.skip_tests }}
steps:
- name: checkout repository
Expand Down Expand Up @@ -338,7 +338,7 @@ jobs:
path: ${{ env.ARCHIVE_SUCCESS }}
- name: upload artifacts if failed
uses: actions/upload-artifact@v4
if: failure()
if: ${{ always() }}
with:
name: cata_test
path: tests/cata_test*
Expand Down

0 comments on commit a1d8b0e

Please sign in to comment.