•  


Install MinGW · Actions · GitHub Marketplace · GitHub
Skip to content
star

GitHub Action

Install MinGW

v2.2.0 Latest version

Install MinGW

star

Install MinGW

Install MinGW-w64

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Install MinGW

uses: egor-tensin/setup-mingw@v2.2.0

Learn more about this action in egor-tensin/setup-mingw

Choose a version

Set up MinGW-w64

Test

This GitHub action sets up MinGW-w64 in your workflow run.

  1. Installs MinGW-w64 on either Ubuntu or Windows.
  2. Fixes the infamous libwinpthread-1.dll static linking issue .

Use it in your workflow like this:

- name: Set up MinGW
  uses: egor-tensin/setup-mingw@v2
  with:
    platform: x64
  • x64 is the default value for the platform parameter and can be omitted. Use x86 if you want to build 32-bit binaries.
  • Set the cygwin parameter to 1 to set up MinGW inside an existing Cygwin installation (see my other action for setting up Cygwin itself).
  • cc and c++ executables are set up, pointing to the *-gcc and *-g++ executables. Disable this by setting the cc parameter to 0 .

API

Input Value Default Description
platform x64 ? Install the x86_64 toolchain.
any Install the i686 toolchain.
cygwin any ? Install native binaries.
1 Install Cygwin packages.
static 1 ? Enable the static-linking workaround.
any Disable the static-linking workaround.
cc 1 ? Set up cc / c++ executables.
any Don't set up cc / c++ .
hardlinks any ? Cygwin: don't convert any symlinks.
1 Cygwin: convert symlinks in /usr/bin to hardlinks.
version ? Install the default (latest) version.
any Install the specified version, if possible.
Output Example Description
prefix x86_64-w64-mingw32 Cross-compilation toolchain prefix
gcc x86_64-w64-mingw32-gcc gcc binary name
gxx i686-w64-mingw32-g++ g++ binary name
windres i686-w64-mingw32-windres windres binary name

License

Distributed under the MIT License. See LICENSE.txt for details.

- "漢字路" 한글한자자동변환 서비스는 교육부 고전문헌국역지원사업의 지원으로 구축되었습니다.
- "漢字路" 한글한자자동변환 서비스는 전통문화연구회 "울산대학교한국어처리연구실 옥철영(IT융합전공)교수팀"에서 개발한 한글한자자동변환기를 바탕하여 지속적으로 공동 연구 개발하고 있는 서비스입니다.
- 현재 고유명사(인명, 지명등)을 비롯한 여러 변환오류가 있으며 이를 해결하고자 많은 연구 개발을 진행하고자 하고 있습니다. 이를 인지하시고 다른 곳에서 인용시 한자 변환 결과를 한번 더 검토하시고 사용해 주시기 바랍니다.
- 변환오류 및 건의,문의사항은 juntong@juntong.or.kr로 메일로 보내주시면 감사하겠습니다. .
Copyright ⓒ 2020 By '전통문화연구회(傳統文化硏究會)' All Rights reserved.
 한국   대만   중국   일본