Skip to content

Commit 35095bc

Browse files
committed
[profiles] Initial pass to remove profiles from the SimC repository. TODO: Create a new home for them.
1 parent 5f9f23d commit 35095bc

101 files changed

Lines changed: 18 additions & 13643 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ jobs:
6464
path: |
6565
${{ runner.workspace }}/b/ninja/simc
6666
ActionPriorityLists
67-
profiles
6867
.git
6968
key: ubuntu-${{ matrix.compiler }}-for_run-${{ github.sha }}-cpp-${{ matrix.cppVersion }}
7069

@@ -130,7 +129,6 @@ jobs:
130129
path: |
131130
${{ runner.workspace }}/b/ninja/simc
132131
ActionPriorityLists
133-
profiles
134132
.git
135133
key: ubuntu-${{ matrix.compiler }}-for_run-${{ github.sha }}-cpp-${{ matrix.cppVersion }}
136134

.github/workflows/generate_files.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
path: |
1515
${{ runner.workspace }}/b/ninja/simc
1616
ActionPriorityLists
17-
profiles
1817
.git
1918
key: ubuntu-clang++-15-for_run-${{ github.sha }}-cpp-17
2019

@@ -36,13 +35,6 @@ jobs:
3635
pattern: apl-${{ github.sha }}-*
3736
merge-multiple: true
3837

39-
- name: Download Profiles
40-
uses: actions/download-artifact@v8
41-
with:
42-
path: profiles
43-
pattern: profiles-${{ github.sha }}-*
44-
merge-multiple: true
45-
4638
- name: Dump Spell Data
4739
if: steps.cache.outputs.cache-hit == 'true'
4840
env:
@@ -72,4 +64,3 @@ jobs:
7264
with:
7365
name: |
7466
apl-${{ github.sha }}-*
75-
profiles-${{ github.sha }}-*

.github/workflows/main.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ on:
1212
- "casc_extract/**"
1313

1414
env:
15-
SIMC_PROFILE: profiles/CI.simc
1615
CCACHE_GENERATION: 0 # bump if you need to "clean" ccache
1716

