-
Notifications
You must be signed in to change notification settings - Fork 134
Add CI for Windows MSVC2019, MSVC2022, and SDE 32/64-bit #1228
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
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
50c8acf
Add CI dimension for Windows SDE 32 and 64 bit
samuel40791765 80181ed
testing 64 core windows instance
samuel40791765 dc41fa0
try 32 core
samuel40791765 f8924a8
test windows 2019 32 core
samuel40791765 e638a5a
test skipping tests that aren't vital to sde
samuel40791765 52f62bb
test 64 core instances
samuel40791765 3e0542f
extend more windows CI and skip known debug failure
samuel40791765 467aa8c
upgrade to larger instance for msvc2019/2022 CI
samuel40791765 ff5fee6
change expectations instead of skipping test
samuel40791765 d953cb0
see how long no skipping takes
samuel40791765 41e0085
change wording of yml file
samuel40791765 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
name: Windows Tests | ||
on: | ||
pull_request: | ||
branches: [ '*' ] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
GOPROXY: https://proxy.golang.org,direct | ||
SDE_MIRROR_URL: "https://downloadmirror.intel.com/777395/sde-external-9.21.1-2023-04-24-win.tar.xz" | ||
SDE_VERSION_TAG: sde-external-9.21.1-2023-04-24-win | ||
|
||
jobs: | ||
MSVC-2019: | ||
runs-on: temporary-performance-testing_windows-2019_8-core | ||
steps: | ||
- name: Git clone the repository | ||
uses: actions/checkout@v3 | ||
- name: Build Windows Dependencies | ||
run: | | ||
choco install ninja --version 1.9.0.20190208 -y && | ||
choco install nasm --version 2.14.02 -y | ||
- name: Run Windows Tests on MSVC-2019 | ||
run: | | ||
.\tests\ci\run_windows_tests.bat "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 | ||
|
||
MSVC-2022: | ||
runs-on: temporary-performance-testing_windows-latest_8-core | ||
steps: | ||
- name: Git clone the repository | ||
uses: actions/checkout@v3 | ||
- name: Build Windows Dependencies | ||
run: | | ||
choco install ninja --version 1.9.0.20190208 -y && | ||
choco install nasm --version 2.14.02 -y | ||
- name: Run Windows Tests on MSVC-2022 | ||
run: | | ||
.\tests\ci\run_windows_tests.bat "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 | ||
|
||
SDE-64-bit: | ||
# TODO: Update this to run on windows-2022. windows-2022 (Windows 11) has phased out support for older processors. | ||
# https://learn.microsoft.com/en-us/windows-hardware/design/minimum/supported/windows-11-supported-intel-processors | ||
runs-on: temporary-performance-testing_windows-2019_64-core | ||
steps: | ||
- name: Git clone the repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build Windows Dependencies | ||
run: | | ||
choco install ninja --version 1.9.0.20190208 -y && | ||
choco install nasm --version 2.14.02 -y | ||
|
||
- name: Install SDE simulator | ||
run: | | ||
curl -SL --output temp.tar.xz ${{ env.SDE_MIRROR_URL }} | ||
7z x temp.tar.xz | ||
7z x temp.tar | ||
ren ${{ env.SDE_VERSION_TAG }} windows-sde | ||
del temp.tar.xz | ||
del temp.tar | ||
|
||
- name: Run Windows SDE Tests for 64 bit | ||
run: | | ||
$env:SDEROOT = "${PWD}\windows-sde" | ||
echo ${env:SDEROOT} | ||
.\tests\ci\run_windows_tests.bat "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64 true | ||
|
||
SDE-32-bit: | ||
runs-on: temporary-performance-testing_windows-2019_64-core | ||
steps: | ||
- name: Git clone the repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build Windows Dependencies | ||
run: | | ||
choco install ninja --version 1.9.0.20190208 -y && | ||
choco install nasm --version 2.14.02 -y | ||
|
||
- name: Install SDE simulator | ||
run: | | ||
curl -SL --output temp.tar.xz ${{ env.SDE_MIRROR_URL }} | ||
7z x temp.tar.xz | ||
7z x temp.tar | ||
ren ${{ env.SDE_VERSION_TAG }} windows-sde | ||
del temp.tar.xz | ||
del temp.tar | ||
|
||
- name: Run Windows SDE Tests for 32 bit | ||
run: | | ||
$env:SDEROOT = "${PWD}\windows-sde" | ||
echo ${env:SDEROOT} | ||
.\tests\ci\run_windows_tests.bat "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 true | ||
|
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
This file was deleted.
Oops, something went wrong.
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.