Repository navigation
Run CI on both macOS and Linux - #59
Merged
Merged
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.
Summary
Splits the existing single macOS CI job into two jobs so the test suite runs on both macOS and Linux (same layout as
gis-tools).setup-swift6.3.3) onmacos-latest, nowtimeout-minutes: 45swift:6.3.3container onubuntu-latestPackage-specific details:
submodules: recursiveis kept/added so theDependencies/maplibre-tile-specC++ bridge (MLT) is available in both jobs.swift:6.3.3(not 6.1) becausePackage.swiftuses// swift-tools-version:6.3.--enable-all-traitsis used in both jobs, so CSV, GeoPackage, GPX, FIT, Shapefile and MLT all get built and tested.libsqlite3-dev: the Swift image only ships the SQLite runtime, whilegis-tools-geopackageresolvesOACSQLitethroughpkg-config sqlite3. The image already providespkg-configandlibstdc++-13-devfor the C++ interop bridge.Validation
Ran
swift test --enable-all-traitslocally on Linux (Swift 6.4.1):MVTToolsTests: 198 tests / 30 suites passedMVTCLITests: 82 tests / 8 suites passed