Repository navigation
CI: Add Windows GHA build with MSSQL driver - #7693
Open
geographika wants to merge 1 commit into
Open
geographika wants to merge 1 commit into
geographika wants to merge 1 commit into
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This adds a Windows build on GitHub Actions (GHA). Currently Windows builds are tested on Appveyor. The advantage of the GHA build is that it can be run in private repositories, which helps testing security patches before they are made public.
The PowerShell scripts are based on local scripts I already use for Windows builds. Using scripts limits reliance on GHA if we want to move to another CI engine in the future, and also allows testing locally.
Other changes in this PR:
ODBC Driver 18 for SQL Serverrather than the default (and out-of-date)SQL Serverdriver, which has several issues and is not recommended.localhostrather than the Appveyor-specific(local)\SQL2019instance. On Appveyor theSQL2019instance is set to listen on port 1433 so the same connection works on both.create_mssql_db.batwithcreate_mssql_db.ps1, used by both builds.msautotest/etc/mapserv.confto load the MSSQL plugin by file name rather than the Appveyor build path.