setup-msys2 | GitHub Action to setup MSYS2 | Continous Integration library
kandi X-RAY | setup-msys2 Summary
kandi X-RAY | setup-msys2 Summary
setup-msys2 is a JavaScript GitHub Action (GHA) to setup an MSYS2 environment (i.e. MSYS, MINGW32, MINGW64, UCRT64, CLANG32, and/or CLANG64 shells) using the GHA toolkit for automatic caching.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Main application .
- Parses the core input .
- Saves a cache key for the given path
- Downloads the installer version from the system .
- Write Windows wrapper to a specified path
- Restore the cache key from cache
- Run svg command
- Changes a group .
- Removes the key of the PSN installation .
- Hash a path
setup-msys2 Key Features
setup-msys2 Examples and Code Snippets
Community Discussions
Trending Discussions on setup-msys2
QUESTION
I'm using Qt 5.12.11 in my project. As I wanted to use the software both on linux and win, I selected gcc compiler (I use MSYS2, so gcc is 10.3.0). The local build is ok both for linux and win, but the build via GitHub Actions fails on finding the qt (no matter if I set CMAKE_PREFIX_PATH or Qt5_DIR or not).
So this is where I'm stuck for a while. Has anyone encountered such problems or have any ideas on it?
github action looks like
...ANSWER
Answered 2021-Sep-08 at 20:30Set CMAKE_PREFIX_PATH to Qt5_Dir:
QUESTION
ANSWER
Answered 2021-Jan-21 at 01:49The name of the package for CMake is wrong. Here is the list of packages in the MSYS repository that contain cmake
in the name:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install setup-msys2
It is common to test some package/tool on multiple environments, which typically requires installing different sets of packages through option install. GitHub Actions' strategy and matrix fields allow to do so, as explained in docs.github.com: Configuring a build matrix and docs.github.com: jobs.<job_id>.strategy.matrix. See, for instance:.
examples/cmake.yml
msys2/MINGW-packages: .github/workflows/main.yml
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page