1817
# Most CI jobs only run if you are either:
@@ -110,43 +109,43 @@ jobs:
110109
local file="$1"
111110
112111
case "$file" in
113-
engine/class_modules/sc_death_knight.cpp|engine/class_modules/apl/apl_death_knight.*|profiles/generators/*/*_Generate_Deathknight.simc)
112+
engine/class_modules/sc_death_knight.cpp|engine/class_modules/apl/apl_death_knight.*)
114113
mark_class_changed deathknight
115114
;;
116-
engine/class_modules/sc_demon_hunter.cpp|engine/class_modules/apl/apl_demon_hunter.*|engine/class_modules/apl/demon_hunter/*|profiles/generators/*/*_Generate_Demonhunter.simc)
115+
engine/class_modules/sc_demon_hunter.cpp|engine/class_modules/apl/apl_demon_hunter.*|engine/class_modules/apl/demon_hunter/*)
117116
mark_class_changed demonhunter
118117
;;
119-
engine/class_modules/sc_druid.cpp|engine/class_modules/apl/druid/*|profiles/generators/*/*_Generate_Druid.simc)
118+
engine/class_modules/sc_druid.cpp|engine/class_modules/apl/druid/*)
120119
mark_class_changed druid
121120
;;
122-
engine/class_modules/sc_evoker.cpp|engine/class_modules/apl/apl_evoker.*|profiles/generators/*/*_Generate_Evoker.simc)
121+
engine/class_modules/sc_evoker.cpp|engine/class_modules/apl/apl_evoker.*)
123122
mark_class_changed evoker
124123
;;
125-
engine/class_modules/sc_hunter.cpp|engine/class_modules/apl/hunter/*|engine/class_modules/apl/apl_hunter.*|profiles/generators/*/*_Generate_Hunter.simc)
124+
engine/class_modules/sc_hunter.cpp|engine/class_modules/apl/hunter/*|engine/class_modules/apl/apl_hunter.*)
126125
mark_class_changed hunter
127126
;;
128-
engine/class_modules/sc_mage.cpp|engine/class_modules/apl/mage.*|profiles/generators/*/*_Generate_Mage.simc)
127+
engine/class_modules/sc_mage.cpp|engine/class_modules/apl/mage.*)
129128
mark_class_changed mage
130129
;;
131-
engine/class_modules/monk/*|engine/class_modules/apl/apl_monk.*|profiles/generators/*/*_Generate_Monk.simc)
130+
engine/class_modules/monk/*|engine/class_modules/apl/apl_monk.*)
132131
mark_class_changed monk
133132
;;
134-
engine/class_modules/paladin/*|engine/class_modules/apl/apl_paladin.*|profiles/generators/*/*_Generate_Paladin.simc)
133+
engine/class_modules/paladin/*|engine/class_modules/apl/apl_paladin.*)
135134
mark_class_changed paladin
136135
;;
137-
engine/class_modules/priest/*|engine/class_modules/apl/apl_priest.*|profiles/generators/*/*_Generate_Priest.simc)
136+
engine/class_modules/priest/*|engine/class_modules/apl/apl_priest.*)
138137
mark_class_changed priest
139138
;;
140-
engine/class_modules/sc_rogue.cpp|engine/class_modules/apl/rogue/*|engine/class_modules/apl/apl_rogue.*|profiles/generators/*/*_Generate_Rogue.simc)
139+
engine/class_modules/sc_rogue.cpp|engine/class_modules/apl/rogue/*|engine/class_modules/apl/apl_rogue.*)
141140
mark_class_changed rogue
142141
;;
143-
engine/class_modules/sc_shaman.cpp|engine/class_modules/apl/apl_shaman.*|engine/class_modules/apl/shaman/*|profiles/generators/*/*_Generate_Shaman.simc)
142+
engine/class_modules/sc_shaman.cpp|engine/class_modules/apl/apl_shaman.*|engine/class_modules/apl/shaman/*)
144143
mark_class_changed shaman
145144
;;
146-
engine/class_modules/warlock/*|engine/class_modules/apl/warlock.*|profiles/generators/*/*_Generate_Warlock.simc)
145+
engine/class_modules/warlock/*|engine/class_modules/apl/warlock.*)
147146
mark_class_changed warlock
148147
;;
149-
engine/class_modules/sc_warrior.cpp|engine/class_modules/apl/apl_warrior.*|profiles/generators/*/*_Generate_Warrior.simc)
148+
engine/class_modules/sc_warrior.cpp|engine/class_modules/apl/apl_warrior.*)
150149
mark_class_changed warrior
151150
;;
152151
*)

.github/workflows/spec_test.yml

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ jobs:
3838
path: |
3939
${{ runner.workspace }}/b/ninja/simc
4040
ActionPriorityLists
41-
profiles
4241
.git
4342
key: ${{ inputs.cache-key }}
4443

