Create a script to execute msys2 and maintain PATH and PKG_CONFIG_PATH
See original GitHub issue@eyal0 you might want to extend this Action with those two lines, in order to make them easier to maintain and reuse. I would suggest the following:
- Fork this repo.
- Create a feature branch.
- Locally, execute
npm run install
. Either get NodeJs, use anode
container, or use WSL. - Edit https://github.com/msys2/setup-msys2/blob/master/main.js#L163-L174, so that an additional file is written, which contains your custom code.
- Execute
npm run pkg
. - Add
index.js
, commit and push. - Edit your workflow for using
eyal0/setup-msys2@feature-branch-name
and change theshell: yourcustomentrypoint {0}
. Commit and push. - Go back to 4-6, and restart the worflow until you get it done.
_Originally posted by @eine in https://github.com/msys2/setup-msys2/issues/98#issuecomment-757538531_
Issue Analytics
- State:
- Created 3 years ago
- Comments:41 (3 by maintainers)
Top Results From Across the Web
Filesystem Paths - MSYS2
Filesystem Paths. Many of our build processes are made up of a mix of Cygwin tools (makepkg/bash for starters) and native Windows tools....
Read more >Add temporarily path to pkg-config within CMake script?
I tried to add the user-given path to the PKG_CONFIG_PATH but it seemed to be ignored: include(FindPkgConfig) set(PKG_CONFIG_PATH ...
Read more >Use msys2 in Windows | BN Stack
Sometimes we want to execute applications in Windows $Path (but not in msys2's $PATH) in msys2 shell (e.g. we've installed Python in Windows ......
Read more >Win32CompileMSYSNew - VideoLAN Wiki - VLC Media Player
MSys is a helper environment for MinGW, the compiler chain for Windows based on GCC. It can build VLC natively on Windows.
Read more >R Installation and Administration
to check out ' r-devel ' into directory path (which will be created if ... If the configure and make commands execute successfully,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found the cause of those extra lines and filed a bug. I think that it would be fixed pretty easily.
See the continuation of this issue in #171.