All Projects → egor-tensin → setup-mingw

egor-tensin / setup-mingw

Licence: MIT license
GitHub action to set up MinGW-w64

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to setup-mingw

docker-go-mingw
Docker image for building Go binaries with MinGW toolchain
Stars: ✭ 33 (-35.29%)
Mutual labels:  mingw, mingw-w64
ci playground
Playground for Cloud CI development for C++
Stars: ✭ 23 (-54.9%)
Mutual labels:  mingw, mingw-w64
build-scripts
Utility scripts for building of 3rd-party libraries
Stars: ✭ 33 (-35.29%)
Mutual labels:  mingw
JhScrollActionSheetView
JhScrollActionSheetView - UIcollectionView横向滚动,类似微博新版的详情页分享界面,可设置单排或双排显示,title不设置不显示title,如果想实现发送站内用户的功能,自己可以改一下代码
Stars: ✭ 13 (-74.51%)
Mutual labels:  action
Hello-GLUT
A very simple "Hello World!" GLUT application demonstrating how to write OpenGL applications in C with MinGW and MSVC.
Stars: ✭ 27 (-47.06%)
Mutual labels:  mingw
win-sudo
Add `sudo` command to Git Bash
Stars: ✭ 145 (+184.31%)
Mutual labels:  mingw
setup-sonar-scanner
Github Action which downloads and runs sonar-scanner cli with custom parameters to start Sonarqube scan.
Stars: ✭ 31 (-39.22%)
Mutual labels:  action
Growth In Action
全栈增长工程师实战
Stars: ✭ 2,411 (+4627.45%)
Mutual labels:  action
mypy-check
github action for python's mypy type checker tool
Stars: ✭ 23 (-54.9%)
Mutual labels:  action
wsock-trace
Tracing library for Winsock calls.
Stars: ✭ 15 (-70.59%)
Mutual labels:  mingw
setup-lazarus
Set up your GitHub Actions workflow with a specific version of Lazarus
Stars: ✭ 29 (-43.14%)
Mutual labels:  action
faur
⚒️✨ My personal C games framework. 2D graphics, sound, inputs, states, ECS, and misc utils for data, files, math, memory, strings, time, and more. Builds for Linux, Windows, Web, and embedded devices.
Stars: ✭ 55 (+7.84%)
Mutual labels:  mingw
ts-action-operators
TypeScript action operators for NgRx and redux-observable
Stars: ✭ 34 (-33.33%)
Mutual labels:  action
gh-actions-html-table-generator
Read from a json file and write to the README
Stars: ✭ 29 (-43.14%)
Mutual labels:  action
openconnect
OpenConnect (mirror from official repository with pre-build MinGW binary/libraries)
Stars: ✭ 23 (-54.9%)
Mutual labels:  mingw
fdk-aac-win32-builder
libfdk-aac for Windows binary builder
Stars: ✭ 25 (-50.98%)
Mutual labels:  mingw
lbaction-npm
NPM (LauchBar 6 Action)
Stars: ✭ 17 (-66.67%)
Mutual labels:  action
release-changelog-builder-action
A GitHub action that builds your release notes / changelog fast, easy and exactly the way you want.
Stars: ✭ 515 (+909.8%)
Mutual labels:  action
k3d-action
A GitHub Action to run lightweight ephemeral Kubernetes clusters during workflow. Fundamental advantage of this action is a full customization of embedded k3s clusters. In addition, it provides a private image registry and multi-cluster support.
Stars: ✭ 137 (+168.63%)
Mutual labels:  action
pr-compliance-action
Check PR for compliance on title, linked issues, and files changed
Stars: ✭ 151 (+196.08%)
Mutual labels:  action

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].