@@ -368,52 +367,3 @@ jobs:
368367
path: |
369368
ActionPriorityLists/*/${{ matrix.spec }}.simc
370369
retention-days: 1
371-
372-
- name: Generate Profiles
373-
id: generate_profiles
374-
if: github.event_name == 'push' && !failure() && !inputs.is-ptr
375-
continue-on-error: true
376-
shell: bash
377-
run: |
378-
cd profiles
379-
for dir in generators/*; do
380-
if [ -d $dir ]; then
381-
SEASON=${dir##*/}
382-
GENERATOR=${SEASON}_Generate_${{ env.CLASS_STR_CAP }}.simc
383-
if [ -f $dir/$GENERATOR ]; then
384-
cd $SEASON
385-
echo "---$SEASON---${{ env.CLASS_STR_CAP }}---$GENERATOR---"
386-
${{ runner.workspace }}/b/ninja/simc $dir/$GENERATOR
387-
cd ..
388-
fi
389-
fi
390-
done
391-
392-
- name: Check Profile Changes
393-
id: check_profile_changes
394-
if: steps.generate_profiles.outcome == 'success'
395-
continue-on-error: true
396-
shell: bash
397-
run: |
398-
CHANGED=$(git status --porcelain -- profiles/*/*.simc | sed 's/^...//')
399-
if [ -n "$CHANGED" ]; then
400-
echo "changed=true" >> "$GITHUB_OUTPUT"
401-
echo "Changed profile files:"
402-
echo "$CHANGED"
403-
mkdir -p /tmp/changed_profiles
404-
echo "$CHANGED" | while read -r f; do
405-
cp --parents "$f" /tmp/changed_profiles/
406-
done
407-
else
408-
echo "changed=false" >> "$GITHUB_OUTPUT"
409-
echo "No profile files changed"
410-
fi
411-
412-
- name: Upload Profiles
413-
if: steps.check_profile_changes.outputs.changed == 'true'
414-
continue-on-error: true
415-
uses: actions/upload-artifact@v6
416-
with:
417-
name: profiles-${{ github.sha }}-${{ matrix.spec }}
418-
path: /tmp/changed_profiles/profiles/
419-
retention-days: 1

CONTRIBUTING.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@ initiative and help out wherever needed. GitHub provides considerable utilities
1111
The mantra is: Just check it in. Don't ask for permission. If the code needs to be changed for functional (or artistic!) reasons,
1212
someone will revert/modify as needed.
1313

14-
## Profiles
15-
SimulationCraft includes a set of sample profiles for the current raiding tier, which are located in /profiles.
16-
If you want to improve those profiles, please note to the following:
17-
* Change character profile settings like talents & gear in the files you can find at /profiles/generators.
18-
The files in /profiles are auto-generated and will be overriden.
19-
2014
## Action Priority List (APL)
2115
SimulationCraft includes a set of default action priority lists for each specialization, to offer users a ready-to-use
2216
simulation experience once they import their character. This APL is the main factor defining if a character performs just ok

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
# To reduce the footprint of this image all SimulationCraft files are
1919
# removed except:
2020
# - ./simc
21-
# - ./profiles/*
2221
#
2322

2423
# build image
@@ -75,9 +74,8 @@ RUN \
7574
libgcc \
7675
libstdc++
7776

78-
# get compiled simc and profiles
77+
# get compiled simc
7978
COPY --from=build /app/SimulationCraft/engine/simc /app/SimulationCraft/
80-
COPY --from=build /app/SimulationCraft/profiles/ /app/SimulationCraft/profiles/
8179

8280
WORKDIR /app/SimulationCraft
8381

cli/cli.pro

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,11 @@ unix {
2727
# Deployment for Linux
2828
unix:!macx {
2929
DISTFILES += CHANGES COPYING
30-
INSTALLS += target Profiles
30+
INSTALLS += target
3131
# Disable strip
3232
QMAKE_STRIP = echo
3333

3434
target.path = $$DESTDIR$$PREFIX/bin/
35-
36-
Profiles.files = $$files(../profiles/*, recursive=true)
37-
Profiles.path = $$SHAREPATH/profiles
38-
Profiles.commands = @echo Installing profiles to $$SHAREPATH/profiles
3935
}
4036

4137
include(../source_files/QT_engine_main.pri)

gui/gui.pro

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ CONFIG(debug, debug|release): LIBS += -L../lib/debug -lsimcengine
3333

3434
Resources.files = ../qt/Welcome.html ../qt/Welcome.png ../qt/Error.html
3535
Localization.files = $$files(../locale/*.qm)
36-
Profiles.files = $$files(../profiles/*, recursive=true)
3736

3837

3938
macx {
@@ -47,10 +46,9 @@ macx {
4746
}
4847

4948
Resources.path = Contents/Resources
50-
Profiles.path = Contents/Resources/profiles
5149
Localization.path = Contents/Resources/locale
5250

53-
QMAKE_BUNDLE_DATA += Profiles Resources Localization
51+
QMAKE_BUNDLE_DATA += Resources Localization
5452
}
5553

5654
win32 {
@@ -62,19 +60,16 @@ win32 {
6260
}
6361
}
6462

65-
# Deplopyment for Linux, note, the cli project also copies profiles
63+
# Deplopyment for Linux, note
6664
unix:!macx {
6765

6866
DISTFILES += CHANGES COPYING
69-
INSTALLS += target Profiles Resources icon Localization
67+
INSTALLS += target Resources icon Localization
7068
# Disable strip
7169
QMAKE_STRIP = echo
7270

7371
target.path = $$DESTDIR$$PREFIX/bin/
7472

75-
Profiles.path = $$SHAREPATH/profiles
76-
profiles.commands = @echo Installing profiles to $$SHAREPATH/profiles
77-
7873
Resources.path = $$SHAREPATH
7974
data.commands = @echo Installing global files to $$SHAREPATH
8075

profiles/MID1/MID1_Death_Knight_Blood.simc

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
 (0)