-
Notifications
You must be signed in to change notification settings - Fork 692
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'thewarwithin' into 1105-deathbringer
- Loading branch information
Showing
259 changed files
with
877,286 additions
and
892,444 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -375,14 +375,162 @@ jobs: | |
- name: Upload APL | ||
if: steps.dump_apl.outcome == 'success' | ||
continue-on-error: true | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: apl-${{ github.sha }}-${{ matrix.spec }} | ||
path: ${{ matrix.spec }}.simc | ||
retention-days: 1 | ||
|
||
apl-dump: | ||
name: Action Priority List Dump | ||
spec-test-ptr: | ||
name: spec-test-ptr | ||
runs-on: ${{ matrix.os }} | ||
needs: [ ubuntu-clang-build ] | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
cppVersion: [17] | ||
compiler: [clang++-15] | ||
spec: [ | ||
shaman_elemental | ||
] | ||
fightstyle: [singletarget, multitarget, dungeonslice] | ||
include: | ||
- compiler: clang++-15 | ||
os: ubuntu-22.04 | ||
- fightstyle: multitarget | ||
style_arg: desired_targets=10 | ||
- fightstyle: dungeonslice | ||
style_arg: fight_style=DungeonSlice | ||
|
||
env: | ||
UBSAN_OPTIONS: print_stacktrace=1 | ||
SIMC_ARGS: output=/dev/null threads=2 iterations=10 cleanup_threads=1 ptr=1 | ||
PLAYER_ARGS: load_default_gear=1 | ||
|
||
steps: | ||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
${{ runner.workspace }}/b/ninja/simc | ||
profiles | ||
tests | ||
generate_profiles_ci.sh | ||
.git | ||
key: ubuntu-${{ matrix.compiler }}-for_run-${{ github.sha }}-cpp-${{ matrix.cppVersion }} | ||
|
||
- name: Setup | ||
id: setup | ||
env: | ||
MATRIX_SPEC: ${{ matrix.spec }} | ||
run: | | ||
echo "CLASS_STR=${MATRIX_SPEC%%_*}" >> "$GITHUB_ENV" | ||
echo "SPEC_STR=${MATRIX_SPEC#*_}" >> "$GITHUB_ENV" | ||
- name: "Log Debug" | ||
if: always() | ||
run: | | ||
${{ runner.workspace }}/b/ninja/simc ${{ env.SIMC_ARGS }} log=1 debug=1 ${{ matrix.style_arg }}\ | ||
enable_all_talents=1 enable_all_item_effects=1 enable_all_sets=1 \ | ||
${{ env.CLASS_STR }}=${{ matrix.spec }} spec=${{ env.SPEC_STR }} ${{ env.PLAYER_ARGS }} | ||
${{ runner.workspace }}/b/ninja/simc ${{ env.SIMC_ARGS }} log=1 debug=1 ${{ matrix.style_arg }}\ | ||
${{ env.CLASS_STR }}=${{ matrix.spec }} spec=${{ env.SPEC_STR }} ${{ env.PLAYER_ARGS }} | ||
- name: "HTML JSON" | ||
if: always() | ||
run: | | ||
${{ runner.workspace }}/b/ninja/simc ${{ env.SIMC_ARGS }} html=test.html json=test.json ${{ matrix.style_arg }}\ | ||
enable_all_talents=1 enable_all_item_effects=1 enable_all_sets=1 \ | ||
${{ env.CLASS_STR }}=${{ matrix.spec }} spec=${{ env.SPEC_STR }} ${{ env.PLAYER_ARGS }} | ||
${{ runner.workspace }}/b/ninja/simc ${{ env.SIMC_ARGS }} html=test.html json=test.json ${{ matrix.style_arg }}\ | ||
${{ env.CLASS_STR }}=${{ matrix.spec }} spec=${{ env.SPEC_STR }} ${{ env.PLAYER_ARGS }} | ||
- name: "No Talents, No Effects, No Sets" | ||
if: always() | ||
run: | | ||
${{ runner.workspace }}/b/ninja/simc ${{ env.SIMC_ARGS }} ${{ matrix.style_arg }}\ | ||
${{ env.CLASS_STR }}=${{ matrix.spec }} spec=${{ env.SPEC_STR }} ${{ env.PLAYER_ARGS }} | ||
- name: "No Talents, No Effects, All Sets" | ||
if: always() | ||
run: | | ||
${{ runner.workspace }}/b/ninja/simc ${{ env.SIMC_ARGS }} ${{ matrix.style_arg }}\ | ||
enable_all_sets=1 \ | ||
${{ env.CLASS_STR }}=${{ matrix.spec }} spec=${{ env.SPEC_STR }} ${{ env.PLAYER_ARGS }} | ||
- name: "No Talents, All Effects, No Sets" | ||
if: always() | ||
run: | | ||
${{ runner.workspace }}/b/ninja/simc ${{ env.SIMC_ARGS }} ${{ matrix.style_arg }}\ | ||
enable_all_item_effects=1 \ | ||
${{ env.CLASS_STR }}=${{ matrix.spec }} spec=${{ env.SPEC_STR }} ${{ env.PLAYER_ARGS }} | ||
- name: "No Talents, All Effects, All Sets" | ||
if: always() | ||
run: | | ||
${{ runner.workspace }}/b/ninja/simc ${{ env.SIMC_ARGS }} ${{ matrix.style_arg }}\ | ||
enable_all_item_effects=1 enable_all_sets=1 \ | ||
${{ env.CLASS_STR }}=${{ matrix.spec }} spec=${{ env.SPEC_STR }} ${{ env.PLAYER_ARGS }} | ||
- name: "Starter Talents, No Effects, No Sets" | ||
if: always() | ||
run: | | ||
${{ runner.workspace }}/b/ninja/simc ${{ env.SIMC_ARGS }} ${{ matrix.style_arg }}\ | ||
${{ env.CLASS_STR }}=${{ matrix.spec }} spec=${{ env.SPEC_STR }} ${{ env.PLAYER_ARGS }} load_default_talents=1 | ||
- name: "Starter Talents, No Effects, All Sets" | ||
if: always() | ||
run: | | ||
${{ runner.workspace }}/b/ninja/simc ${{ env.SIMC_ARGS }} ${{ matrix.style_arg }}\ | ||
enable_all_sets=1 \ | ||
${{ env.CLASS_STR }}=${{ matrix.spec }} spec=${{ env.SPEC_STR }} ${{ env.PLAYER_ARGS }} load_default_talents=1 | ||
- name: "Starter Talents, All Effects, No Sets" | ||
if: always() | ||
run: | | ||
${{ runner.workspace }}/b/ninja/simc ${{ env.SIMC_ARGS }} ${{ matrix.style_arg }}\ | ||
enable_all_item_effects=1 \ | ||
${{ env.CLASS_STR }}=${{ matrix.spec }} spec=${{ env.SPEC_STR }} ${{ env.PLAYER_ARGS }} load_default_talents=1 | ||
- name: "Starter Talents, All Effects, All Sets" | ||
if: always() | ||
run: | | ||
${{ runner.workspace }}/b/ninja/simc ${{ env.SIMC_ARGS }} ${{ matrix.style_arg }}\ | ||
enable_all_item_effects=1 enable_all_sets=1 \ | ||
${{ env.CLASS_STR }}=${{ matrix.spec }} spec=${{ env.SPEC_STR }} ${{ env.PLAYER_ARGS }} load_default_talents=1 | ||
- name: "All Talents, No Effects, No Sets" | ||
if: always() | ||
run: | | ||
${{ runner.workspace }}/b/ninja/simc ${{ env.SIMC_ARGS }} ${{ matrix.style_arg }}\ | ||
enable_all_talents=1 \ | ||
${{ env.CLASS_STR }}=${{ matrix.spec }} spec=${{ env.SPEC_STR }} ${{ env.PLAYER_ARGS }} | ||
- name: "All Talents, No Effects, All Sets" | ||
if: always() | ||
run: | | ||
${{ runner.workspace }}/b/ninja/simc ${{ env.SIMC_ARGS }} ${{ matrix.style_arg }}\ | ||
enable_all_talents=1 enable_all_sets=1 \ | ||
${{ env.CLASS_STR }}=${{ matrix.spec }} spec=${{ env.SPEC_STR }} ${{ env.PLAYER_ARGS }} | ||
- name: "All Talents, All Effects, No Sets" | ||
if: always() | ||
run: | | ||
${{ runner.workspace }}/b/ninja/simc ${{ env.SIMC_ARGS }} ${{ matrix.style_arg }}\ | ||
enable_all_talents=1 enable_all_item_effects=1 \ | ||
${{ env.CLASS_STR }}=${{ matrix.spec }} spec=${{ env.SPEC_STR }} ${{ env.PLAYER_ARGS }} | ||
- name: "All Talents, All Effects, All Sets" | ||
if: always() | ||
run: | | ||
${{ runner.workspace }}/b/ninja/simc ${{ env.SIMC_ARGS }} ${{ matrix.style_arg }}\ | ||
enable_all_talents=1 enable_all_item_effects=1 enable_all_sets=1 \ | ||
${{ env.CLASS_STR }}=${{ matrix.spec }} spec=${{ env.SPEC_STR }} ${{ env.PLAYER_ARGS }} | ||
apl-profile: | ||
name: Action Priority List Dump / Regenerate Profiles | ||
runs-on: ${{ matrix.os }} | ||
needs: [ spec-test, spelldata-dump ] | ||
if: github.event_name == 'push' && ( success() || failure() ) && github.repository == 'simulationcraft/simc' | ||
|
@@ -397,6 +545,16 @@ jobs: | |
os: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
${{ runner.workspace }}/b/ninja/simc | ||
profiles | ||
tests | ||
generate_profiles_ci.sh | ||
.git | ||
key: ubuntu-${{ matrix.compiler }}-for_run-${{ github.sha }}-cpp-${{ matrix.cppVersion }} | ||
|
||
- uses: actions/checkout@v4 | ||
|
||
- name: Download APLs | ||
|
@@ -409,11 +567,17 @@ jobs: | |
- name: Setup | ||
run: echo "SHORT_SHA=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_ENV | ||
|
||
- name: Run | ||
env: | ||
UBSAN_OPTIONS: print_stacktrace=1 | ||
SIMC_CLI_PATH: ${{ runner.workspace }}/b/ninja/simc | ||
run: ${{ github.workspace }}/generate_profiles_ci.sh | ||
|
||
- name: Commit APLs | ||
continue-on-error: true | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
message: 'Update APL Dump ${{ env.SHORT_SHA }}' | ||
message: 'Update APL Dump / Regenerate Profiles ${{ env.SHORT_SHA }}' | ||
default_author: github_actions | ||
fetch: --no-tags --force --prune --no-recurse-submodules --depth=1 origin ${{ github.ref_name }} | ||
add: '*.simc' | ||
|
@@ -477,49 +641,6 @@ jobs: | |
UBSAN_OPTIONS: print_stacktrace=1 | ||
run: ${{ runner.workspace }}/b/ninja/simc output=/dev/null html=/dev/null json2=/dev/null ${{ matrix.simc_flags }} | ||
|
||
simc-profiles: | ||
name: Regenerate profiles | ||
runs-on: ${{ matrix.os }} | ||
needs: [ ubuntu-clang-build ] | ||
if: github.event_name == 'push' | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
cppVersion: [17] | ||
compiler: [clang++-15] | ||
include: | ||
- compiler: clang++-15 | ||
os: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
${{ runner.workspace }}/b/ninja/simc | ||
profiles | ||
tests | ||
generate_profiles_ci.sh | ||
.git | ||
key: ubuntu-${{ matrix.compiler }}-for_run-${{ github.sha }}-cpp-${{ matrix.cppVersion }} | ||
|
||
- uses: actions/checkout@v4 | ||
|
||
- name: Run | ||
env: | ||
UBSAN_OPTIONS: print_stacktrace=1 | ||
SIMC_CLI_PATH: ${{ runner.workspace }}/b/ninja/simc | ||
run: ${{ github.workspace }}/generate_profiles_ci.sh | ||
|
||
- name: Commit Profiles | ||
continue-on-error: true | ||
uses: EndBug/[email protected] | ||
with: | ||
message: 'Regenerate profiles' | ||
default_author: github_actions | ||
fetch: --no-tags --force --prune --no-recurse-submodules --depth=1 origin ${{ github.ref_name }} | ||
add: '*.simc' | ||
|
||
build-osx: | ||
name: macos-latest | ||
runs-on: macos-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.