Repository navigation
ci(weekly): Ship vc6 and msvc build #3431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mirelle7
wants to merge
7
commits into
TheSuperHackers:main
Choose a base branch
from
mirelle7:ci/weekly-modern-build
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+375
−316
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
6916e37
build(cmake): Remove the unused unix preset
mirelle7 662b7b7
build(cmake): Select vcpkg per build instead of per preset
mirelle7 4813e55
build(cmake): Name presets <os>-<arch>-<compiler>
mirelle7 4ee5bee
ci(weekly): Ship VC6 and MSVC weekly builds
mirelle7 50f55e0
ci(weekly): Grant packages: write only to the vcpkg build jobs
mirelle7 38063df
fix(gameengine): Pass the default game title directly to FETCH_OR_SUB…
mirelle7 0c01f2d
ci: Build a non-retail configuration on every pull request
mirelle7 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -67,31 +67,37 @@ jobs: | |
| strategy: | ||
| matrix: | ||
| include: | ||
| - preset: "vc6" | ||
| - preset: "windows-x86-vc6" | ||
| tools: true | ||
| extras: true | ||
| - preset: "vc6-profile" | ||
| - preset: "windows-x86-vc6-profile" | ||
| tools: true | ||
| extras: true | ||
| - preset: "vc6-debug" | ||
| - preset: "windows-x86-vc6-debug" | ||
| tools: true | ||
| extras: true | ||
| - preset: "win32" | ||
| - preset: "windows-x86-msvc19" | ||
| tools: true | ||
| extras: true | ||
| - preset: "win32-profile" | ||
| vcpkg: true | ||
| - preset: "windows-x86-msvc19-profile" | ||
| tools: true | ||
| extras: true | ||
| - preset: "win32-debug" | ||
| vcpkg: true | ||
| - preset: "windows-x86-msvc19-debug" | ||
| tools: true | ||
| extras: true | ||
| - preset: "win32-vcpkg" | ||
| vcpkg: true | ||
| - preset: "windows-x86-msvc19" | ||
| tools: true | ||
| extras: true | ||
| - preset: "win32-vcpkg-profile" | ||
| - preset: "windows-x86-msvc19-profile" | ||
| tools: true | ||
| extras: true | ||
| - preset: "win32-vcpkg-debug" | ||
| - preset: "windows-x86-msvc19-debug" | ||
| tools: true | ||
| extras: true | ||
| - preset: "windows-x86-msvc19-nonretail" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I assume "nonretail" stands for the full wrath of fixes? That needs a different name, because the msvc19 builds are not retail compatible regardless. Maybe call it "gameplay-fixed" ? I do not have better name in mind right now. |
||
| tools: true | ||
| extras: true | ||
| fail-fast: false | ||
|
|
@@ -101,8 +107,9 @@ jobs: | |
| preset: ${{ matrix.preset }} | ||
| tools: ${{ matrix.tools }} | ||
| extras: ${{ matrix.extras }} | ||
| tests: ${{ startsWith(matrix.preset, 'win32') }} | ||
| benchmarks: ${{ matrix.preset == 'win32' }} | ||
| vcpkg: ${{ matrix.vcpkg || false }} | ||
| tests: ${{ startsWith(matrix.preset, 'windows-x86-msvc19') }} | ||
| benchmarks: ${{ matrix.preset == 'windows-x86-msvc19' && !matrix.vcpkg }} | ||
| secrets: inherit | ||
|
|
||
| # Note build-generalsmd is split into two jobs for vc6 and win32 because replaycheck-generalsmd | ||
|
|
@@ -116,16 +123,16 @@ jobs: | |
| strategy: | ||
| matrix: | ||
| include: | ||
| - preset: "vc6" | ||
| - preset: "windows-x86-vc6" | ||
| tools: true | ||
| extras: true | ||
| - preset: "vc6-profile" | ||
| - preset: "windows-x86-vc6-profile" | ||
| tools: true | ||
| extras: true | ||
| - preset: "vc6-debug" | ||
| - preset: "windows-x86-vc6-debug" | ||
| tools: true | ||
| extras: true | ||
| - preset: "vc6-releaselog" | ||
| - preset: "windows-x86-vc6-releaselog" | ||
| tools: true | ||
| extras: true | ||
| fail-fast: false | ||
|
|
@@ -147,23 +154,29 @@ jobs: | |
| strategy: | ||
| matrix: | ||
| include: | ||
| - preset: "win32" | ||
| - preset: "windows-x86-msvc19" | ||
| tools: true | ||
| extras: true | ||
| vcpkg: true | ||
| ffmpeg: true | ||
| - preset: "windows-x86-msvc19-profile" | ||
| tools: true | ||
| extras: true | ||
| - preset: "win32-profile" | ||
| vcpkg: true | ||
| - preset: "windows-x86-msvc19-debug" | ||
| tools: true | ||
| extras: true | ||
| - preset: "win32-debug" | ||
| vcpkg: true | ||
| - preset: "windows-x86-msvc19" | ||
| tools: true | ||
| extras: true | ||
| - preset: "win32-vcpkg" | ||
| - preset: "windows-x86-msvc19-profile" | ||
| tools: true | ||
| extras: true | ||
| ffmpeg: true | ||
| - preset: "win32-vcpkg-profile" | ||
| - preset: "windows-x86-msvc19-debug" | ||
| tools: true | ||
| extras: true | ||
| - preset: "win32-vcpkg-debug" | ||
| - preset: "windows-x86-msvc19-nonretail" | ||
| tools: true | ||
| extras: true | ||
| fail-fast: false | ||
|
|
@@ -173,9 +186,10 @@ jobs: | |
| preset: ${{ matrix.preset }} | ||
| tools: ${{ matrix.tools }} | ||
| extras: ${{ matrix.extras }} | ||
| vcpkg: ${{ matrix.vcpkg || false }} | ||
| ffmpeg: ${{ matrix.ffmpeg || false}} | ||
| tests: true | ||
| benchmarks: ${{ matrix.preset == 'win32' }} | ||
| benchmarks: ${{ matrix.preset == 'windows-x86-msvc19' && !matrix.vcpkg }} | ||
| secrets: inherit | ||
|
|
||
| replaycheck-generalsmd: | ||
|
|
@@ -187,8 +201,8 @@ jobs: | |
| strategy: | ||
| matrix: | ||
| include: | ||
| - preset: "vc6+t+e" | ||
| - preset: "vc6-releaselog+t+e" # optimized build with logging and crashing enabled should be compatible, so we test that here. | ||
| - preset: "windows-x86-vc6+t+e" | ||
| - preset: "windows-x86-vc6-releaselog+t+e" # optimized build with logging and crashing enabled should be compatible, so we test that here. | ||
| fail-fast: false | ||
| uses: ./.github/workflows/reusable-check-replays.yml | ||
| with: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| WARNING: This is a MSVC weekly build. It expects the data from | ||
| GeneralsGamePatch2 (https://github.com/TheSuperHackers/GeneralsGamePatch2). | ||
| Install it before playing, or the game may misbehave. | ||
|
|
||
| All players must use the same weekly version. This build cannot play | ||
| multiplayer against the VC6 or retail builds. | ||
|
|
||
| SAVE GAMES: Saves are not compatible with the VC6 or retail builds, and are only | ||
| guaranteed to load in the same weekly version they were made with. | ||
| Saves made with this build may not load there, and saves from those builds may | ||
| not load here. Back up your save games before using this build. | ||
|
|
||
| -------------------------------------------------------------------------------- | ||
|
|
||
| 警告:这是 MSVC 版每周构建。它需要 GeneralsGamePatch2 | ||
| (https://github.com/TheSuperHackers/GeneralsGamePatch2)中的数据。 | ||
| 请在游玩前安装,否则游戏可能出现异常。 | ||
|
|
||
| 所有玩家必须使用同一每周版本。此版本无法与 VC6 版或零售版进行多人联机。 | ||
|
|
||
| 存档:存档与 VC6 版或零售版不兼容,并且仅保证在创建它们的同一每周版本中可以读取。使用此版本创建的存档可能无法在 | ||
| 那些版本中读取,那些版本的存档也可能无法在此版本中读取。使用此版本前请备份您的存档。 | ||
|
|
||
| -------------------------------------------------------------------------------- | ||
|
|
||
| ВНИМАНИЕ: это еженедельная сборка MSVC. Ей требуются данные из | ||
| GeneralsGamePatch2 (https://github.com/TheSuperHackers/GeneralsGamePatch2). | ||
| Установите его перед игрой, иначе игра может работать некорректно. | ||
|
|
||
| Все игроки должны использовать одну и ту же еженедельную версию. Эта сборка | ||
| несовместима по сетевой игре со сборками VC6 и розничными версиями. | ||
|
|
||
| СОХРАНЕНИЯ: сохранения несовместимы со сборками VC6 и розничными | ||
| версиями и гарантированно загружаются только в той же еженедельной версии, | ||
| в которой были созданы. Сохранения, созданные в этой сборке, могут не загрузиться там, а | ||
| сохранения из тех сборок могут не загрузиться здесь. Сделайте резервную копию | ||
| сохранений перед использованием этой сборки. | ||
|
|
||
| -------------------------------------------------------------------------------- | ||
|
|
||
| تحذير: هذا إصدار أسبوعي مبني بـ MSVC. يتطلب بيانات GeneralsGamePatch2 | ||
| (https://github.com/TheSuperHackers/GeneralsGamePatch2). | ||
| قم بتثبيته قبل اللعب، وإلا فقد لا تعمل اللعبة بشكل صحيح. | ||
|
|
||
| يجب على جميع اللاعبين استخدام الإصدار الأسبوعي نفسه. هذا الإصدار غير متوافق مع اللعب الجماعي مع إصدارات VC6 أو الإصدارات التجارية. | ||
|
|
||
| الحفظ: ملفات الحفظ غير متوافقة مع إصدارات VC6 أو الإصدارات التجارية، ولا يُضمن تحميلها إلا في نفس الإصدار الأسبوعي الذي أُنشئت به. | ||
| قد لا تُحمَّل ملفات الحفظ المنشأة بهذا الإصدار هناك، وقد لا تُحمَّل ملفات الحفظ من تلك الإصدارات هنا. | ||
| يرجى عمل نسخة احتياطية من ملفات الحفظ قبل استخدام هذا الإصدار. |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The workflow checks out the requested commit, then always configures with
windows-x86-vc6. Commits from before this rename—including this PR's base—only have thevc6preset, so historical builds now fail before compilation.Select the preset supported by the checked-out commit, then use that name for building and its output directory for collecting artifacts.
Knowledge Base Used: