From c9b16fd9eb08f52ff4610d6df5dbea63705e2ab0 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 21:59:13 -0600 Subject: [PATCH 01/96] maybe i can do this in a pr now --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf6d5d0..a87390d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,6 +15,10 @@ jobs: sparse-checkout: | '!SpellDataDump/' + - name: whereami + run: | + tree + - name: configure run: | cmake -H'${{ runner.workspace }}/simc/' -B'${{ runner.workspace }}/simc/b/ninja' -GNinja -DBUILD_GUI=OFF From c6ab637c298a17cdb3a5564367651fd18c10d2f0 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:01:14 -0600 Subject: [PATCH 02/96] b --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a87390d..30cf096 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,6 +13,7 @@ jobs: repository: simulationcraft/simc path: simc/ sparse-checkout: | + '**/' '!SpellDataDump/' - name: whereami From 5b8ce4d2c5d1bb6564b64c144709f64383585a0a Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:02:16 -0600 Subject: [PATCH 03/96] c --- .github/workflows/build.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30cf096..cb3aea2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,9 +12,6 @@ jobs: with: repository: simulationcraft/simc path: simc/ - sparse-checkout: | - '**/' - '!SpellDataDump/' - name: whereami run: | From 1f13c18c4a1d46bc102a7d188ef8426f40c33a72 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:03:36 -0600 Subject: [PATCH 04/96] d --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cb3aea2..0cd9f6b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,6 +16,7 @@ jobs: - name: whereami run: | tree + pwd - name: configure run: | From 41cd6af265b97c03be9ebdec46e723f7579aa0fa Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:05:58 -0600 Subject: [PATCH 05/96] e --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0cd9f6b..54660f5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: - name: configure run: | - cmake -H'${{ runner.workspace }}/simc/' -B'${{ runner.workspace }}/simc/b/ninja' -GNinja -DBUILD_GUI=OFF + cmake -H'${{ runner.workspace }}/simc-profile/simc/' -B'${{ runner.workspace }}/simc-profile/simc/b/ninja' -GNinja -DBUILD_GUI=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++-18 -DCMAKE_CXX_STANDARD=17 From eb87f0bb272b744be7ac5fbd0a85715536ecdd37 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:07:48 -0600 Subject: [PATCH 06/96] nocurl --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54660f5..20aeafc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,7 @@ jobs: -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++-18 -DCMAKE_CXX_STANDARD=17 + -SC_NO_NETWORKING=ON - name: build run: | From 6fcecc75bf5cea3c63190e385ee7c9da96b4ae8e Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:11:57 -0600 Subject: [PATCH 07/96] openssl --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 20aeafc..8974db2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,10 +13,9 @@ jobs: repository: simulationcraft/simc path: simc/ - - name: whereami + - name: install run: | - tree - pwd + sudo apt-get install -y libcurl4-openssl-dev - name: configure run: | From 7e2b4855dae9f1a7838ae28e35e87fcbbd49b4b8 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:14:00 -0600 Subject: [PATCH 08/96] f --- .github/workflows/build.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8974db2..74191d9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,17 +13,16 @@ jobs: repository: simulationcraft/simc path: simc/ - - name: install - run: | - sudo apt-get install -y libcurl4-openssl-dev + # - name: install + # run: | + # sudo apt-get install -y libcurl4-openssl-dev - name: configure run: | - cmake -H'${{ runner.workspace }}/simc-profile/simc/' -B'${{ runner.workspace }}/simc-profile/simc/b/ninja' -GNinja -DBUILD_GUI=OFF - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_CXX_COMPILER=clang++-18 - -DCMAKE_CXX_STANDARD=17 - -SC_NO_NETWORKING=ON + cmake -H'${{ runner.workspace }}/simc-profile/simc/' \ + -B'${{ runner.workspace }}/simc-profile/simc/b/ninja' -GNinja -DBUILD_GUI=OFF \ + -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++-18 \ + -DCMAKE_CXX_STANDARD=17 -DSC_NO_NETWORKING=ON - name: build run: | From d8b0ba53de236850085627122435d40f3a73f350 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:16:35 -0600 Subject: [PATCH 09/96] cleanup --- .github/workflows/build.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 74191d9..21718b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,6 @@ jobs: - uses: actions/checkout@v6 with: repository: simulationcraft/simc - path: simc/ # - name: install # run: | @@ -19,21 +18,20 @@ jobs: - name: configure run: | - cmake -H'${{ runner.workspace }}/simc-profile/simc/' \ - -B'${{ runner.workspace }}/simc-profile/simc/b/ninja' -GNinja -DBUILD_GUI=OFF \ + cmake -H. \ + -B'${{ runner.workspace }}/b/ninja' -GNinja -DBUILD_GUI=OFF \ -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++-18 \ -DCMAKE_CXX_STANDARD=17 -DSC_NO_NETWORKING=ON - name: build run: | - ninja -C '${{ runner.workspace }}/simc/b/ninja' + ninja -C '${{ runner.workspace }}/b/ninja' - name: ident run: | - cd '${{ runner.workspace }}/simc' git rev-parse HEAD - uses: actions/cache@v5 with: - path: ${{ runner.workspace }}/simc/b/ninja/simc + path: ${{ runner.workspace }}/b/ninja/simc key: simc-clang++-18-cpp17-${{ github.sha }} From e44c308f67dc97f2c36db1662fbd47b81fd3eaf8 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:19:34 -0600 Subject: [PATCH 10/96] g --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 21718b7..71be07d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,9 +29,10 @@ jobs: - name: ident run: | - git rev-parse HEAD + export SHA=$(git rev-parse HEAD) + echo $SHA - uses: actions/cache@v5 with: path: ${{ runner.workspace }}/b/ninja/simc - key: simc-clang++-18-cpp17-${{ github.sha }} + key: simc-clang++-18-cpp17-${{ env.SHA }} From 3e2d34c10819f63481e143e7e25c4093194680d0 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:26:44 -0600 Subject: [PATCH 11/96] h --- .github/workflows/build.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 71be07d..22166cd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,10 +12,6 @@ jobs: with: repository: simulationcraft/simc - # - name: install - # run: | - # sudo apt-get install -y libcurl4-openssl-dev - - name: configure run: | cmake -H. \ @@ -33,6 +29,8 @@ jobs: echo $SHA - uses: actions/cache@v5 + env: + SHA with: path: ${{ runner.workspace }}/b/ninja/simc key: simc-clang++-18-cpp17-${{ env.SHA }} From f3f99c75ca92207958f77a94699691239b8a7c57 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:29:35 -0600 Subject: [PATCH 12/96] i --- .github/workflows/build.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 22166cd..6a48b69 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,12 +25,10 @@ jobs: - name: ident run: | - export SHA=$(git rev-parse HEAD) + git rev-parse HEAD >> $SHA echo $SHA - uses: actions/cache@v5 - env: - SHA with: path: ${{ runner.workspace }}/b/ninja/simc key: simc-clang++-18-cpp17-${{ env.SHA }} From e27cd4ad3212508c12aad65e5f6febba9a9fb50b Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:35:53 -0600 Subject: [PATCH 13/96] j --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6a48b69..68d9000 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: - name: ident run: | - git rev-parse HEAD >> $SHA + $(git rev-parse HEAD) >> $SHA echo $SHA - uses: actions/cache@v5 From 4b8cf6ae9aead2c44002fdf74e2e783f89a0a63f Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:43:24 -0600 Subject: [PATCH 14/96] k --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 68d9000..86bb667 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: - name: ident run: | - $(git rev-parse HEAD) >> $SHA + echo $(git rev-parse HEAD) >> $SHA echo $SHA - uses: actions/cache@v5 From 614caf5f8ad6fa8369f3e561ef5abf3185cc65e2 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:51:16 -0600 Subject: [PATCH 15/96] l --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 86bb667..0ee8137 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: - name: ident run: | - echo $(git rev-parse HEAD) >> $SHA + echo "$(git rev-parse HEAD)" >> $SHA echo $SHA - uses: actions/cache@v5 From 6753a12924e565a8138d575250db1cfb273a54f3 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 22:59:01 -0600 Subject: [PATCH 16/96] m --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0ee8137..069ad2d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: - name: ident run: | - echo "$(git rev-parse HEAD)" >> $SHA + echo "SHA=$(git rev-parse HEAD)" >> "$SHA" echo $SHA - uses: actions/cache@v5 From 4d858df7dfcb906e45f74a2907c32525d8303b68 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:03:40 -0600 Subject: [PATCH 17/96] n --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 069ad2d..18d2e9a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,15 +19,15 @@ jobs: -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++-18 \ -DCMAKE_CXX_STANDARD=17 -DSC_NO_NETWORKING=ON - - name: build - run: | - ninja -C '${{ runner.workspace }}/b/ninja' - - name: ident run: | - echo "SHA=$(git rev-parse HEAD)" >> "$SHA" + echo "SHA=$(git rev-parse HEAD)" >> "GITHUB_ENV" echo $SHA + - name: build + run: | + ninja -C '${{ runner.workspace }}/b/ninja' + - uses: actions/cache@v5 with: path: ${{ runner.workspace }}/b/ninja/simc From c4819ec29cc731ef405f3a47879cf7835e0c9f78 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:04:08 -0600 Subject: [PATCH 18/96] o --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 18d2e9a..4292ee7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,9 @@ jobs: echo "SHA=$(git rev-parse HEAD)" >> "GITHUB_ENV" echo $SHA + - name: test + run: echo ${{ env.sha }} + - name: build run: | ninja -C '${{ runner.workspace }}/b/ninja' From 0bccc86e6e5557de7950e49e60c50636b783af3a Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:09:10 -0600 Subject: [PATCH 19/96] p --- .github/workflows/build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4292ee7..5de4b8d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,15 +23,15 @@ jobs: run: | echo "SHA=$(git rev-parse HEAD)" >> "GITHUB_ENV" echo $SHA + echo ${{ env.SHA }} + echo ${{ env.sha }} - - name: test - run: echo ${{ env.sha }} - - - name: build - run: | - ninja -C '${{ runner.workspace }}/b/ninja' + # - name: build + # run: | + # ninja -C '${{ runner.workspace }}/b/ninja' - uses: actions/cache@v5 with: - path: ${{ runner.workspace }}/b/ninja/simc - key: simc-clang++-18-cpp17-${{ env.SHA }} + # path: ${{ runner.workspace }}/b/ninja/simc + path: ${{ runner.workspace }}/README.md + key: simc-clang++-18-cpp17-${{ env.sha }} From d74d8966210271e52906b0665b4ef258d4a084f6 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:11:51 -0600 Subject: [PATCH 20/96] q --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5de4b8d..6e617f0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: - name: ident run: | - echo "SHA=$(git rev-parse HEAD)" >> "GITHUB_ENV" + echo "SHA=$(git rev-parse HEAD)" >> "$GITHUB_ENV" echo $SHA echo ${{ env.SHA }} echo ${{ env.sha }} From dfa1ce7a4feee2b936782e601bad758d67322e65 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:14:59 -0600 Subject: [PATCH 21/96] r --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6e617f0..9aad86e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: - name: ident run: | - echo "SHA=$(git rev-parse HEAD)" >> "$GITHUB_ENV" + echo "SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV echo $SHA echo ${{ env.SHA }} echo ${{ env.sha }} From 411d2330e8766f9790125fb7ae5ae46a0edc5217 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:18:51 -0600 Subject: [PATCH 22/96] s --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9aad86e..51a89a7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,4 +34,4 @@ jobs: with: # path: ${{ runner.workspace }}/b/ninja/simc path: ${{ runner.workspace }}/README.md - key: simc-clang++-18-cpp17-${{ env.sha }} + key: simc-clang++-18-cpp17-${{ env.SHA }} From 268f295baab157d8ec82d523e7a2b76f32e418da Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:24:27 -0600 Subject: [PATCH 23/96] t --- .github/workflows/build.yml | 16 ++++++---------- .github/workflows/main.yml | 5 +++++ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 51a89a7..aae392d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,19 +19,15 @@ jobs: -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++-18 \ -DCMAKE_CXX_STANDARD=17 -DSC_NO_NETWORKING=ON - - name: ident + - name: build run: | - echo "SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV - echo $SHA - echo ${{ env.SHA }} - echo ${{ env.sha }} + ninja -C '${{ runner.workspace }}/b/ninja' - # - name: build - # run: | - # ninja -C '${{ runner.workspace }}/b/ninja' + - name: cache_key + run: | + echo "SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV - uses: actions/cache@v5 with: - # path: ${{ runner.workspace }}/b/ninja/simc - path: ${{ runner.workspace }}/README.md + path: ${{ runner.workspace }}/b/ninja/simc key: simc-clang++-18-cpp17-${{ env.SHA }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 87ad32b..dee01be 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,5 +3,10 @@ name: CI on: [pull_request, push] jobs: + # ci: + # runs-on: ubuntu-latest + + # steps: + # - uses: actions/cache/restore@v5 build: uses: ./.github/workflows/build.yml From e25dac38aa62cf56833543ed2e2dbfad8e2d05c9 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:37:31 -0600 Subject: [PATCH 24/96] u --- .github/workflows/main.yml | 17 +++++++++++------ .github/workflows/setup_simc.yml | 29 +++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/setup_simc.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dee01be..46adccf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,10 +3,15 @@ name: CI on: [pull_request, push] jobs: - # ci: - # runs-on: ubuntu-latest + CI: + runs-on: ubuntu-latest - # steps: - # - uses: actions/cache/restore@v5 - build: - uses: ./.github/workflows/build.yml + steps: + - uses: actions/checkout@v6 + path: ${{ runner.workspace }}/simc-profile/ + + - name: validate + run: | + git diff-tree --no-commit-id --name-only HAED -r | xargs python ${{ runner.workspace }}/simc-profile/scripts/validate.py + + # - uses: ./.github/workflows/setup_simc.yml diff --git a/.github/workflows/setup_simc.yml b/.github/workflows/setup_simc.yml new file mode 100644 index 0000000..591fd97 --- /dev/null +++ b/.github/workflows/setup_simc.yml @@ -0,0 +1,29 @@ +name: setup_simc + +on: + workflow_call + +jobs: + setup_simc: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v6 + with: + repository: simulationcraft/simc + path: ${{ runner.workspace }}/simc/ + sparse-checkout: 'LICENSE' + + - name: cache_key + run: | + cd ${{ runner.workspace }}/simc/ + echo "SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV + cd ${{ runner.workspace }} + + - uses: actions/cache/restore@v5 + id: restore_cache + with: ${{ runner.workspace }}/simc/b/ninja/ + key: simc-clang++-18-cpp17-${{ env.SHA }} + + - uses: ./.github/workflows/build.yml + if: steps.restore_cache.outcome == 'failure' From 8302e41c09d78e0ae8d2b7d6d4cedc2410eb2148 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:38:22 -0600 Subject: [PATCH 25/96] v --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 46adccf..0a9dfe4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,7 +8,8 @@ jobs: steps: - uses: actions/checkout@v6 - path: ${{ runner.workspace }}/simc-profile/ + with: + path: ${{ runner.workspace }}/simc-profile/ - name: validate run: | From df4f2c5185a6ab3282f802d991c944fcdba5182a Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:38:58 -0600 Subject: [PATCH 26/96] w --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0a9dfe4..82d2b83 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,6 +13,6 @@ jobs: - name: validate run: | - git diff-tree --no-commit-id --name-only HAED -r | xargs python ${{ runner.workspace }}/simc-profile/scripts/validate.py + git diff-tree --no-commit-id --name-only HEAD -r | xargs python ${{ runner.workspace }}/simc-profile/scripts/validate.py # - uses: ./.github/workflows/setup_simc.yml From db445e6ace384149e2a13c40af615ef711a97aca Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:39:58 -0600 Subject: [PATCH 27/96] x --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 82d2b83..fcd0c90 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,6 +13,6 @@ jobs: - name: validate run: | - git diff-tree --no-commit-id --name-only HEAD -r | xargs python ${{ runner.workspace }}/simc-profile/scripts/validate.py + git diff-tree --no-commit-id --name-only HEAD -r # - uses: ./.github/workflows/setup_simc.yml From 25856abad4f41653986e173a45258d2312d6ed73 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:41:00 -0600 Subject: [PATCH 28/96] y --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fcd0c90..dadf1cb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,6 +13,7 @@ jobs: - name: validate run: | + cd ${{ runner.workspace }}/simc-profile/ git diff-tree --no-commit-id --name-only HEAD -r # - uses: ./.github/workflows/setup_simc.yml From 30226c0ccbecfc57e159657d28d552aa2b467fbd Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:41:41 -0600 Subject: [PATCH 29/96] z --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dadf1cb..c9e50c4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,6 +13,7 @@ jobs: - name: validate run: | + tree cd ${{ runner.workspace }}/simc-profile/ git diff-tree --no-commit-id --name-only HEAD -r From acca832b3efecc107c57eb910fce1d680d666ac4 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:45:35 -0600 Subject: [PATCH 30/96] aa --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c9e50c4..7bd22d3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,6 +10,7 @@ jobs: - uses: actions/checkout@v6 with: path: ${{ runner.workspace }}/simc-profile/ + fetch-depth: 2 - name: validate run: | From 6b187a9a5af2b4f73c82143324f5334597e83ca9 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:47:17 -0600 Subject: [PATCH 31/96] ab --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7bd22d3..5b2410c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,6 +16,6 @@ jobs: run: | tree cd ${{ runner.workspace }}/simc-profile/ - git diff-tree --no-commit-id --name-only HEAD -r + git diff --name-only HEAD^1 HEAD # - uses: ./.github/workflows/setup_simc.yml From 752be2df6555d42286b9eebdc1434b383fffe8d6 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:50:03 -0600 Subject: [PATCH 32/96] ac --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5b2410c..5e3d417 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,6 +16,6 @@ jobs: run: | tree cd ${{ runner.workspace }}/simc-profile/ - git diff --name-only HEAD^1 HEAD + git diff --name-only HEAD^1 HEAD | xargs python ${{ runner.workspace }}/simc-profile/scripts/validate.py # - uses: ./.github/workflows/setup_simc.yml From 216f893b7934abf2a8243ae932d5d3f0a5d4018e Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:52:33 -0600 Subject: [PATCH 33/96] ad --- .github/workflows/main.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5e3d417..f7c0b78 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,10 +12,14 @@ jobs: path: ${{ runner.workspace }}/simc-profile/ fetch-depth: 2 - - name: validate + - name: modified_files run: | - tree cd ${{ runner.workspace }}/simc-profile/ - git diff --name-only HEAD^1 HEAD | xargs python ${{ runner.workspace }}/simc-profile/scripts/validate.py + echo "MODIFIED_FILES=$(git diff --name-only HEAD^1 HEAD | xargs)" >> $GITHUB_ENV + + - name: validate + run: | + echo ${{ env.MODIFIED_FILES }} + python ${{ runner.workspace }}/simc-profile/scripts/validate.py ${{ env.MODIFIED_FILES }} # - uses: ./.github/workflows/setup_simc.yml From 53ece40abd9d0a19d887896ba1a58c91074778f2 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:54:01 -0600 Subject: [PATCH 34/96] ae --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f7c0b78..def36f1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: - name: modified_files run: | cd ${{ runner.workspace }}/simc-profile/ - echo "MODIFIED_FILES=$(git diff --name-only HEAD^1 HEAD | xargs)" >> $GITHUB_ENV + echo "MODIFIED_FILES=$(git diff --name-only HEAD^1 HEAD -- '***.simc' | xargs)" >> $GITHUB_ENV - name: validate run: | From 6653ff50e3b553ec78f0367f66d0229071a93dda Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:54:43 -0600 Subject: [PATCH 35/96] af --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index def36f1..3ebb558 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,6 +18,7 @@ jobs: echo "MODIFIED_FILES=$(git diff --name-only HEAD^1 HEAD -- '***.simc' | xargs)" >> $GITHUB_ENV - name: validate + if: ${{ env.MODIFIED_FILES }} != '' run: | echo ${{ env.MODIFIED_FILES }} python ${{ runner.workspace }}/simc-profile/scripts/validate.py ${{ env.MODIFIED_FILES }} From 6321cf192b2a59e3a8d29f0af723b394ce19b7c3 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Mon, 1 Jun 2026 23:56:06 -0600 Subject: [PATCH 36/96] ag --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3ebb558..4fbad79 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,9 +18,10 @@ jobs: echo "MODIFIED_FILES=$(git diff --name-only HEAD^1 HEAD -- '***.simc' | xargs)" >> $GITHUB_ENV - name: validate - if: ${{ env.MODIFIED_FILES }} != '' + # if: ${{ env.MODIFIED_FILES }} != '' run: | echo ${{ env.MODIFIED_FILES }} - python ${{ runner.workspace }}/simc-profile/scripts/validate.py ${{ env.MODIFIED_FILES }} + find ${{ runner.workspace }}/simc-profile/profiles -type f | xargs python ${{ runner.workspace }}/simc-profile/scripts/validate.py + # python ${{ runner.workspace }}/simc-profile/scripts/validate.py ${{ env.MODIFIED_FILES }} # - uses: ./.github/workflows/setup_simc.yml From 57a3e30d00c180139ec3ef9bd9a81befbb9440be Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Tue, 2 Jun 2026 00:05:08 -0600 Subject: [PATCH 37/96] ah --- .github/workflows/main.yml | 7 ++++++- profiles/monk/mistweaver.simc | 0 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 profiles/monk/mistweaver.simc diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4fbad79..9e10b26 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,12 @@ jobs: - name: modified_files run: | cd ${{ runner.workspace }}/simc-profile/ - echo "MODIFIED_FILES=$(git diff --name-only HEAD^1 HEAD -- '***.simc' | xargs)" >> $GITHUB_ENV + files=$(git diff --name-only HEAD^1 HEAD -- '***.simc' + if [[ -n "$files" ]]; then + echo "MODIFIED_FILES=$files" >> $GITHUB_ENV + else + exit 1 + fi - name: validate # if: ${{ env.MODIFIED_FILES }} != '' diff --git a/profiles/monk/mistweaver.simc b/profiles/monk/mistweaver.simc new file mode 100644 index 0000000..e69de29 From d050e0113f5df697a81ebeb4ff9d558cfb7bb366 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Tue, 2 Jun 2026 00:05:43 -0600 Subject: [PATCH 38/96] ai --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9e10b26..24b4370 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: - name: modified_files run: | cd ${{ runner.workspace }}/simc-profile/ - files=$(git diff --name-only HEAD^1 HEAD -- '***.simc' + files=$(git diff --name-only HEAD^1 HEAD -- '***.simc') if [[ -n "$files" ]]; then echo "MODIFIED_FILES=$files" >> $GITHUB_ENV else From d613f7a55a258fbcf1c60bd8273666ca6d2d17f7 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Tue, 2 Jun 2026 00:08:26 -0600 Subject: [PATCH 39/96] aj --- .github/workflows/main.yml | 2 +- profiles/monk/{mistweaver.simc => woowaster.simc} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename profiles/monk/{mistweaver.simc => woowaster.simc} (100%) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 24b4370..9ffc824 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: - name: modified_files run: | cd ${{ runner.workspace }}/simc-profile/ - files=$(git diff --name-only HEAD^1 HEAD -- '***.simc') + files=$(git show --diff-filter=AM --no-commit-id --name-only HEAD -- '***.simc') if [[ -n "$files" ]]; then echo "MODIFIED_FILES=$files" >> $GITHUB_ENV else diff --git a/profiles/monk/mistweaver.simc b/profiles/monk/woowaster.simc similarity index 100% rename from profiles/monk/mistweaver.simc rename to profiles/monk/woowaster.simc From 559ec7f9e32299aa5bee592a55e4c2b91d9c76b9 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Tue, 2 Jun 2026 00:11:22 -0600 Subject: [PATCH 40/96] ak --- .github/workflows/main.yml | 2 ++ profiles/mage/gigamage.simc | 1 + profiles/monk/woowaster.simc | 0 3 files changed, 3 insertions(+) create mode 100644 profiles/mage/gigamage.simc delete mode 100644 profiles/monk/woowaster.simc diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9ffc824..53d86b9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,10 +13,12 @@ jobs: fetch-depth: 2 - name: modified_files + continue-on-error: true run: | cd ${{ runner.workspace }}/simc-profile/ files=$(git show --diff-filter=AM --no-commit-id --name-only HEAD -- '***.simc') if [[ -n "$files" ]]; then + echo $files echo "MODIFIED_FILES=$files" >> $GITHUB_ENV else exit 1 diff --git a/profiles/mage/gigamage.simc b/profiles/mage/gigamage.simc new file mode 100644 index 0000000..0018b37 --- /dev/null +++ b/profiles/mage/gigamage.simc @@ -0,0 +1 @@ +asdflkjasflkj diff --git a/profiles/monk/woowaster.simc b/profiles/monk/woowaster.simc deleted file mode 100644 index e69de29..0000000 From b61a15df9fd821e9b305f592fdf9168428c7771e Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Tue, 2 Jun 2026 00:12:13 -0600 Subject: [PATCH 41/96] al --- .github/workflows/main.yml | 2 +- profiles/mage/gigamage.simc | 1 - profiles/monk/woowaster.simc | 0 3 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 profiles/mage/gigamage.simc create mode 100644 profiles/monk/woowaster.simc diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 53d86b9..b80cf1a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,8 +17,8 @@ jobs: run: | cd ${{ runner.workspace }}/simc-profile/ files=$(git show --diff-filter=AM --no-commit-id --name-only HEAD -- '***.simc') + echo $files if [[ -n "$files" ]]; then - echo $files echo "MODIFIED_FILES=$files" >> $GITHUB_ENV else exit 1 diff --git a/profiles/mage/gigamage.simc b/profiles/mage/gigamage.simc deleted file mode 100644 index 0018b37..0000000 --- a/profiles/mage/gigamage.simc +++ /dev/null @@ -1 +0,0 @@ -asdflkjasflkj diff --git a/profiles/monk/woowaster.simc b/profiles/monk/woowaster.simc new file mode 100644 index 0000000..e69de29 From b024c3378913e93b51ee74a314037eaad11dcdd5 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Tue, 2 Jun 2026 00:14:00 -0600 Subject: [PATCH 42/96] am --- .github/workflows/main.yml | 1 + profiles/mage/kalsdfj.simc | 1 + profiles/monk/woowaster.simc | 0 3 files changed, 2 insertions(+) create mode 100644 profiles/mage/kalsdfj.simc delete mode 100644 profiles/monk/woowaster.simc diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b80cf1a..0978fd0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,6 +18,7 @@ jobs: cd ${{ runner.workspace }}/simc-profile/ files=$(git show --diff-filter=AM --no-commit-id --name-only HEAD -- '***.simc') echo $files + echo $($files) if [[ -n "$files" ]]; then echo "MODIFIED_FILES=$files" >> $GITHUB_ENV else diff --git a/profiles/mage/kalsdfj.simc b/profiles/mage/kalsdfj.simc new file mode 100644 index 0000000..49847c1 --- /dev/null +++ b/profiles/mage/kalsdfj.simc @@ -0,0 +1 @@ +LKSDJFLKSD diff --git a/profiles/monk/woowaster.simc b/profiles/monk/woowaster.simc deleted file mode 100644 index e69de29..0000000 From 67af2ecdd18973b6a9b2834da7493fa85e7add4e Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:14:04 -0600 Subject: [PATCH 43/96] an --- profiles/mage/kalsdfj.simc | 1 - profiles/mage/kalsdfjiasdf.simc | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 profiles/mage/kalsdfj.simc create mode 100644 profiles/mage/kalsdfjiasdf.simc diff --git a/profiles/mage/kalsdfj.simc b/profiles/mage/kalsdfj.simc deleted file mode 100644 index 49847c1..0000000 --- a/profiles/mage/kalsdfj.simc +++ /dev/null @@ -1 +0,0 @@ -LKSDJFLKSD diff --git a/profiles/mage/kalsdfjiasdf.simc b/profiles/mage/kalsdfjiasdf.simc new file mode 100644 index 0000000..dcd5ebd --- /dev/null +++ b/profiles/mage/kalsdfjiasdf.simc @@ -0,0 +1 @@ +LKSDJFLKaoifdsSD From f2d840cafb1312b52fe4857a0c931b331d25bc2a Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:15:37 -0600 Subject: [PATCH 44/96] ao --- .github/workflows/main.yml | 1 + profiles/mage/kalsdfjiasdf.simc | 1 - profiles/mage/kalsdfjiasdfg.simc | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) delete mode 100644 profiles/mage/kalsdfjiasdf.simc create mode 100644 profiles/mage/kalsdfjiasdfg.simc diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0978fd0..9625c56 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,6 +16,7 @@ jobs: continue-on-error: true run: | cd ${{ runner.workspace }}/simc-profile/ + git show --diff-filter=AM --no-commit-id --name-only HEAD files=$(git show --diff-filter=AM --no-commit-id --name-only HEAD -- '***.simc') echo $files echo $($files) diff --git a/profiles/mage/kalsdfjiasdf.simc b/profiles/mage/kalsdfjiasdf.simc deleted file mode 100644 index dcd5ebd..0000000 --- a/profiles/mage/kalsdfjiasdf.simc +++ /dev/null @@ -1 +0,0 @@ -LKSDJFLKaoifdsSD diff --git a/profiles/mage/kalsdfjiasdfg.simc b/profiles/mage/kalsdfjiasdfg.simc new file mode 100644 index 0000000..be3d749 --- /dev/null +++ b/profiles/mage/kalsdfjiasdfg.simc @@ -0,0 +1 @@ +LKSDJFLKaoifdsSDa From d5bbc75940a71ac8d6ce8940f319dc94994108f6 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:16:15 -0600 Subject: [PATCH 45/96] ap --- .github/workflows/main.yml | 16 ++++++++-------- profiles/mage/kalsdfjiasdf.simc | 1 + profiles/mage/kalsdfjiasdfg.simc | 1 - 3 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 profiles/mage/kalsdfjiasdf.simc delete mode 100644 profiles/mage/kalsdfjiasdfg.simc diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9625c56..6fb5028 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,14 +17,14 @@ jobs: run: | cd ${{ runner.workspace }}/simc-profile/ git show --diff-filter=AM --no-commit-id --name-only HEAD - files=$(git show --diff-filter=AM --no-commit-id --name-only HEAD -- '***.simc') - echo $files - echo $($files) - if [[ -n "$files" ]]; then - echo "MODIFIED_FILES=$files" >> $GITHUB_ENV - else - exit 1 - fi + # files=$(git show --diff-filter=AM --no-commit-id --name-only HEAD -- '***.simc') + # echo $files + # echo $($files) + # if [[ -n "$files" ]]; then + # echo "MODIFIED_FILES=$files" >> $GITHUB_ENV + # else + # exit 1 + # fi - name: validate # if: ${{ env.MODIFIED_FILES }} != '' diff --git a/profiles/mage/kalsdfjiasdf.simc b/profiles/mage/kalsdfjiasdf.simc new file mode 100644 index 0000000..dcd5ebd --- /dev/null +++ b/profiles/mage/kalsdfjiasdf.simc @@ -0,0 +1 @@ +LKSDJFLKaoifdsSD diff --git a/profiles/mage/kalsdfjiasdfg.simc b/profiles/mage/kalsdfjiasdfg.simc deleted file mode 100644 index be3d749..0000000 --- a/profiles/mage/kalsdfjiasdfg.simc +++ /dev/null @@ -1 +0,0 @@ -LKSDJFLKaoifdsSDa From 28df279d9ee5305412538f54c0eff8650c5c6cd6 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:17:35 -0600 Subject: [PATCH 46/96] aq --- .github/workflows/main.yml | 2 +- profiles/mage/kalsdfjiasdf.simc | 1 - profiles/mage/kalsdfjiasdfg.simc | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 profiles/mage/kalsdfjiasdf.simc create mode 100644 profiles/mage/kalsdfjiasdfg.simc diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6fb5028..ab8f5fe 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs: continue-on-error: true run: | cd ${{ runner.workspace }}/simc-profile/ - git show --diff-filter=AM --no-commit-id --name-only HEAD + git diff --diff-filter=AM --no-commit-id --name-only HEAD~1 # files=$(git show --diff-filter=AM --no-commit-id --name-only HEAD -- '***.simc') # echo $files # echo $($files) diff --git a/profiles/mage/kalsdfjiasdf.simc b/profiles/mage/kalsdfjiasdf.simc deleted file mode 100644 index dcd5ebd..0000000 --- a/profiles/mage/kalsdfjiasdf.simc +++ /dev/null @@ -1 +0,0 @@ -LKSDJFLKaoifdsSD diff --git a/profiles/mage/kalsdfjiasdfg.simc b/profiles/mage/kalsdfjiasdfg.simc new file mode 100644 index 0000000..be3d749 --- /dev/null +++ b/profiles/mage/kalsdfjiasdfg.simc @@ -0,0 +1 @@ +LKSDJFLKaoifdsSDa From e6ac0e939eeb5fa2c3f950081f77d2e290053215 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:18:22 -0600 Subject: [PATCH 47/96] ar --- .github/workflows/main.yml | 2 +- profiles/mage/kalsdfjiasdf.simc | 1 + profiles/mage/kalsdfjiasdfg.simc | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 profiles/mage/kalsdfjiasdf.simc delete mode 100644 profiles/mage/kalsdfjiasdfg.simc diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ab8f5fe..03bf7f4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,7 @@ jobs: continue-on-error: true run: | cd ${{ runner.workspace }}/simc-profile/ - git diff --diff-filter=AM --no-commit-id --name-only HEAD~1 + git diff --diff-filter=AM --no-commit-id --name-only HEAD~1 -- '***.simc' # files=$(git show --diff-filter=AM --no-commit-id --name-only HEAD -- '***.simc') # echo $files # echo $($files) diff --git a/profiles/mage/kalsdfjiasdf.simc b/profiles/mage/kalsdfjiasdf.simc new file mode 100644 index 0000000..dcd5ebd --- /dev/null +++ b/profiles/mage/kalsdfjiasdf.simc @@ -0,0 +1 @@ +LKSDJFLKaoifdsSD diff --git a/profiles/mage/kalsdfjiasdfg.simc b/profiles/mage/kalsdfjiasdfg.simc deleted file mode 100644 index be3d749..0000000 --- a/profiles/mage/kalsdfjiasdfg.simc +++ /dev/null @@ -1 +0,0 @@ -LKSDJFLKaoifdsSDa From fef10156ff20aeb6cae1c6be2fab56b6cf748da3 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:19:09 -0600 Subject: [PATCH 48/96] as --- .github/workflows/main.yml | 17 ++++++++--------- profiles/mage/kalsdfjiasdf.simc | 1 - profiles/mage/kalsdfjiasdfg.simc | 1 + 3 files changed, 9 insertions(+), 10 deletions(-) delete mode 100644 profiles/mage/kalsdfjiasdf.simc create mode 100644 profiles/mage/kalsdfjiasdfg.simc diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 03bf7f4..998c4fe 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,15 +16,14 @@ jobs: continue-on-error: true run: | cd ${{ runner.workspace }}/simc-profile/ - git diff --diff-filter=AM --no-commit-id --name-only HEAD~1 -- '***.simc' - # files=$(git show --diff-filter=AM --no-commit-id --name-only HEAD -- '***.simc') - # echo $files - # echo $($files) - # if [[ -n "$files" ]]; then - # echo "MODIFIED_FILES=$files" >> $GITHUB_ENV - # else - # exit 1 - # fi + files=$(git diff --diff-filter=AM --no-commit-id --name-only HEAD~1 -- '***.simc') + echo $files + echo $($files) + if [[ -n "$files" ]]; then + echo "MODIFIED_FILES=$files" >> $GITHUB_ENV + else + exit 1 + fi - name: validate # if: ${{ env.MODIFIED_FILES }} != '' diff --git a/profiles/mage/kalsdfjiasdf.simc b/profiles/mage/kalsdfjiasdf.simc deleted file mode 100644 index dcd5ebd..0000000 --- a/profiles/mage/kalsdfjiasdf.simc +++ /dev/null @@ -1 +0,0 @@ -LKSDJFLKaoifdsSD diff --git a/profiles/mage/kalsdfjiasdfg.simc b/profiles/mage/kalsdfjiasdfg.simc new file mode 100644 index 0000000..be3d749 --- /dev/null +++ b/profiles/mage/kalsdfjiasdfg.simc @@ -0,0 +1 @@ +LKSDJFLKaoifdsSDa From 67a1b2aa0f7c05025e8c3591dca11f5c30888154 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:19:57 -0600 Subject: [PATCH 49/96] at --- .github/workflows/main.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 998c4fe..2d41eea 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,6 @@ jobs: cd ${{ runner.workspace }}/simc-profile/ files=$(git diff --diff-filter=AM --no-commit-id --name-only HEAD~1 -- '***.simc') echo $files - echo $($files) if [[ -n "$files" ]]; then echo "MODIFIED_FILES=$files" >> $GITHUB_ENV else @@ -28,8 +27,8 @@ jobs: - name: validate # if: ${{ env.MODIFIED_FILES }} != '' run: | - echo ${{ env.MODIFIED_FILES }} - find ${{ runner.workspace }}/simc-profile/profiles -type f | xargs python ${{ runner.workspace }}/simc-profile/scripts/validate.py - # python ${{ runner.workspace }}/simc-profile/scripts/validate.py ${{ env.MODIFIED_FILES }} + # echo ${{ env.MODIFIED_FILES }} + # find ${{ runner.workspace }}/simc-profile/profiles -type f | xargs python ${{ runner.workspace }}/simc-profile/scripts/validate.py + python ${{ runner.workspace }}/simc-profile/scripts/validate.py ${{ env.MODIFIED_FILES }} # - uses: ./.github/workflows/setup_simc.yml From dba74f7dae7770244fa7e7317ca346fe74e044a2 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:23:27 -0600 Subject: [PATCH 50/96] validate profile paths --- scripts/execute.py | 2 ++ scripts/shared.py | 2 +- scripts/validate.py | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/execute.py b/scripts/execute.py index 1f01c70..ffbf967 100644 --- a/scripts/execute.py +++ b/scripts/execute.py @@ -9,6 +9,8 @@ def validate_header_option(line): def generate_simc_input(profiles: list[Profile]): for profile in profiles: + profile.validate() + profile.params = [] with open(profile) as handle: header = True diff --git a/scripts/shared.py b/scripts/shared.py index 33666d6..dd6ce7a 100644 --- a/scripts/shared.py +++ b/scripts/shared.py @@ -133,7 +133,7 @@ def validate(self): return if spec_name not in SPEC_NAMES[class_name]: - print(f'Profile {self} does not contain a valid specialization name. Try one of {", ".join(SPEC_NAMES[class_name])}.') + print(f'Profile {self} does not contain a valid specialization name. It should include one of {", ".join(SPEC_NAMES[class_name])}.') return # python has no way to nicely test if a string contains only printable ascii characters :) diff --git a/scripts/validate.py b/scripts/validate.py index 84d3699..10b7369 100644 --- a/scripts/validate.py +++ b/scripts/validate.py @@ -28,6 +28,7 @@ def parse_simc_option(line, profile): args = parser.parse_args() for profile in args.filenames: + profile.validate() class_name, trailing_fragment, _ = profile.path_parts() with open(profile) as handle: From c67f0060d9208a7eea5753124fc4cfa281bbc79d Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:31:40 -0600 Subject: [PATCH 51/96] au --- .github/workflows/main.yml | 15 ++++++++++----- .github/workflows/setup_simc.yml | 5 +++-- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2d41eea..1dd5158 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -24,11 +24,16 @@ jobs: exit 1 fi - - name: validate - # if: ${{ env.MODIFIED_FILES }} != '' + - name: validate_python run: | - # echo ${{ env.MODIFIED_FILES }} - # find ${{ runner.workspace }}/simc-profile/profiles -type f | xargs python ${{ runner.workspace }}/simc-profile/scripts/validate.py python ${{ runner.workspace }}/simc-profile/scripts/validate.py ${{ env.MODIFIED_FILES }} - # - uses: ./.github/workflows/setup_simc.yml + - uses: ./.github/workflows/setup_simc.yml + + - name: validate_simc + run: | + python ${{ runner.workspace }}/simc-profile/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --save /dev/null + + - name: execute_simc + run: | + python ${{ runner.workspace }}/simc-profile/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --execute diff --git a/.github/workflows/setup_simc.yml b/.github/workflows/setup_simc.yml index 591fd97..60fdb4a 100644 --- a/.github/workflows/setup_simc.yml +++ b/.github/workflows/setup_simc.yml @@ -22,8 +22,9 @@ jobs: - uses: actions/cache/restore@v5 id: restore_cache - with: ${{ runner.workspace }}/simc/b/ninja/ - key: simc-clang++-18-cpp17-${{ env.SHA }} + with: + path: ${{ runner.workspace }}/simc/b/ninja/simc + key: simc-clang++-18-cpp17-${{ env.SHA }} - uses: ./.github/workflows/build.yml if: steps.restore_cache.outcome == 'failure' From 379603c6ecfd2ca49a5fbc872403036b765f4b3f Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:37:57 -0600 Subject: [PATCH 52/96] av --- .github/workflows/main.yml | 2 +- .github/workflows/setup_simc.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1dd5158..273064f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,7 +28,7 @@ jobs: run: | python ${{ runner.workspace }}/simc-profile/scripts/validate.py ${{ env.MODIFIED_FILES }} - - uses: ./.github/workflows/setup_simc.yml + - uses: ./.github/workflows/setup_simc - name: validate_simc run: | diff --git a/.github/workflows/setup_simc.yml b/.github/workflows/setup_simc.yml index 60fdb4a..800adb4 100644 --- a/.github/workflows/setup_simc.yml +++ b/.github/workflows/setup_simc.yml @@ -26,5 +26,5 @@ jobs: path: ${{ runner.workspace }}/simc/b/ninja/simc key: simc-clang++-18-cpp17-${{ env.SHA }} - - uses: ./.github/workflows/build.yml + - uses: ./.github/workflows/build if: steps.restore_cache.outcome == 'failure' From aa59c1953580b388b345621737b74d45c97a2280 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:39:46 -0600 Subject: [PATCH 53/96] aw --- .github/workflows/main.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 273064f..88904ce 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,13 +9,13 @@ jobs: steps: - uses: actions/checkout@v6 with: - path: ${{ runner.workspace }}/simc-profile/ + # path: ${{ runner.workspace }}/simc-profile/ fetch-depth: 2 - name: modified_files continue-on-error: true run: | - cd ${{ runner.workspace }}/simc-profile/ + # cd ${{ runner.workspace }}/simc-profile/ files=$(git diff --diff-filter=AM --no-commit-id --name-only HEAD~1 -- '***.simc') echo $files if [[ -n "$files" ]]; then @@ -26,14 +26,17 @@ jobs: - name: validate_python run: | - python ${{ runner.workspace }}/simc-profile/scripts/validate.py ${{ env.MODIFIED_FILES }} + # python ${{ runner.workspace }}/simc-profile/scripts/validate.py ${{ env.MODIFIED_FILES }} + python ${{ runner.workspace }}/scripts/validate.py ${{ env.MODIFIED_FILES }} - uses: ./.github/workflows/setup_simc - name: validate_simc run: | - python ${{ runner.workspace }}/simc-profile/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --save /dev/null + # python ${{ runner.workspace }}/simc-profile/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --save /dev/null + python ${{ runner.workspace }}/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --save /dev/null - name: execute_simc run: | - python ${{ runner.workspace }}/simc-profile/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --execute + # python ${{ runner.workspace }}/simc-profile/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --execute + python ${{ runner.workspace }}/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --execute From 6c6775f5d37f2f815221abf51f017844b50be0e7 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:40:57 -0600 Subject: [PATCH 54/96] ax --- .github/workflows/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 88904ce..35db30a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,17 +26,17 @@ jobs: - name: validate_python run: | - # python ${{ runner.workspace }}/simc-profile/scripts/validate.py ${{ env.MODIFIED_FILES }} - python ${{ runner.workspace }}/scripts/validate.py ${{ env.MODIFIED_FILES }} + python ${{ runner.workspace }}/simc-profile/scripts/validate.py ${{ env.MODIFIED_FILES }} + # python ${{ runner.workspace }}/scripts/validate.py ${{ env.MODIFIED_FILES }} - - uses: ./.github/workflows/setup_simc + - uses: ./simc-profile/.github/workflows/setup_simc - name: validate_simc run: | - # python ${{ runner.workspace }}/simc-profile/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --save /dev/null - python ${{ runner.workspace }}/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --save /dev/null + python ${{ runner.workspace }}/simc-profile/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --save /dev/null + # python ${{ runner.workspace }}/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --save /dev/null - name: execute_simc run: | - # python ${{ runner.workspace }}/simc-profile/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --execute - python ${{ runner.workspace }}/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --execute + python ${{ runner.workspace }}/simc-profile/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --execute + # python ${{ runner.workspace }}/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --execute From 057dbe18505a5a84750ad9cda80bda4e35659638 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:41:29 -0600 Subject: [PATCH 55/96] ay --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 35db30a..018360b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,7 +29,7 @@ jobs: python ${{ runner.workspace }}/simc-profile/scripts/validate.py ${{ env.MODIFIED_FILES }} # python ${{ runner.workspace }}/scripts/validate.py ${{ env.MODIFIED_FILES }} - - uses: ./simc-profile/.github/workflows/setup_simc + - uses: ./.github/workflows/setup_simc - name: validate_simc run: | From e09ce5ac0e5e31fe86fec96ad0324db581e01dbc Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:42:06 -0600 Subject: [PATCH 56/96] az --- .github/workflows/main.yml | 2 +- .github/workflows/setup_simc.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 018360b..4af7a14 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,7 +29,7 @@ jobs: python ${{ runner.workspace }}/simc-profile/scripts/validate.py ${{ env.MODIFIED_FILES }} # python ${{ runner.workspace }}/scripts/validate.py ${{ env.MODIFIED_FILES }} - - uses: ./.github/workflows/setup_simc + - uses: ./.github/workflows/setup_simc.yml - name: validate_simc run: | diff --git a/.github/workflows/setup_simc.yml b/.github/workflows/setup_simc.yml index 800adb4..60fdb4a 100644 --- a/.github/workflows/setup_simc.yml +++ b/.github/workflows/setup_simc.yml @@ -26,5 +26,5 @@ jobs: path: ${{ runner.workspace }}/simc/b/ninja/simc key: simc-clang++-18-cpp17-${{ env.SHA }} - - uses: ./.github/workflows/build + - uses: ./.github/workflows/build.yml if: steps.restore_cache.outcome == 'failure' From edbb8d55c4292e77ef6a7707bc59040cf77e89c4 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:45:17 -0600 Subject: [PATCH 57/96] ba --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4af7a14..dd56e0e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,9 @@ jobs: # path: ${{ runner.workspace }}/simc-profile/ fetch-depth: 2 + - run: | + tree -a + - name: modified_files continue-on-error: true run: | From 21973f061ce9e5273a95ee69c6668c6f52def255 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:45:58 -0600 Subject: [PATCH 58/96] bb --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dd56e0e..7ee5456 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,6 +13,7 @@ jobs: fetch-depth: 2 - run: | + pwd tree -a - name: modified_files From 2f3f2152a005bf47cfc0436e114f8711df54426c Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:54:03 -0600 Subject: [PATCH 59/96] bc --- .github/workflows/build.yml | 33 ------------------------- .github/workflows/build/action.yml | 29 ++++++++++++++++++++++ .github/workflows/main.yml | 2 +- .github/workflows/setup_simc.yml | 30 ---------------------- .github/workflows/setup_simc/action.yml | 27 ++++++++++++++++++++ 5 files changed, 57 insertions(+), 64 deletions(-) delete mode 100644 .github/workflows/build.yml create mode 100644 .github/workflows/build/action.yml delete mode 100644 .github/workflows/setup_simc.yml create mode 100644 .github/workflows/setup_simc/action.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index aae392d..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: build - -on: - workflow_call - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v6 - with: - repository: simulationcraft/simc - - - name: configure - run: | - cmake -H. \ - -B'${{ runner.workspace }}/b/ninja' -GNinja -DBUILD_GUI=OFF \ - -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++-18 \ - -DCMAKE_CXX_STANDARD=17 -DSC_NO_NETWORKING=ON - - - name: build - run: | - ninja -C '${{ runner.workspace }}/b/ninja' - - - name: cache_key - run: | - echo "SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV - - - uses: actions/cache@v5 - with: - path: ${{ runner.workspace }}/b/ninja/simc - key: simc-clang++-18-cpp17-${{ env.SHA }} diff --git a/.github/workflows/build/action.yml b/.github/workflows/build/action.yml new file mode 100644 index 0000000..ef6a713 --- /dev/null +++ b/.github/workflows/build/action.yml @@ -0,0 +1,29 @@ +name: build + +runs: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v6 + with: + repository: simulationcraft/simc + + - name: configure + run: | + cmake -H. \ + -B'${{ runner.workspace }}/b/ninja' -GNinja -DBUILD_GUI=OFF \ + -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++-18 \ + -DCMAKE_CXX_STANDARD=17 -DSC_NO_NETWORKING=ON + + - name: build + run: | + ninja -C '${{ runner.workspace }}/b/ninja' + + - name: cache_key + run: | + echo "SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV + + - uses: actions/cache@v5 + with: + path: ${{ runner.workspace }}/b/ninja/simc + key: simc-clang++-18-cpp17-${{ env.SHA }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7ee5456..a0e6e20 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,7 +33,7 @@ jobs: python ${{ runner.workspace }}/simc-profile/scripts/validate.py ${{ env.MODIFIED_FILES }} # python ${{ runner.workspace }}/scripts/validate.py ${{ env.MODIFIED_FILES }} - - uses: ./.github/workflows/setup_simc.yml + - uses: ./.github/workflows/setup_simc - name: validate_simc run: | diff --git a/.github/workflows/setup_simc.yml b/.github/workflows/setup_simc.yml deleted file mode 100644 index 60fdb4a..0000000 --- a/.github/workflows/setup_simc.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: setup_simc - -on: - workflow_call - -jobs: - setup_simc: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v6 - with: - repository: simulationcraft/simc - path: ${{ runner.workspace }}/simc/ - sparse-checkout: 'LICENSE' - - - name: cache_key - run: | - cd ${{ runner.workspace }}/simc/ - echo "SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV - cd ${{ runner.workspace }} - - - uses: actions/cache/restore@v5 - id: restore_cache - with: - path: ${{ runner.workspace }}/simc/b/ninja/simc - key: simc-clang++-18-cpp17-${{ env.SHA }} - - - uses: ./.github/workflows/build.yml - if: steps.restore_cache.outcome == 'failure' diff --git a/.github/workflows/setup_simc/action.yml b/.github/workflows/setup_simc/action.yml new file mode 100644 index 0000000..8e4fbba --- /dev/null +++ b/.github/workflows/setup_simc/action.yml @@ -0,0 +1,27 @@ +name: setup_simc + +runs: + runs-on: ubuntu-latest + using: 'composite' + + steps: + - uses: actions/checkout@v6 + with: + repository: simulationcraft/simc + path: ${{ runner.workspace }}/simc/ + sparse-checkout: 'LICENSE' + + - name: cache_key + run: | + cd ${{ runner.workspace }}/simc/ + echo "SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV + cd ${{ runner.workspace }} + + - uses: actions/cache/restore@v5 + id: restore_cache + with: + path: ${{ runner.workspace }}/simc/b/ninja/simc + key: simc-clang++-18-cpp17-${{ env.SHA }} + + - uses: ./.github/workflows/build.yml + if: steps.restore_cache.outcome == 'failure' From 17b3ddac41840b57bca2404d07fbcc8effc8b754 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:55:20 -0600 Subject: [PATCH 60/96] bd --- .github/workflows/build/action.yml | 2 +- .github/workflows/setup_simc/action.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build/action.yml b/.github/workflows/build/action.yml index ef6a713..e102860 100644 --- a/.github/workflows/build/action.yml +++ b/.github/workflows/build/action.yml @@ -1,7 +1,7 @@ name: build runs: - runs-on: ubuntu-latest + using: 'composite' steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/setup_simc/action.yml b/.github/workflows/setup_simc/action.yml index 8e4fbba..2dfcf86 100644 --- a/.github/workflows/setup_simc/action.yml +++ b/.github/workflows/setup_simc/action.yml @@ -1,7 +1,6 @@ name: setup_simc runs: - runs-on: ubuntu-latest using: 'composite' steps: From 6d9ac5ae9b0cf33bb090b79e0f8efdcfcf1c04b1 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:57:08 -0600 Subject: [PATCH 61/96] be --- .github/workflows/build/action.yml | 3 +++ .github/workflows/main.yml | 2 +- .github/workflows/setup_simc/action.yml | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build/action.yml b/.github/workflows/build/action.yml index e102860..205cfd8 100644 --- a/.github/workflows/build/action.yml +++ b/.github/workflows/build/action.yml @@ -9,6 +9,7 @@ runs: repository: simulationcraft/simc - name: configure + shell: bash run: | cmake -H. \ -B'${{ runner.workspace }}/b/ninja' -GNinja -DBUILD_GUI=OFF \ @@ -16,10 +17,12 @@ runs: -DCMAKE_CXX_STANDARD=17 -DSC_NO_NETWORKING=ON - name: build + shell: bash run: | ninja -C '${{ runner.workspace }}/b/ninja' - name: cache_key + shell: bash run: | echo "SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a0e6e20..d5d16aa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,7 +33,7 @@ jobs: python ${{ runner.workspace }}/simc-profile/scripts/validate.py ${{ env.MODIFIED_FILES }} # python ${{ runner.workspace }}/scripts/validate.py ${{ env.MODIFIED_FILES }} - - uses: ./.github/workflows/setup_simc + - uses: .github/workflows/setup_simc - name: validate_simc run: | diff --git a/.github/workflows/setup_simc/action.yml b/.github/workflows/setup_simc/action.yml index 2dfcf86..a1265e5 100644 --- a/.github/workflows/setup_simc/action.yml +++ b/.github/workflows/setup_simc/action.yml @@ -11,6 +11,7 @@ runs: sparse-checkout: 'LICENSE' - name: cache_key + shell: bash run: | cd ${{ runner.workspace }}/simc/ echo "SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV @@ -22,5 +23,5 @@ runs: path: ${{ runner.workspace }}/simc/b/ninja/simc key: simc-clang++-18-cpp17-${{ env.SHA }} - - uses: ./.github/workflows/build.yml + - uses: .github/workflows/build.yml if: steps.restore_cache.outcome == 'failure' From 5d45a3924d1d67355ba2baf4a55e6032b7dba48a Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:58:56 -0600 Subject: [PATCH 62/96] bf --- .github/workflows/main.yml | 2 +- .github/workflows/setup_simc/action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d5d16aa..a0e6e20 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,7 +33,7 @@ jobs: python ${{ runner.workspace }}/simc-profile/scripts/validate.py ${{ env.MODIFIED_FILES }} # python ${{ runner.workspace }}/scripts/validate.py ${{ env.MODIFIED_FILES }} - - uses: .github/workflows/setup_simc + - uses: ./.github/workflows/setup_simc - name: validate_simc run: | diff --git a/.github/workflows/setup_simc/action.yml b/.github/workflows/setup_simc/action.yml index a1265e5..28555c4 100644 --- a/.github/workflows/setup_simc/action.yml +++ b/.github/workflows/setup_simc/action.yml @@ -23,5 +23,5 @@ runs: path: ${{ runner.workspace }}/simc/b/ninja/simc key: simc-clang++-18-cpp17-${{ env.SHA }} - - uses: .github/workflows/build.yml + - uses: ./.github/workflows/build.yml if: steps.restore_cache.outcome == 'failure' From 171eba272024265a6881d5e0dc32499e7d0fab92 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 01:03:58 -0600 Subject: [PATCH 63/96] bg --- .github/workflows/build/action.yml | 10 ++++------ .github/workflows/setup_simc/action.yml | 7 +++---- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build/action.yml b/.github/workflows/build/action.yml index 205cfd8..45ac704 100644 --- a/.github/workflows/build/action.yml +++ b/.github/workflows/build/action.yml @@ -4,27 +4,25 @@ runs: using: 'composite' steps: - - uses: actions/checkout@v6 - with: - repository: simulationcraft/simc - - name: configure shell: bash run: | cmake -H. \ - -B'${{ runner.workspace }}/b/ninja' -GNinja -DBUILD_GUI=OFF \ + -B'simc/b/ninja' -GNinja -DBUILD_GUI=OFF \ -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++-18 \ -DCMAKE_CXX_STANDARD=17 -DSC_NO_NETWORKING=ON - name: build shell: bash run: | - ninja -C '${{ runner.workspace }}/b/ninja' + ninja -C 'simc/b/ninja' - name: cache_key shell: bash run: | + cd simc/ echo "SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV + cd .. - uses: actions/cache@v5 with: diff --git a/.github/workflows/setup_simc/action.yml b/.github/workflows/setup_simc/action.yml index 28555c4..80264e6 100644 --- a/.github/workflows/setup_simc/action.yml +++ b/.github/workflows/setup_simc/action.yml @@ -7,15 +7,14 @@ runs: - uses: actions/checkout@v6 with: repository: simulationcraft/simc - path: ${{ runner.workspace }}/simc/ - sparse-checkout: 'LICENSE' + path: simc/ - name: cache_key shell: bash run: | - cd ${{ runner.workspace }}/simc/ + cd simc/ echo "SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV - cd ${{ runner.workspace }} + cd .. - uses: actions/cache/restore@v5 id: restore_cache From f990c220ec231f3cc59e37a0663966bc7df76455 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 01:06:49 -0600 Subject: [PATCH 64/96] bh --- .github/workflows/build/action.yml | 8 ++++---- .github/workflows/setup_simc/action.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build/action.yml b/.github/workflows/build/action.yml index 45ac704..e760e4e 100644 --- a/.github/workflows/build/action.yml +++ b/.github/workflows/build/action.yml @@ -7,15 +7,15 @@ runs: - name: configure shell: bash run: | - cmake -H. \ - -B'simc/b/ninja' -GNinja -DBUILD_GUI=OFF \ + cmake -H'simc-profile/simc/ \ + -B'simc-profile/simc/b/ninja' -GNinja -DBUILD_GUI=OFF \ -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++-18 \ -DCMAKE_CXX_STANDARD=17 -DSC_NO_NETWORKING=ON - name: build shell: bash run: | - ninja -C 'simc/b/ninja' + ninja -C 'simc-profile/simc/b/ninja' - name: cache_key shell: bash @@ -26,5 +26,5 @@ runs: - uses: actions/cache@v5 with: - path: ${{ runner.workspace }}/b/ninja/simc + path: simc-profile/simc/b/ninja/simc key: simc-clang++-18-cpp17-${{ env.SHA }} diff --git a/.github/workflows/setup_simc/action.yml b/.github/workflows/setup_simc/action.yml index 80264e6..d3fc9fe 100644 --- a/.github/workflows/setup_simc/action.yml +++ b/.github/workflows/setup_simc/action.yml @@ -7,14 +7,14 @@ runs: - uses: actions/checkout@v6 with: repository: simulationcraft/simc - path: simc/ + path: simc-profile/simc/ - name: cache_key shell: bash run: | - cd simc/ + cd simc-profile/simc/ echo "SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV - cd .. + cd ../.. - uses: actions/cache/restore@v5 id: restore_cache From 3c051e86e905a7a7e5d19f6f97b0de9d382ed66c Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 01:10:01 -0600 Subject: [PATCH 65/96] bi --- .github/workflows/main.yml | 4 ++-- .github/workflows/setup_simc/action.yml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a0e6e20..f729b54 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,10 +37,10 @@ jobs: - name: validate_simc run: | - python ${{ runner.workspace }}/simc-profile/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --save /dev/null + python ${{ runner.workspace }}/simc-profile/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc/b/ninja/simc --save /dev/null # python ${{ runner.workspace }}/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --save /dev/null - name: execute_simc run: | - python ${{ runner.workspace }}/simc-profile/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --execute + python ${{ runner.workspace }}/simc-profile/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc/b/ninja/simc --execute # python ${{ runner.workspace }}/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --execute diff --git a/.github/workflows/setup_simc/action.yml b/.github/workflows/setup_simc/action.yml index d3fc9fe..5426a83 100644 --- a/.github/workflows/setup_simc/action.yml +++ b/.github/workflows/setup_simc/action.yml @@ -18,9 +18,11 @@ runs: - uses: actions/cache/restore@v5 id: restore_cache + continue-on-error: true with: path: ${{ runner.workspace }}/simc/b/ninja/simc key: simc-clang++-18-cpp17-${{ env.SHA }} + fail-on-cache-miss: true - uses: ./.github/workflows/build.yml if: steps.restore_cache.outcome == 'failure' From d127a5e76f344ed96a071fa8400ced5d6516b2c2 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 01:10:49 -0600 Subject: [PATCH 66/96] bj --- .github/workflows/setup_simc/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/setup_simc/action.yml b/.github/workflows/setup_simc/action.yml index 5426a83..a660c24 100644 --- a/.github/workflows/setup_simc/action.yml +++ b/.github/workflows/setup_simc/action.yml @@ -24,5 +24,5 @@ runs: key: simc-clang++-18-cpp17-${{ env.SHA }} fail-on-cache-miss: true - - uses: ./.github/workflows/build.yml + - uses: ./.github/workflows/build if: steps.restore_cache.outcome == 'failure' From 60ff81ced2ff51dd593d54ed0f34cd22e410f929 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 01:11:42 -0600 Subject: [PATCH 67/96] bk --- .github/workflows/setup_simc/action.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/setup_simc/action.yml b/.github/workflows/setup_simc/action.yml index a660c24..4e25157 100644 --- a/.github/workflows/setup_simc/action.yml +++ b/.github/workflows/setup_simc/action.yml @@ -22,7 +22,6 @@ runs: with: path: ${{ runner.workspace }}/simc/b/ninja/simc key: simc-clang++-18-cpp17-${{ env.SHA }} - fail-on-cache-miss: true - uses: ./.github/workflows/build if: steps.restore_cache.outcome == 'failure' From 96f5e28d838153823c4c240555de10f0297df28c Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 01:13:43 -0600 Subject: [PATCH 68/96] bl --- .github/workflows/setup_simc/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/setup_simc/action.yml b/.github/workflows/setup_simc/action.yml index 4e25157..bd02b59 100644 --- a/.github/workflows/setup_simc/action.yml +++ b/.github/workflows/setup_simc/action.yml @@ -24,4 +24,4 @@ runs: key: simc-clang++-18-cpp17-${{ env.SHA }} - uses: ./.github/workflows/build - if: steps.restore_cache.outcome == 'failure' + if: steps.restore_cache.outputs.cache-hit != 'true' From b5c9b022d6dc678084325a6820846c45456507fc Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 01:14:31 -0600 Subject: [PATCH 69/96] bm --- .github/workflows/build/action.yml | 2 +- .github/workflows/main.yml | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build/action.yml b/.github/workflows/build/action.yml index e760e4e..a8a2cd6 100644 --- a/.github/workflows/build/action.yml +++ b/.github/workflows/build/action.yml @@ -7,7 +7,7 @@ runs: - name: configure shell: bash run: | - cmake -H'simc-profile/simc/ \ + cmake -H'simc-profile/simc/' \ -B'simc-profile/simc/b/ninja' -GNinja -DBUILD_GUI=OFF \ -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++-18 \ -DCMAKE_CXX_STANDARD=17 -DSC_NO_NETWORKING=ON diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f729b54..7a0f963 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,10 +12,6 @@ jobs: # path: ${{ runner.workspace }}/simc-profile/ fetch-depth: 2 - - run: | - pwd - tree -a - - name: modified_files continue-on-error: true run: | From b56214e4795166a5c1dd8863cb983e31c590801a Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 01:21:08 -0600 Subject: [PATCH 70/96] bn --- .github/workflows/.#main.yml | 1 + .github/workflows/build/action.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 120000 .github/workflows/.#main.yml diff --git a/.github/workflows/.#main.yml b/.github/workflows/.#main.yml new file mode 120000 index 0000000..2084372 --- /dev/null +++ b/.github/workflows/.#main.yml @@ -0,0 +1 @@ +kate@renanthera-l.1415:1780418666 \ No newline at end of file diff --git a/.github/workflows/build/action.yml b/.github/workflows/build/action.yml index a8a2cd6..eda92b7 100644 --- a/.github/workflows/build/action.yml +++ b/.github/workflows/build/action.yml @@ -20,9 +20,9 @@ runs: - name: cache_key shell: bash run: | - cd simc/ + cd simc-profile/simc/ echo "SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV - cd .. + cd ../.. - uses: actions/cache@v5 with: From 5c703e87d11f17a409d0b334f589e238d2f635d2 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 01:21:18 -0600 Subject: [PATCH 71/96] bo --- .github/workflows/.#main.yml | 1 - .github/workflows/main.yml | 16 ++++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) delete mode 120000 .github/workflows/.#main.yml diff --git a/.github/workflows/.#main.yml b/.github/workflows/.#main.yml deleted file mode 120000 index 2084372..0000000 --- a/.github/workflows/.#main.yml +++ /dev/null @@ -1 +0,0 @@ -kate@renanthera-l.1415:1780418666 \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7a0f963..87cb89a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,13 +9,11 @@ jobs: steps: - uses: actions/checkout@v6 with: - # path: ${{ runner.workspace }}/simc-profile/ fetch-depth: 2 - name: modified_files continue-on-error: true run: | - # cd ${{ runner.workspace }}/simc-profile/ files=$(git diff --diff-filter=AM --no-commit-id --name-only HEAD~1 -- '***.simc') echo $files if [[ -n "$files" ]]; then @@ -26,17 +24,19 @@ jobs: - name: validate_python run: | - python ${{ runner.workspace }}/simc-profile/scripts/validate.py ${{ env.MODIFIED_FILES }} - # python ${{ runner.workspace }}/scripts/validate.py ${{ env.MODIFIED_FILES }} + python ${{ runner.workspace }}/simc-profile/scripts/validate.py \ + ${{ env.MODIFIED_FILES }} - uses: ./.github/workflows/setup_simc - name: validate_simc run: | - python ${{ runner.workspace }}/simc-profile/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc/b/ninja/simc --save /dev/null - # python ${{ runner.workspace }}/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --save /dev/null + python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ + ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc/b/ninja/simc \ + --save /dev/null - name: execute_simc run: | - python ${{ runner.workspace }}/simc-profile/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc/b/ninja/simc --execute - # python ${{ runner.workspace }}/scripts/execute.py ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc/b/ninja/simc --execute + python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ + ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc/b/ninja/simc \ + --execute From e3addbc81c1fc1a434e899c10441792080e7ed30 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 01:30:41 -0600 Subject: [PATCH 72/96] bp --- .github/workflows/build/action.yml | 15 ++++++--------- .github/workflows/setup_simc/action.yml | 2 ++ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build/action.yml b/.github/workflows/build/action.yml index eda92b7..1146b94 100644 --- a/.github/workflows/build/action.yml +++ b/.github/workflows/build/action.yml @@ -1,5 +1,9 @@ name: build +inputs: + cache-key: + required: true + runs: using: 'composite' @@ -17,14 +21,7 @@ runs: run: | ninja -C 'simc-profile/simc/b/ninja' - - name: cache_key - shell: bash - run: | - cd simc-profile/simc/ - echo "SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV - cd ../.. - - - uses: actions/cache@v5 + - uses: actions/cache/save@v5 with: path: simc-profile/simc/b/ninja/simc - key: simc-clang++-18-cpp17-${{ env.SHA }} + key: simc-clang++-18-cpp17-${{ inputs.cache-key }} diff --git a/.github/workflows/setup_simc/action.yml b/.github/workflows/setup_simc/action.yml index bd02b59..76a2d9a 100644 --- a/.github/workflows/setup_simc/action.yml +++ b/.github/workflows/setup_simc/action.yml @@ -25,3 +25,5 @@ runs: - uses: ./.github/workflows/build if: steps.restore_cache.outputs.cache-hit != 'true' + with: + cache-key: ${{ env.SHA }} From 1114042adf705d159168bbe2f1a31c373e8f70d6 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 01:37:12 -0600 Subject: [PATCH 73/96] bq --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 87cb89a..4b96668 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,6 +29,10 @@ jobs: - uses: ./.github/workflows/setup_simc + - run: | + pwd + tree + - name: validate_simc run: | python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ From 7129071a63e246f0432a0c25649f8f39fa8f1d60 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 01:39:30 -0600 Subject: [PATCH 74/96] br --- .github/workflows/setup_simc/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/setup_simc/action.yml b/.github/workflows/setup_simc/action.yml index 76a2d9a..6a3f85a 100644 --- a/.github/workflows/setup_simc/action.yml +++ b/.github/workflows/setup_simc/action.yml @@ -20,7 +20,7 @@ runs: id: restore_cache continue-on-error: true with: - path: ${{ runner.workspace }}/simc/b/ninja/simc + path: simc-profile/simc/b/ninja/simc key: simc-clang++-18-cpp17-${{ env.SHA }} - uses: ./.github/workflows/build From badbe8ffca1455fe8d3d4cb5225cd779541e7cbe Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 01:42:53 -0600 Subject: [PATCH 75/96] bs --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4b96668..a638d75 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,11 +36,11 @@ jobs: - name: validate_simc run: | python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ - ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc/b/ninja/simc \ + ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ --save /dev/null - name: execute_simc run: | python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ - ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc/b/ninja/simc \ + ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ --execute From bf03f6e3f79d4e3d8fca2bdf0dba17e5eb13c9ac Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 01:45:03 -0600 Subject: [PATCH 76/96] bt --- profiles/monk/brewmaster.simc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiles/monk/brewmaster.simc b/profiles/monk/brewmaster.simc index 5bdb56a..ded1e7e 100644 --- a/profiles/monk/brewmaster.simc +++ b/profiles/monk/brewmaster.simc @@ -1,3 +1,5 @@ +#fight_style=patchwerk + monk=monk_brewmaster source=default spec=brewmaster From afefda8b37455777629d7a67d2b761b16a4ab624 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 01:46:11 -0600 Subject: [PATCH 77/96] bu --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a638d75..32c9c8e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: files=$(git diff --diff-filter=AM --no-commit-id --name-only HEAD~1 -- '***.simc') echo $files if [[ -n "$files" ]]; then - echo "MODIFIED_FILES=$files" >> $GITHUB_ENV + echo "MODIFIED_FILES='$files'" >> $GITHUB_ENV else exit 1 fi From 645e40767a88fd55e006b5384a52f8b5875d0c9c Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 01:47:05 -0600 Subject: [PATCH 78/96] bv --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 32c9c8e..5aa24d5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,10 +14,10 @@ jobs: - name: modified_files continue-on-error: true run: | - files=$(git diff --diff-filter=AM --no-commit-id --name-only HEAD~1 -- '***.simc') + files=$(git diff --diff-filter=AM --no-commit-id --name-only HEAD~1 -- '***.simc' | xargs) echo $files if [[ -n "$files" ]]; then - echo "MODIFIED_FILES='$files'" >> $GITHUB_ENV + echo "MODIFIED_FILES=$files" >> $GITHUB_ENV else exit 1 fi From 1e49877c9d96eb5d4ba8f807b1fdbdce3208bcc9 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 23:02:21 -0600 Subject: [PATCH 79/96] bw --- .github/workflows/main.yml | 10 +++++----- profiles/mage/kalsdfjiasdfg.simc | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 profiles/mage/kalsdfjiasdfg.simc diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5aa24d5..52c6541 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,11 +16,11 @@ jobs: run: | files=$(git diff --diff-filter=AM --no-commit-id --name-only HEAD~1 -- '***.simc' | xargs) echo $files - if [[ -n "$files" ]]; then - echo "MODIFIED_FILES=$files" >> $GITHUB_ENV - else - exit 1 - fi + # if [[ -n "$files" ]]; then + echo "MODIFIED_FILES=$files" >> $GITHUB_ENV + # else + # exit 2 + # fi - name: validate_python run: | diff --git a/profiles/mage/kalsdfjiasdfg.simc b/profiles/mage/kalsdfjiasdfg.simc deleted file mode 100644 index be3d749..0000000 --- a/profiles/mage/kalsdfjiasdfg.simc +++ /dev/null @@ -1 +0,0 @@ -LKSDJFLKaoifdsSDa From a5f40d9a49334676dca1b16ff1103d46384bfeff Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 23:14:09 -0600 Subject: [PATCH 80/96] bx --- .github/workflows/main.yml | 23 +++++++++++++++++++---- .github/workflows/setup_simc/action.yml | 4 ++++ scripts/execute.py | 21 ++++++++++++--------- scripts/shared.py | 13 ++++++++----- scripts/validate.py | 16 +++++++++++++--- 5 files changed, 56 insertions(+), 21 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 52c6541..bfdf0d3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,19 +28,34 @@ jobs: ${{ env.MODIFIED_FILES }} - uses: ./.github/workflows/setup_simc - - - run: | - pwd - tree + id: setup - name: validate_simc + if: steps.setup.outputs.rebuilt-simc != 'true' run: | python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ --save /dev/null + - name: validate_simc + if: steps.setup.outputs.rebuilt-simc == 'true' + run: | + find ${{ runner.workspace }}/simc-profile/profiles -type f \ + | xargs python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ + ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ + --save /dev/null + - name: execute_simc + if: steps.setup.outputs.rebuilt-simc != 'true' run: | python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ --execute + + - name: execute_simc + if: steps.setup.outputs.rebuilt-simc == 'true' + run: | + find ${{ runner.workspace }}/simc-profile/profiles -type f \ + | xargs python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ + ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ + --execute diff --git a/.github/workflows/setup_simc/action.yml b/.github/workflows/setup_simc/action.yml index 6a3f85a..2c54bad 100644 --- a/.github/workflows/setup_simc/action.yml +++ b/.github/workflows/setup_simc/action.yml @@ -1,5 +1,9 @@ name: setup_simc +outputs: + rebuilt-simc: + value: ${{ !steps.restore_cache.outputs.cache-hit }} + runs: using: 'composite' diff --git a/scripts/execute.py b/scripts/execute.py index ffbf967..472b202 100644 --- a/scripts/execute.py +++ b/scripts/execute.py @@ -30,19 +30,19 @@ def generate_simc_input(profiles: list[Profile]): profile.params.append(line) def run_sim(binary: Path, profiles: list[str], prefix: list[str], suffix: list[str] = []): - with subprocess.Popen([binary] + prefix + profiles + suffix, stdout=sys.stdout, stderr=sys.stderr) as _: - pass + with subprocess.Popen([binary] + prefix + profiles + suffix, stdout=sys.stdout, stderr=sys.stderr) as proc: + return proc.returncode def print_dps_data(filename: Path): - with subprocess.Popen(['jq', '[.sim.players[] | {name: .name, dps: .collected_data.dps}]', filename]) as _: - pass + with subprocess.Popen(['jq', '[.sim.players[] | {name: .name, dps: .collected_data.dps}]', filename]) as proc: + return proc.return_code def save_profiles(binary: Path, profiles: list[Profile], location: Path): params = [] for profile in profiles: params += profile.params params += [f'save={location}/{profile.expected_name()}.simc'] - run_sim(binary, params, ['output=/dev/null']) + return run_sim(binary, params, ['output=/dev/null']) def run_profiles(binary: Path, profiles: list[Profile]): prefix = [ @@ -50,7 +50,7 @@ def run_profiles(binary: Path, profiles: list[Profile]): 'target_error=0.05', 'json=/tmp/out.json' ] - run_sim(binary, [line for profile in profiles for line in profile.params], prefix) + return run_sim(binary, [line for profile in profiles for line in profile.params], prefix) parser = ArgumentParser(prog='SimulationCraft Profile Runner') parser.add_argument('filenames', nargs='+', type=Profile) @@ -62,9 +62,12 @@ def run_profiles(binary: Path, profiles: list[Profile]): generate_simc_input(args.filenames) +rc = [] if args.save: - save_profiles(args.binary, args.filenames, args.save) + rc.append(save_profiles(args.binary, args.filenames, args.save)) if args.execute: - run_profiles(args.binary, args.filenames) - print_dps_data('/tmp/out.json') + rc.append(run_profiles(args.binary, args.filenames)) + rc.append(print_dps_data('/tmp/out.json')) + +exit(max(rc)) diff --git a/scripts/shared.py b/scripts/shared.py index dd6ce7a..492e9b3 100644 --- a/scripts/shared.py +++ b/scripts/shared.py @@ -125,21 +125,24 @@ def validate(self): # =_ if not self.path.exists(): print(f'Path {self} does not exist.') - return + return False class_name, trailing_fragment, spec_name = self.path_parts() + if not class_name and not trailing_fragment and not spec_name: + return False + if class_name not in SPEC_NAMES.keys(): print(f'Profile {self} is not in a `profiles//` directory.') - return + return False if spec_name not in SPEC_NAMES[class_name]: print(f'Profile {self} does not contain a valid specialization name. It should include one of {", ".join(SPEC_NAMES[class_name])}.') - return + return False # python has no way to nicely test if a string contains only printable ascii characters :) if not all((c in 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_' for c in trailing_fragment[len(spec_name):])): print(f'Profile {self} trailing fragment {trailing_fragment[len(spec_name):]} is not alphanumeric.') - return + return False def expected_name(self): class_name, trailing_fragment, _ = self.path_parts() @@ -149,7 +152,7 @@ def path_parts(self): path_parts = PurePath.relative_to(self.path.resolve(), Path(__file__).resolve(), walk_up=True).parts[2:] if path_parts[0] != 'profiles': print(f'Profile {self} is not in the `profiles/` directory.') - return + return False, False, False trailing_fragment = path_parts[2].split('.')[:-1][0] return path_parts[1], trailing_fragment, trailing_fragment.split('_')[0] diff --git a/scripts/validate.py b/scripts/validate.py index 10b7369..09a5abf 100644 --- a/scripts/validate.py +++ b/scripts/validate.py @@ -27,8 +27,11 @@ def parse_simc_option(line, profile): args = parser.parse_args() +success = True + for profile in args.filenames: - profile.validate() + if not profile.validate(): + success = False class_name, trailing_fragment, _ = profile.path_parts() with open(profile) as handle: @@ -39,7 +42,14 @@ def parse_simc_option(line, profile): continue if line[0] == '#': if header: - parse_header_option(line[1:].strip(), profile) + if not parse_header_option(line[1:].strip(), profile): + success = False else: header = False - parse_simc_option(line, profile) + if not parse_simc_option(line, profile): + success = False + +if success: + exit(0) +else: + exit(1) From 03af6eb9400817e45b1d69789981a62dede23ee5 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 23:21:45 -0600 Subject: [PATCH 81/96] by --- profiles/monk/brewmaster.simc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/profiles/monk/brewmaster.simc b/profiles/monk/brewmaster.simc index ded1e7e..ac83d90 100644 --- a/profiles/monk/brewmaster.simc +++ b/profiles/monk/brewmaster.simc @@ -1,7 +1,6 @@ -#fight_style=patchwerk +#source=default monk=monk_brewmaster -source=default spec=brewmaster level=90 race=tauren From db62f1b527a728de01f6d16d841d6916d160eda1 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 23:24:57 -0600 Subject: [PATCH 82/96] bz --- scripts/shared.py | 2 ++ scripts/validate.py | 16 +++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/scripts/shared.py b/scripts/shared.py index 492e9b3..526b8a6 100644 --- a/scripts/shared.py +++ b/scripts/shared.py @@ -144,6 +144,8 @@ def validate(self): print(f'Profile {self} trailing fragment {trailing_fragment[len(spec_name):]} is not alphanumeric.') return False + return True + def expected_name(self): class_name, trailing_fragment, _ = self.path_parts() return f'{class_name}_{trailing_fragment}' diff --git a/scripts/validate.py b/scripts/validate.py index 09a5abf..94c9358 100644 --- a/scripts/validate.py +++ b/scripts/validate.py @@ -7,20 +7,30 @@ def parse_header_option(line, profile): # only validate header options if they look like they could be options if option.validate_key(HEADER_OPTIONS) and not option.validate_value(HEADER_OPTIONS): print(f'Profile {profile} has invalid Header option {option}.') + return False + + return True def parse_simc_option(line, profile): option = ParsedOption(line) if option.validate_class(profile): if not option.validate_class_value(profile): print(f'Profile {profile} has invalid name {option}. Expected {profile.expected_name()}.') - elif not option.validate_key(SIMC_OPTIONS): + return False + return True + + if not option.validate_key(SIMC_OPTIONS): print(f'Profile {profile} has invalid Profile option {option.key}.', end='') if option.validate_key(HEADER_OPTIONS): print(' Perhaps this option was intended to be placed in header?') else: print() + return False elif not option.validate_value(SIMC_OPTIONS): print(f'Profile {profile} has invalid Profile option {option}.') + return False + + return True parser = ArgumentParser(prog='SimulationCraft Profile Validator') parser.add_argument('filenames', nargs='+', type=Profile) @@ -31,6 +41,7 @@ def parse_simc_option(line, profile): for profile in args.filenames: if not profile.validate(): + print(profile) success = False class_name, trailing_fragment, _ = profile.path_parts() @@ -43,12 +54,15 @@ def parse_simc_option(line, profile): if line[0] == '#': if header: if not parse_header_option(line[1:].strip(), profile): + print(line) success = False else: header = False if not parse_simc_option(line, profile): + print(line) success = False +print(success) if success: exit(0) else: From c6b455b4e8aa603e79efa20c9642d60e5ca603de Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 23:28:01 -0600 Subject: [PATCH 83/96] ca --- scripts/execute.py | 2 +- scripts/validate.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/execute.py b/scripts/execute.py index 472b202..3f69de0 100644 --- a/scripts/execute.py +++ b/scripts/execute.py @@ -35,7 +35,7 @@ def run_sim(binary: Path, profiles: list[str], prefix: list[str], suffix: list[s def print_dps_data(filename: Path): with subprocess.Popen(['jq', '[.sim.players[] | {name: .name, dps: .collected_data.dps}]', filename]) as proc: - return proc.return_code + return proc.returncode def save_profiles(binary: Path, profiles: list[Profile], location: Path): params = [] diff --git a/scripts/validate.py b/scripts/validate.py index 94c9358..b998d72 100644 --- a/scripts/validate.py +++ b/scripts/validate.py @@ -62,7 +62,6 @@ def parse_simc_option(line, profile): print(line) success = False -print(success) if success: exit(0) else: From be332e32f21efbb60f5f0d4c988ea17ea9b52815 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 23:33:41 -0600 Subject: [PATCH 84/96] cb --- scripts/execute.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/execute.py b/scripts/execute.py index 3f69de0..b850666 100644 --- a/scripts/execute.py +++ b/scripts/execute.py @@ -30,12 +30,14 @@ def generate_simc_input(profiles: list[Profile]): profile.params.append(line) def run_sim(binary: Path, profiles: list[str], prefix: list[str], suffix: list[str] = []): - with subprocess.Popen([binary] + prefix + profiles + suffix, stdout=sys.stdout, stderr=sys.stderr) as proc: - return proc.returncode + proc = subprocess.Popen([binary] + prefix + profiles + suffix, stdout=sys.stdout, stderr=sys.stderr) + rc = proc.communicate() + return rc def print_dps_data(filename: Path): - with subprocess.Popen(['jq', '[.sim.players[] | {name: .name, dps: .collected_data.dps}]', filename]) as proc: - return proc.returncode + proc = subprocess.Popen(['jq', '[.sim.players[] | {name: .name, dps: .collected_data.dps}]', filename]) + rc = proc.communicate() + return rc def save_profiles(binary: Path, profiles: list[Profile], location: Path): params = [] From 76466de7e50c9ce9f4c594e6e6e2c0afc33f0f09 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 23:34:43 -0600 Subject: [PATCH 85/96] cc --- profiles/monk/brewmaster.simc | 2 -- 1 file changed, 2 deletions(-) diff --git a/profiles/monk/brewmaster.simc b/profiles/monk/brewmaster.simc index ac83d90..2939620 100644 --- a/profiles/monk/brewmaster.simc +++ b/profiles/monk/brewmaster.simc @@ -1,5 +1,3 @@ -#source=default - monk=monk_brewmaster spec=brewmaster level=90 From 2e5ace0a65d32f15d8a2973835d9683482d68af7 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 23:37:58 -0600 Subject: [PATCH 86/96] cd --- .github/workflows/main.yml | 8 ++++---- scripts/execute.py | 9 +++++---- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bfdf0d3..cac390d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,7 +35,7 @@ jobs: run: | python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ - --save /dev/null + --save . - name: validate_simc if: steps.setup.outputs.rebuilt-simc == 'true' @@ -43,17 +43,17 @@ jobs: find ${{ runner.workspace }}/simc-profile/profiles -type f \ | xargs python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ - --save /dev/null + --save . - name: execute_simc - if: steps.setup.outputs.rebuilt-simc != 'true' + if: steps.setup.outputs.rebuilt-simc != 'true' && github.event_name == 'push' && ( success() || failure() ) && github.repository == 'simulationcraft/simc-profile' && github.ref_name == github.event.repository.default_branch run: | python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ --execute - name: execute_simc - if: steps.setup.outputs.rebuilt-simc == 'true' + if: steps.setup.outputs.rebuilt-simc == 'true' && github.event_name == 'push' && ( success() || failure() ) && github.repository == 'simulationcraft/simc-profile' && github.ref_name == github.event.repository.default_branch run: | find ${{ runner.workspace }}/simc-profile/profiles -type f \ | xargs python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ diff --git a/scripts/execute.py b/scripts/execute.py index b850666..a9cb90e 100644 --- a/scripts/execute.py +++ b/scripts/execute.py @@ -31,13 +31,13 @@ def generate_simc_input(profiles: list[Profile]): def run_sim(binary: Path, profiles: list[str], prefix: list[str], suffix: list[str] = []): proc = subprocess.Popen([binary] + prefix + profiles + suffix, stdout=sys.stdout, stderr=sys.stderr) - rc = proc.communicate() - return rc + proc.wait() + return proc.returncode def print_dps_data(filename: Path): proc = subprocess.Popen(['jq', '[.sim.players[] | {name: .name, dps: .collected_data.dps}]', filename]) - rc = proc.communicate() - return rc + proc.wait() + return proc.returncode def save_profiles(binary: Path, profiles: list[Profile], location: Path): params = [] @@ -72,4 +72,5 @@ def run_profiles(binary: Path, profiles: list[Profile]): rc.append(run_profiles(args.binary, args.filenames)) rc.append(print_dps_data('/tmp/out.json')) +print(rc) exit(max(rc)) From 78acc7b8cc3ba7223edb095f8f3c8e679935b98e Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 23:39:28 -0600 Subject: [PATCH 87/96] ce --- scripts/execute.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/execute.py b/scripts/execute.py index a9cb90e..9253b63 100644 --- a/scripts/execute.py +++ b/scripts/execute.py @@ -50,7 +50,8 @@ def run_profiles(binary: Path, profiles: list[Profile]): prefix = [ 'output=/dev/null', 'target_error=0.05', - 'json=/tmp/out.json' + 'json=output.json', + 'html=output.html' ] return run_sim(binary, [line for profile in profiles for line in profile.params], prefix) From 45ef7251c14e3afa711b3a963e2625e93bea32c4 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 23:49:00 -0600 Subject: [PATCH 88/96] cd --- .github/workflows/main.yml | 46 +++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cac390d..d788942 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,29 +33,29 @@ jobs: - name: validate_simc if: steps.setup.outputs.rebuilt-simc != 'true' run: | - python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ - ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ - --save . - - - name: validate_simc - if: steps.setup.outputs.rebuilt-simc == 'true' - run: | - find ${{ runner.workspace }}/simc-profile/profiles -type f \ - | xargs python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ - ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ - --save . - - - name: execute_simc - if: steps.setup.outputs.rebuilt-simc != 'true' && github.event_name == 'push' && ( success() || failure() ) && github.repository == 'simulationcraft/simc-profile' && github.ref_name == github.event.repository.default_branch - run: | - python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ - ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ - --execute + if [[ "${{ steps.setup.outputs.rebuilt-simc }}" == "true" ]]; then + python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ + ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ + --save . + fi + if [[ "${{ steps.setup.outputs.rebuilt-simc }}" != "true" ]]; then + find ${{ runner.workspace }}/simc-profile/profiles -type f \ + | xargs python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ + -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ + --save . + fi - name: execute_simc - if: steps.setup.outputs.rebuilt-simc == 'true' && github.event_name == 'push' && ( success() || failure() ) && github.repository == 'simulationcraft/simc-profile' && github.ref_name == github.event.repository.default_branch + if: github.event_name == 'push' && ( success() || failure() ) && github.repository == 'simulationcraft/simc-profile' && github.ref_name == github.event.repository.default_branch run: | - find ${{ runner.workspace }}/simc-profile/profiles -type f \ - | xargs python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ - ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ - --execute + if [[ "${{ steps.setup.outputs.rebuilt-simc }}" == "true" ]]; then + python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ + ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ + --execute + fi + if [[ "${{ steps.setup.outputs.rebuilt-simc }}" != "true" ]]; then + find ${{ runner.workspace }}/simc-profile/profiles -type f \ + | xargs python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ + -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ + --execute + fi From f91a729b559760611aee8deeefa490ed46842e32 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Wed, 3 Jun 2026 23:59:19 -0600 Subject: [PATCH 89/96] ce --- .github/workflows/main.yml | 58 +++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 32 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d788942..3cf1721 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,15 +12,9 @@ jobs: fetch-depth: 2 - name: modified_files - continue-on-error: true run: | files=$(git diff --diff-filter=AM --no-commit-id --name-only HEAD~1 -- '***.simc' | xargs) - echo $files - # if [[ -n "$files" ]]; then echo "MODIFIED_FILES=$files" >> $GITHUB_ENV - # else - # exit 2 - # fi - name: validate_python run: | @@ -30,32 +24,32 @@ jobs: - uses: ./.github/workflows/setup_simc id: setup - - name: validate_simc - if: steps.setup.outputs.rebuilt-simc != 'true' + - name: validate_simc_pr + if: github.event_name == 'pull_request' run: | - if [[ "${{ steps.setup.outputs.rebuilt-simc }}" == "true" ]]; then - python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ - ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ - --save . - fi - if [[ "${{ steps.setup.outputs.rebuilt-simc }}" != "true" ]]; then - find ${{ runner.workspace }}/simc-profile/profiles -type f \ - | xargs python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ - -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ - --save . - fi - - - name: execute_simc + python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ + ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ + --save . + + - name: execute_simc_pr + if: github.event_name == 'pull_request' + run: | + python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ + ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ + --execute + + - name: validate_simc_main + if: github.event_name == 'push' && ( success() || failure() ) && github.repository == 'simulationcraft/simc-profile' && github.ref_name == github.event.repository.default_branch + run: | + find ${{ runner.workspace }}/simc-profile/profiles -type f \ + | xargs python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ + -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ + --save . + + - name: execute_simc_main if: github.event_name == 'push' && ( success() || failure() ) && github.repository == 'simulationcraft/simc-profile' && github.ref_name == github.event.repository.default_branch run: | - if [[ "${{ steps.setup.outputs.rebuilt-simc }}" == "true" ]]; then - python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ - ${{ env.MODIFIED_FILES }} -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ - --execute - fi - if [[ "${{ steps.setup.outputs.rebuilt-simc }}" != "true" ]]; then - find ${{ runner.workspace }}/simc-profile/profiles -type f \ - | xargs python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ - -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ - --execute - fi + find ${{ runner.workspace }}/simc-profile/profiles -type f \ + | xargs python ${{ runner.workspace }}/simc-profile/scripts/execute.py \ + -b ${{ runner.workspace }}/simc-profile/simc-profile/simc/b/ninja/simc \ + --execute From df0833127a831a86d2e29f0f8984e2e5a764702d Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Thu, 4 Jun 2026 00:01:33 -0600 Subject: [PATCH 90/96] cf --- scripts/execute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/execute.py b/scripts/execute.py index 9253b63..f3628b2 100644 --- a/scripts/execute.py +++ b/scripts/execute.py @@ -71,7 +71,7 @@ def run_profiles(binary: Path, profiles: list[Profile]): if args.execute: rc.append(run_profiles(args.binary, args.filenames)) - rc.append(print_dps_data('/tmp/out.json')) + rc.append(print_dps_data('output.json')) print(rc) exit(max(rc)) From eaed965f2adfed3750c3d82a5f3c18073d7d0d51 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Thu, 4 Jun 2026 00:03:23 -0600 Subject: [PATCH 91/96] cg --- profiles/monk/windwalker.simc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiles/monk/windwalker.simc b/profiles/monk/windwalker.simc index 04027e0..138e429 100644 --- a/profiles/monk/windwalker.simc +++ b/profiles/monk/windwalker.simc @@ -1,3 +1,5 @@ +#fight_style=patchwerk + monk=monk_windwalker spec=windwalker level=90 From 75a332239ac8e5da690fb5ed1a289d4c1f3b1e5f Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Thu, 4 Jun 2026 00:36:48 -0600 Subject: [PATCH 92/96] handle option reordering --- scripts/execute.py | 27 ++++++++++++++++++++++----- scripts/shared.py | 46 +++++++++++++++++++++++++++++----------------- 2 files changed, 51 insertions(+), 22 deletions(-) diff --git a/scripts/execute.py b/scripts/execute.py index f3628b2..7f13876 100644 --- a/scripts/execute.py +++ b/scripts/execute.py @@ -7,27 +7,44 @@ def validate_header_option(line): return ParsedOption(line).validate(HEADER_OPTIONS) +def handle_header_line(line, deferral_list): + option = ParsedOption(line) + if option.validate(HEADER_OPTIONS): + if option.scope(HEADER_OPTIONS) == 'player': + deferral_list.append(line) + return '' + else: + return line + return '' + def generate_simc_input(profiles: list[Profile]): for profile in profiles: profile.validate() profile.params = [] + deferred_options = [] + push_deferred_options = False with open(profile) as handle: header = True for line in handle.readlines(): line = line.strip() if not len(line): continue - if line[0] == '#': - if header and validate_header_option(line[1:].strip()): - line = line[1:].strip() - else: - line = '' + if line[0] == '#' and header: + line = handle_header_line(line[1:].strip(), deferred_options) + elif line[0] == '#' and not header: + line = '' else: + option = ParsedOption(line) + if option.validate_class(profile) and option.validate_class_value(profile): + push_deferred_options = True header = False if line != '': profile.params.append(line) + if push_deferred_options: + profile.params += deferred_options + deferred_options = [] def run_sim(binary: Path, profiles: list[str], prefix: list[str], suffix: list[str] = []): proc = subprocess.Popen([binary] + prefix + profiles + suffix, stdout=sys.stdout, stderr=sys.stderr) diff --git a/scripts/shared.py b/scripts/shared.py index 526b8a6..9e49a8e 100644 --- a/scripts/shared.py +++ b/scripts/shared.py @@ -24,22 +24,27 @@ class Option: ignore_value: bool values: list[str] case_sensitive: bool + scope: str - def __init__(self, key, values=[], ignore_value=False, case_sensitive=True): + def __init__(self, key, values=[], ignore_value=False, case_sensitive=True, scope='player'): self.key = key self.values = values self.ignore_value = ignore_value self.case_sensitive = case_sensitive + self.scope = scope def __eq__(self, other: ParsedOption): - if self.key != other.key: - return False - if self.ignore_value: - return True - if self.case_sensitive: - return other.value in self.values - else: - return other.value.lower() in self.values + if isinstance(other, ParsedOption): + if self.key != other.key: + return False + if self.ignore_value: + return True + if self.case_sensitive: + return other.value in self.values + else: + return other.value.lower() in self.values + assert False + return False class Options: options: list[Option] @@ -52,6 +57,10 @@ def __init__(self, *options): def __contains__(self, other): return other in self.options + def __iter__(self): + for option in self.options: + yield option + # class (handled separately as value depends on filename) SIMC_OPTIONS = Options( Option('level', ['90']), @@ -96,14 +105,14 @@ def __contains__(self, other): Option('warlock.default_pet', ['sayaad', 'succubus', 'incubus', 'felguard']), ) HEADER_OPTIONS = Options( - Option('desired_targets', ignore_value=True), - Option('fight_style', ['patchwerk', 'castingpatchwerk', 'dungeonslice']), - Option('source', ['default']), - Option('potion', ignore_value=True), - Option('flask', ignore_value=True), - Option('food', ignore_value=True), - Option('augmentation', ignore_value=True), - Option('temporary_enchant', ignore_value=True), + Option('desired_targets', ignore_value=True, scope='sim'), + Option('fight_style', ['patchwerk', 'castingpatchwerk', 'dungeonslice'], scope='sim'), + Option('source', ['default'], scope='player'), + Option('potion', ignore_value=True, scope='player'), + Option('flask', ignore_value=True, scope='player'), + Option('food', ignore_value=True, scope='player'), + Option('augmentation', ignore_value=True, scope='player'), + Option('temporary_enchant', ignore_value=True, scope='player'), ) class Profile: @@ -197,6 +206,9 @@ def __str__(self): return f'Invalid Option {self.key}' return f'{self.key}{self.operator}{self.value}' + def scope(self, options: Options): + return next((o for o in options if o == self)).scope + def validate_class(self, profile: Profile): class_name, _, _ = profile.path_parts() return self.parsed and self.key == class_name From 772b3a9da2b1dc79f7a8f5ac2b45b2dcb03a03ae Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Thu, 4 Jun 2026 00:37:44 -0600 Subject: [PATCH 93/96] ch --- profiles/monk/brewmaster.simc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiles/monk/brewmaster.simc b/profiles/monk/brewmaster.simc index 2939620..ac83d90 100644 --- a/profiles/monk/brewmaster.simc +++ b/profiles/monk/brewmaster.simc @@ -1,3 +1,5 @@ +#source=default + monk=monk_brewmaster spec=brewmaster level=90 From f8f4809ff06e0465b85b07ba0cf0efa4ce0b732d Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Thu, 4 Jun 2026 00:40:13 -0600 Subject: [PATCH 94/96] ci --- profiles/monk/brewmaster.simc | 2 -- profiles/monk/windwalker.simc | 2 -- 2 files changed, 4 deletions(-) diff --git a/profiles/monk/brewmaster.simc b/profiles/monk/brewmaster.simc index ac83d90..2939620 100644 --- a/profiles/monk/brewmaster.simc +++ b/profiles/monk/brewmaster.simc @@ -1,5 +1,3 @@ -#source=default - monk=monk_brewmaster spec=brewmaster level=90 diff --git a/profiles/monk/windwalker.simc b/profiles/monk/windwalker.simc index 138e429..04027e0 100644 --- a/profiles/monk/windwalker.simc +++ b/profiles/monk/windwalker.simc @@ -1,5 +1,3 @@ -#fight_style=patchwerk - monk=monk_windwalker spec=windwalker level=90 From f97397138a0b81000ff869f30226591e16325857 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Thu, 4 Jun 2026 00:40:43 -0600 Subject: [PATCH 95/96] cj --- profiles/monk/brewmaster.simc | 1 + 1 file changed, 1 insertion(+) diff --git a/profiles/monk/brewmaster.simc b/profiles/monk/brewmaster.simc index 2939620..5bdb56a 100644 --- a/profiles/monk/brewmaster.simc +++ b/profiles/monk/brewmaster.simc @@ -1,4 +1,5 @@ monk=monk_brewmaster +source=default spec=brewmaster level=90 race=tauren From 15970ada6b2305800e1a8f51f996aaff81ea6ae6 Mon Sep 17 00:00:00 2001 From: Kate Martin <51387586+renanthera@users.noreply.github.com> Date: Thu, 4 Jun 2026 00:43:07 -0600 Subject: [PATCH 96/96] ck --- scripts/execute.py | 5 ++++- scripts/validate.py | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/execute.py b/scripts/execute.py index 7f13876..f4eea79 100644 --- a/scripts/execute.py +++ b/scripts/execute.py @@ -73,7 +73,7 @@ def run_profiles(binary: Path, profiles: list[Profile]): return run_sim(binary, [line for profile in profiles for line in profile.params], prefix) parser = ArgumentParser(prog='SimulationCraft Profile Runner') -parser.add_argument('filenames', nargs='+', type=Profile) +parser.add_argument('filenames', nargs='*', type=Profile) parser.add_argument('-b', '--binary', type=Path, required=True, metavar='PATH') parser.add_argument('--save', type=Path, default=False, metavar='PATH', help='root directory to save all profiles') parser.add_argument('--execute', action='store_true', default=False, help='execute profiles') @@ -82,6 +82,9 @@ def run_profiles(binary: Path, profiles: list[Profile]): generate_simc_input(args.filenames) +if not len(args.filenames): + exit(0) + rc = [] if args.save: rc.append(save_profiles(args.binary, args.filenames, args.save)) diff --git a/scripts/validate.py b/scripts/validate.py index b998d72..ea14450 100644 --- a/scripts/validate.py +++ b/scripts/validate.py @@ -33,10 +33,13 @@ def parse_simc_option(line, profile): return True parser = ArgumentParser(prog='SimulationCraft Profile Validator') -parser.add_argument('filenames', nargs='+', type=Profile) +parser.add_argument('filenames', nargs='*', type=Profile) args = parser.parse_args() +if not len(args.filenames): + exit(0) + success = True for profile in args.filenames: