-
Notifications
You must be signed in to change notification settings - Fork 4
Use up-to-date dependencies #8
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
Conversation
| if [ "${{ matrix.platform }}" == "msvc-arm64" ]; then | ||
| ./vcpkg.exe install yasm --triplet "${{ matrix.triplet }}" --overlay-ports=vcmi-overlay-yasm | ||
| OVERLAY="--overlay-ports=vcmi-overlay-yasm" | ||
| else | ||
| ./vcpkg.exe install yasm --triplet "${{ matrix.triplet }}" --overlay-ports=vcmi-overlay-boost | ||
| OVERLAY="--overlay-ports=vcmi-overlay-boost" | ||
| fi |
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.
| if [ "${{ matrix.platform }}" == "msvc-arm64" ]; then | |
| ./vcpkg.exe install yasm --triplet "${{ matrix.triplet }}" --overlay-ports=vcmi-overlay-yasm | |
| OVERLAY="--overlay-ports=vcmi-overlay-yasm" | |
| else | |
| ./vcpkg.exe install yasm --triplet "${{ matrix.triplet }}" --overlay-ports=vcmi-overlay-boost | |
| OVERLAY="--overlay-ports=vcmi-overlay-boost" | |
| fi | |
| if [ "${{ matrix.platform }}" == "msvc-arm64" ]; then | |
| OVERLAY="--overlay-ports=vcmi-overlay-yasm" | |
| else | |
| OVERLAY="--overlay-ports=vcmi-overlay-boost" | |
| fi | |
| ./vcpkg.exe install yasm --triplet "${{ matrix.triplet }}" $OVERLAY |
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.
you can also put OVERLAY to GITHUB_ENV to avoid computing it again in Export packages
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.
Or we can give overlays fixed name, vcmi-overlay or whatever and instead add packages to overlay using architecture as condition - one step for arm64 /yasm & another for boost/amd64.
So on arm64 vcmi-overlay will contain yasm, and on amd64 - vcmi-overlay will contain boost.
With this there won't be need for OVERLAY variable
|
Workflow is simplified now. |
Improved building mechanism to use overlays for required components.
Now are used latest packages except Boost for Windows 7 and YASM for ARM64 dependencies.