Skip to content
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

GitHub runners for Windows 2022 #1208

Merged
merged 5 commits into from
Mar 5, 2022

Conversation

ischoegl
Copy link
Member

@ischoegl ischoegl commented Feb 25, 2022

Changes proposed in this pull request

  • Migrate GH environment from windows-2016 to windows-2022
  • Switch to conda driven compilation environment
  • Retain windows-2019 without changes
  • Add basic tests for scons install in conda-based runners

If applicable, fill in the issue number this pull request is fixing

Closes #1199

If applicable, provide an example illustrating new features this pull request is introducing

Checklist

  • The pull request includes a clear description of this code change
  • Commit messages have short titles and reference relevant issues
  • Build passes (scons build & scons test) and unit tests address code coverage
  • Style & formatting of contributed code follows contributing guidelines
  • The pull request is ready for review

Other

#1192 prevents some tests for conda-based installations on windows.

@ischoegl ischoegl force-pushed the windows-2022-runner branch 5 times, most recently from 3a8c8ce to 388bc4b Compare February 25, 2022 17:45
@ischoegl ischoegl added the CI label Feb 25, 2022
@ischoegl ischoegl force-pushed the windows-2022-runner branch 2 times, most recently from 3f613a5 to 5f37361 Compare February 25, 2022 18:10
@ischoegl ischoegl force-pushed the windows-2022-runner branch 2 times, most recently from aa8a792 to dd11fa5 Compare February 25, 2022 18:42
@ischoegl ischoegl marked this pull request as ready for review February 25, 2022 19:36
@ischoegl
Copy link
Member Author

ischoegl commented Feb 25, 2022

🎉 ... this appears to work (at least for MSVC 14.3).

Regarding MSVC 14.0 (which compiles on my local machine for VS 2022), here is a relevant snippet from the complete build logs

scons: warning: VC version 14.0 not installed.  C/C++ compilers are most likely not set correctly.
 Installed versions are: ['14.3']
File "D:\a\cantera\cantera\SConstruct", line 753, in <module>

(see failed build log)

Fwiw, on a local windows installation with MSVC 14.0 through 14.3 installed, SCons detects

 Installed versions are: ['14.3', '14.0']

@ischoegl ischoegl force-pushed the windows-2022-runner branch 2 times, most recently from d6691a4 to 49c36d0 Compare February 25, 2022 22:07
Copy link
Member

@bryanwweber bryanwweber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this as well! Disappointing that windows-2016 has to be dropped and we can't test MSVC 14.1, but oh well!

.github/workflows/main.yml Outdated Show resolved Hide resolved
.github/workflows/main.yml Outdated Show resolved Hide resolved
SConstruct Show resolved Hide resolved
.github/workflows/main.yml Outdated Show resolved Hide resolved
.github/workflows/main.yml Outdated Show resolved Hide resolved
.github/workflows/main.yml Outdated Show resolved Hide resolved
@ischoegl ischoegl force-pushed the windows-2022-runner branch 2 times, most recently from 1798a22 to b92cdba Compare March 4, 2022 16:50
@ischoegl ischoegl force-pushed the windows-2022-runner branch 5 times, most recently from 7bf4194 to 0688afe Compare March 4, 2022 17:40
@ischoegl
Copy link
Member Author

ischoegl commented Mar 4, 2022

@bryanwweber ... I think this is finally ready!

@bryanwweber bryanwweber merged commit 8cdcef1 into Cantera:main Mar 5, 2022
@ischoegl ischoegl deleted the windows-2022-runner branch March 5, 2022 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace Windows 2016 GH Runner with Windows 2022 Jobs
2 participants